H A D | libbpf.c | 405 size_t sec_idx; member 527 int sec_idx; member 766 prog->sec_idx = -1; in bpf_program__exit() 791 const char *name, size_t sec_idx, const char *sec_name, in bpf_object__init_prog() 803 prog->sec_idx = sec_idx; in bpf_object__init_prog() 852 const char *sec_name, int sec_idx) in bpf_object__add_programs() 869 if (sym->st_shndx != sec_idx) in bpf_object__add_programs() 890 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs() 913 err = bpf_object__init_prog(obj, prog, name, sec_idx, sec_nam in bpf_object__add_programs() 790 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, const char *name, size_t sec_idx, const char *sec_name, size_t sec_off, void *insn_data, size_t insn_data_sz) bpf_object__init_prog() argument 851 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, const char *sec_name, int sec_idx) bpf_object__add_programs() argument 1721 bpf_object__init_internal_map(struct bpf_object *obj, enum libbpf_map_type type, const char *real_name, int sec_idx, void *data, size_t data_sz) global() argument 1785 int err = 0, sec_idx; global() local 2612 bpf_object__init_user_btf_map(struct bpf_object *obj, const struct btf_type *sec, int var_idx, int sec_idx, const Elf_Data *data, bool strict, const char *pin_root_path) global() argument 4598 find_prog_by_sec_insn(const struct bpf_object *obj, size_t sec_idx, size_t insn_idx) global() argument 4630 size_t sec_idx = shdr->sh_info, sym_idx; global() local 6197 int i, err = 0, insn_idx, sec_idx, sec_num; global() local 6471 int i, sec_num, sec_idx, off_adj; global() local 9560 find_struct_ops_map_by_offset(struct bpf_object *obj, int sec_idx, size_t offset) global() argument [all...] |