Home
last modified time | relevance | path

Searched refs:sec_name (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_section_names.c10 const char sec_name[32]; member
155 rc = libbpf_prog_type_by_name(test->sec_name, &prog_type, in test_prog_type_by_name()
159 warnx("prog: unexpected rc=%d for %s", rc, test->sec_name); in test_prog_type_by_name()
168 test->sec_name); in test_prog_type_by_name()
174 expected_attach_type, test->sec_name); in test_prog_type_by_name()
186 rc = libbpf_attach_type_by_name(test->sec_name, &attach_type); in test_attach_type_by_name()
189 warnx("attach: unexpected rc=%d for %s", rc, test->sec_name); in test_attach_type_by_name()
198 test->sec_name); in test_attach_type_by_name()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_cfg.c232 const char *sec_name) in adf_cfg_sec_find() argument
240 if (!strcmp(ptr->name, sec_name)) in adf_cfg_sec_find()
247 const char *sec_name, in adf_cfg_key_val_get() argument
251 struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, sec_name); in adf_cfg_key_val_get()
/Linux-v5.4/arch/mips/boot/tools/
Drelocs.c91 static const char *sec_name(unsigned shndx) in sec_name() function
113 if (strcmp(secname, sec_name(i)) == 0) in sec_lookup()
126 name = sec_name(sym->st_shndx); in sym_name()
640 sec_name(sec->shdr.sh_info), in do_reloc_info()
644 sec_name(sym->st_shndx)); in do_reloc_info()
/Linux-v5.4/tools/lib/bpf/
Dbtf.h95 const char *sec_name, __u32 insns_cnt,
99 const char *sec_name, __u32 insns_cnt,
Dbtf.c1001 const char *sec_name, __u32 insns_cnt, in btf_ext_reloc_info() argument
1017 if (strcmp(info_sec_name, sec_name)) { in btf_ext_reloc_info()
1049 const char *sec_name, __u32 insns_cnt, in btf_ext__reloc_func_info() argument
1052 return btf_ext_reloc_info(btf, &btf_ext->func_info, sec_name, in btf_ext__reloc_func_info()
1058 const char *sec_name, __u32 insns_cnt, in btf_ext__reloc_line_info() argument
1061 return btf_ext_reloc_info(btf, &btf_ext->line_info, sec_name, in btf_ext__reloc_line_info()
Dlibbpf.c681 const char *sec_name; in bpf_object_search_section_size() local
692 sec_name = elf_strptr(elf, ep->e_shstrndx, sh.sh_name); in bpf_object_search_section_size()
693 if (!sec_name) { in bpf_object_search_section_size()
699 if (strcmp(name, sec_name)) in bpf_object_search_section_size()
3117 const char *sec_name; in bpf_core_reloc_offsets() local
3138 sec_name = btf__name_by_offset(obj->btf, sec->sec_name_off); in bpf_core_reloc_offsets()
3139 if (str_is_empty(sec_name)) { in bpf_core_reloc_offsets()
3143 prog = bpf_object__find_program_by_title(obj, sec_name); in bpf_core_reloc_offsets()
3146 sec_name); in bpf_core_reloc_offsets()
3152 sec_name, sec->num_info); in bpf_core_reloc_offsets()
[all …]
/Linux-v5.4/arch/x86/tools/
Drelocs.c242 static const char *sec_name(unsigned shndx) in sec_name() function
268 name = sec_name(sym->st_shndx); in sym_name()
727 if (strcmp(sec_name(i), ".data..percpu")) in percpu_init()
1088 sec_name(sec->shdr.sh_info), in do_reloc_info()
1091 sec_name(sym->st_shndx)); in do_reloc_info()
/Linux-v5.4/kernel/debug/kdb/
Dkdb_private.h78 const char *sec_name; /* Section containing symbol */ member
Dkdb_main.c1524 symtab.sec_name, symtab.sec_start, in kdb_md_line()
/Linux-v5.4/scripts/mod/
Dmodpost.c310 static const char *sec_name(struct elf_info *elf, int secindex) in sec_name() function
319 const char *secname = sec_name(elf, sec); in export_from_secname()
1371 symsec = sec_name(elf, get_secindex(elf, sym)); in find_elf_symbol2()
1615 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1717 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler()
1751 const char *tosec = sec_name(elf, get_secindex(elf, sym)); in check_section_mismatch()
/Linux-v5.4/tools/bpf/bpftool/
Dprog.c1237 const char *sec_name = bpf_program__title(pos, false); in load_with_options() local
1239 err = libbpf_prog_type_by_name(sec_name, &prog_type, in load_with_options()