Lines Matching refs:Elf64_Sym
756 static Elf64_Sym *elf_sym_by_idx(const struct bpf_object *obj, size_t idx);
877 Elf64_Sym *sym; in bpf_object__add_programs()
881 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs()
1703 static Elf64_Sym *find_elf_var_sym(const struct bpf_object *obj, const char *name) in find_elf_var_sym()
1709 for (si = 0; si < symbols->d_size / sizeof(Elf64_Sym); si++) { in find_elf_var_sym()
1710 Elf64_Sym *sym = elf_sym_by_idx(obj, si); in find_elf_var_sym()
3371 Elf64_Sym *sym; in btf_fixup_datasec()
3745 static Elf64_Sym *elf_sym_by_idx(const struct bpf_object *obj, size_t idx) in elf_sym_by_idx()
3747 if (idx >= obj->efile.symbols->d_size / sizeof(Elf64_Sym)) in elf_sym_by_idx()
3750 return (Elf64_Sym *)obj->efile.symbols->d_buf + idx; in elf_sym_by_idx()
4004 static bool sym_is_extern(const Elf64_Sym *sym) in sym_is_extern()
4013 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) in sym_is_subprog()
4226 if (!sh || sh->sh_entsize != sizeof(Elf64_Sym)) in bpf_object__collect_externs()
4237 Elf64_Sym *sym = elf_sym_by_idx(obj, i); in bpf_object__collect_externs()
4491 const Elf64_Sym *sym, const Elf64_Rel *rel) in bpf_program__record_reloc()
4706 Elf64_Sym *sym; in bpf_object__collect_prog_relos()
7196 Elf64_Sym *sym; in bpf_object__collect_map_relos()
9889 Elf64_Sym *sym; in bpf_object__collect_st_ops_relos()