Searched refs:sec_idx (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | linker.c | 45 size_t sec_idx; member 114 size_t sec_idx; member 413 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf() 414 linker->elf_hdr->e_shstrndx = sec->sec_idx; in init_output_elf() 415 linker->strtab_sec_idx = sec->sec_idx; in init_output_elf() 454 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf() 455 linker->symtab_sec_idx = sec->sec_idx; in init_output_elf() 731 size_t sec_idx = elf_ndxscn(scn); in linker_load_obj_file() local 737 sec_idx, obj->filename); in linker_load_obj_file() 744 sec_idx, obj->filename); in linker_load_obj_file() [all …]
|
| H A D | libbpf.c | 448 size_t sec_idx; member 573 int sec_idx; member 815 prog->sec_idx = -1; in bpf_program__exit() 840 const char *name, size_t sec_idx, const char *sec_name, in bpf_object__init_prog() argument 852 prog->sec_idx = sec_idx; in bpf_object__init_prog() 901 const char *sec_name, int sec_idx) in bpf_object__add_programs() argument 918 if (sym->st_shndx != sec_idx) in bpf_object__add_programs() 939 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs() 962 err = bpf_object__init_prog(obj, prog, name, sec_idx, sec_name, in bpf_object__add_programs() 1439 map->sec_idx = shndx; in init_struct_ops_maps() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | fw.c | 1639 u8 sec_idx; in __rtw89_fw_download_tweak_hdr_v1() local 1643 for (sec_idx = 0; sec_idx < info->section_num; sec_idx++) { in __rtw89_fw_download_tweak_hdr_v1() 1644 section_info = &info->section_info[sec_idx]; in __rtw89_fw_download_tweak_hdr_v1() 1645 section = &fw_hdr->sections[sec_idx]; in __rtw89_fw_download_tweak_hdr_v1() 1650 if (dst_sec_idx != sec_idx) in __rtw89_fw_download_tweak_hdr_v1()
|