Home
last modified time | relevance | path

Searched refs:sym_idx (Results 1 – 2 of 2) sorted by relevance

/external/libbpf/src/
Dlinker.c80 int sym_idx; member
271 static Elf64_Sym *add_new_sym(struct bpf_linker *linker, size_t *sym_idx) in add_new_sym() argument
289 if (sym_idx) in add_new_sym()
290 *sym_idx = sym_cnt; in add_new_sym()
892 size_t sym_idx = ELF64_R_SYM(relo->r_info); in linker_sanity_check_elf_relos() local
902 if (!sym_idx || sym_idx * sizeof(Elf64_Sym) >= sym_sec->shdr->sh_size) { in linker_sanity_check_elf_relos()
904 i, sec->sec_idx, sym_idx, obj->filename); in linker_sanity_check_elf_relos()
911 i, sec->sec_idx, sym_idx, obj->filename); in linker_sanity_check_elf_relos()
1247 static Elf64_Sym *get_sym_by_idx(struct bpf_linker *linker, size_t sym_idx) in get_sym_by_idx() argument
1252 return &syms[sym_idx]; in get_sym_by_idx()
[all …]
Dlibbpf.c415 int sym_idx; member
3658 ext->sym_idx = i; in bpf_object__collect_externs()
3736 i, ext->sym_idx, ext->name); in bpf_object__collect_externs()
3793 i, ext->sym_idx, ext->kcfg.data_off, ext->name); in bpf_object__collect_externs()
3919 int sym_idx = ELF64_R_SYM(rel->r_info); in bpf_program__record_reloc() local
3925 if (ext->sym_idx == sym_idx) in bpf_program__record_reloc()
3930 prog->name, sym_name, sym_idx); in bpf_program__record_reloc()
3934 prog->name, i, ext->name, ext->sym_idx, insn_idx); in bpf_program__record_reloc()
4087 size_t sec_idx = shdr->sh_info, sym_idx; in bpf_object__collect_prog_relos() local
4120 sym_idx = ELF64_R_SYM(rel->r_info); in bpf_object__collect_prog_relos()
[all …]