Lines Matching refs:sym_off
343 int sym_off; member
4112 reloc_desc->sym_off = sym->st_value; in bpf_program__record_reloc()
4135 reloc_desc->sym_off = sym->st_value; in bpf_program__record_reloc()
4168 reloc_desc->sym_off = 0; /* sym->st_value determines map_idx */ in bpf_program__record_reloc()
4196 reloc_desc->sym_off = sym->st_value; in bpf_program__record_reloc()
5981 insn[1].imm = insn[0].imm + relo->sym_off; in bpf_object__relocate_data()
6279 sub_insn_idx = relo->sym_off / BPF_INSN_SZ + insn->imm + 1; in bpf_object__reloc_code()
6281 sub_insn_idx = (relo->sym_off + insn->imm) / BPF_INSN_SZ; in bpf_object__reloc_code()
11406 long sym_off; in bpf_program__attach_uprobe_opts() local
11409 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
11413 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
11415 if (sym_off < 0) in bpf_program__attach_uprobe_opts()
11416 return libbpf_err_ptr(sym_off); in bpf_program__attach_uprobe_opts()
11417 func_offset += sym_off; in bpf_program__attach_uprobe_opts()