Lines Matching refs:Elf64_Sym
696 static Elf64_Sym *elf_sym_by_idx(const struct bpf_object *obj, size_t idx);
816 Elf64_Sym *sym; in bpf_object__add_programs()
820 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs()
1465 static Elf64_Sym *find_elf_var_sym(const struct bpf_object *obj, const char *name) in find_elf_var_sym()
1471 for (si = 0; si < symbols->d_size / sizeof(Elf64_Sym); si++) { in find_elf_var_sym()
1472 Elf64_Sym *sym = elf_sym_by_idx(obj, si); in find_elf_var_sym()
2957 Elf64_Sym *sym; in btf_fixup_datasec()
3317 static Elf64_Sym *elf_sym_by_idx(const struct bpf_object *obj, size_t idx) in elf_sym_by_idx()
3319 if (idx >= obj->efile.symbols->d_size / sizeof(Elf64_Sym)) in elf_sym_by_idx()
3322 return (Elf64_Sym *)obj->efile.symbols->d_buf + idx; in elf_sym_by_idx()
3565 static bool sym_is_extern(const Elf64_Sym *sym) in sym_is_extern()
3574 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) in sym_is_subprog()
3787 if (!sh || sh->sh_entsize != sizeof(Elf64_Sym)) in bpf_object__collect_externs()
3798 Elf64_Sym *sym = elf_sym_by_idx(obj, i); in bpf_object__collect_externs()
4050 const Elf64_Sym *sym, const Elf64_Rel *rel) in bpf_program__record_reloc()
4246 Elf64_Sym *sym; in bpf_object__collect_prog_relos()
6606 Elf64_Sym *sym; in bpf_object__collect_map_relos()
9131 Elf64_Sym *sym; in bpf_object__collect_st_ops_relos()