Home
last modified time | relevance | path

Searched refs:num_sections (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/scripts/
Dsortextable.h114 unsigned int num_sections; in do_func() local
119 num_sections = r2(&ehdr->e_shnum); in do_func()
120 if (num_sections == SHN_UNDEF) in do_func()
121 num_sections = _r(&shdr[0].sh_size); in do_func()
129 for (i = 0; i < num_sections; i++) { in do_func()
/linux-4.1.27/arch/x86/boot/tools/
Dbuild.c149 unsigned short num_sections; in update_pecoff_section_header_fields() local
153 num_sections = get_unaligned_le16(&buf[pe_header + 6]); in update_pecoff_section_header_fields()
161 while (num_sections > 0) { in update_pecoff_section_header_fields()
178 num_sections--; in update_pecoff_section_header_fields()
/linux-4.1.27/scripts/mod/
Dmodpost.h136 unsigned int num_sections; /* max_secindex + 1 */ member
Dmodpost.c467 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
470 info->num_sections = hdr->e_shnum; in parse_elf()
480 for (i = 0; i < info->num_sections; i++) { in parse_elf()
494 for (i = 1; i < info->num_sections; i++) { in parse_elf()
1543 if (section_index > elf->num_sections) in is_executable_section()
1899 for (i = 0; i < elf->num_sections; i++) { in check_sec_ref()
Dfile2alias.c1238 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) in handle_moddevtable()
/linux-4.1.27/arch/powerpc/kernel/
Dfadump.c59 int i, num_sections; in early_init_dt_scan_fw_dump() local
97 num_sections = size / (3 * sizeof(u32)); in early_init_dt_scan_fw_dump()
99 for (i = 0; i < num_sections; i++, sections += 3) { in early_init_dt_scan_fw_dump()
/linux-4.1.27/drivers/net/hyperv/
Dhyperv_net.h369 u32 num_sections; member
Dnetvsc.c300 v1_msg.send_recv_buf_complete.num_sections; in netvsc_init_buf()