Home
last modified time | relevance | path

Searched refs:sec_idx (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
H A Dlinker.c45 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 Dlibbpf.c453 size_t sec_idx; member
580 int sec_idx; member
823 prog->sec_idx = -1; in bpf_program__exit()
848 const char *name, size_t sec_idx, const char *sec_name, in bpf_object__init_prog() argument
860 prog->sec_idx = sec_idx; in bpf_object__init_prog()
909 const char *sec_name, int sec_idx) in bpf_object__add_programs() argument
926 if (sym->st_shndx != sec_idx) in bpf_object__add_programs()
947 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
970 err = bpf_object__init_prog(obj, prog, name, sec_idx, sec_name, in bpf_object__add_programs()
1447 map->sec_idx = shndx; in init_struct_ops_maps()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c1707 u8 sec_idx; in __rtw89_fw_download_tweak_hdr_v1() local
1711 for (sec_idx = 0; sec_idx < info->section_num; sec_idx++) { in __rtw89_fw_download_tweak_hdr_v1()
1712 section_info = &info->section_info[sec_idx]; in __rtw89_fw_download_tweak_hdr_v1()
1713 section = &fw_hdr->sections[sec_idx]; in __rtw89_fw_download_tweak_hdr_v1()
1718 if (dst_sec_idx != sec_idx) in __rtw89_fw_download_tweak_hdr_v1()