Home
last modified time | relevance | path

Searched refs:num_sections (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/tools/leds/
H A Dget_led_device_info.sh116 num_sections=`echo $led_name | awk -F: '{print NF}'`
118 if [ $num_sections -eq 1 ]; then
121 elif [ $num_sections -eq 2 ]; then
124 elif [ $num_sections -eq 3 ]; then
129 printf "Detected %d sections in the LED class device name - should the script be updated?\n" $num_sections
/kernel/linux/linux-6.6/tools/leds/
H A Dget_led_device_info.sh116 num_sections=`echo $led_name | awk -F: '{print NF}'`
118 if [ $num_sections -eq 1 ]; then
121 elif [ $num_sections -eq 2 ]; then
124 elif [ $num_sections -eq 3 ]; then
129 printf "Detected %d sections in the LED class device name - should the script be updated?\n" $num_sections
/kernel/linux/linux-5.10/scripts/
H A Dinsert-sys-cert.c71 unsigned int i, num_sections; in get_offset_from_address() local
75 num_sections = x[0].sh_size; in get_offset_from_address()
77 num_sections = hdr->e_shnum; in get_offset_from_address()
79 for (i = 1; i < num_sections; i++) { in get_offset_from_address()
187 unsigned int i, num_sections; in get_symbol_table() local
191 num_sections = x[0].sh_size; in get_symbol_table()
193 num_sections = hdr->e_shnum; in get_symbol_table()
195 for (i = 1; i < num_sections; i++) in get_symbol_table()
/kernel/linux/linux-6.6/scripts/
H A Dinsert-sys-cert.c71 unsigned int i, num_sections; in get_offset_from_address() local
75 num_sections = x[0].sh_size; in get_offset_from_address()
77 num_sections = hdr->e_shnum; in get_offset_from_address()
79 for (i = 1; i < num_sections; i++) { in get_offset_from_address()
187 unsigned int i, num_sections; in get_symbol_table() local
191 num_sections = x[0].sh_size; in get_symbol_table()
193 num_sections = hdr->e_shnum; in get_symbol_table()
195 for (i = 1; i < num_sections; i++) in get_symbol_table()
/kernel/linux/linux-5.10/arch/x86/boot/tools/
H A Dbuild.c160 unsigned short num_sections; in update_pecoff_section_header_fields() local
164 num_sections = get_unaligned_le16(&buf[pe_header + 6]); in update_pecoff_section_header_fields()
172 while (num_sections > 0) { in update_pecoff_section_header_fields()
189 num_sections--; in update_pecoff_section_header_fields()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c492 int i, size, num_sections; in rtas_fadump_dt_scan() local
534 num_sections = size / (3 * sizeof(u32)); in rtas_fadump_dt_scan()
536 for (i = 0; i < num_sections; i++, sections += 3) { in rtas_fadump_dt_scan()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c499 int i, size, num_sections; in rtas_fadump_dt_scan() local
541 num_sections = size / (3 * sizeof(u32)); in rtas_fadump_dt_scan()
543 for (i = 0; i < num_sections; i++, sections += 3) { in rtas_fadump_dt_scan()
/kernel/linux/linux-6.6/scripts/mod/
H A Dmodpost.h125 unsigned int num_sections; /* max_secindex + 1 */ member
H A Dmodpost.c362 if (secindex >= info->num_sections) in sec_name()
489 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
492 info->num_sections = hdr->e_shnum; in parse_elf()
502 for (i = 0; i < info->num_sections; i++) { in parse_elf()
516 for (i = 1; i < info->num_sections; i++) { in parse_elf()
1127 if (secndx >= elf->num_sections) in is_executable_section()
1581 for (i = 0; i < elf->num_sections; i++) { in check_sec_ref()
H A Dfile2alias.c1575 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) in handle_moddevtable()
/kernel/linux/linux-5.10/scripts/mod/
H A Dmodpost.h153 unsigned int num_sections; /* max_secindex + 1 */ member
H A Dmodpost.c535 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
538 info->num_sections = hdr->e_shnum; in parse_elf()
548 for (i = 0; i < info->num_sections; i++) { in parse_elf()
562 for (i = 1; i < info->num_sections; i++) { in parse_elf()
1616 if (section_index >= elf->num_sections) in is_executable_section()
1617 fatal("section_index is outside elf->num_sections!\n"); in is_executable_section()
1995 for (i = 0; i < elf->num_sections; i++) { in check_sec_ref()
H A Dfile2alias.c1459 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) in handle_moddevtable()
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtrtl.h58 __le32 num_sections; member
H A Dbtrtl.c518 u32 num_sections; in rtlbt_parse_firmware_v2() local
543 num_sections = le32_to_cpu(hdr->num_sections); in rtlbt_parse_firmware_v2()
548 for (i = 0; i < num_sections; i++) { in rtlbt_parse_firmware_v2()
/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Dnetvsc.c379 resp->num_sections, resp->sections[0].sub_alloc_size, in netvsc_init_buf()
383 if (resp->num_sections != 1 || resp->sections[0].offset != 0) { in netvsc_init_buf()
H A Dhyperv_net.h404 u32 num_sections; member
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h1614 u32 num_sections; member
2195 u32 num_sections; member
2238 u32 num_sections; member
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Dnetvsc.c413 resp->num_sections, resp->sections[0].sub_alloc_size, in netvsc_init_buf()
417 if (resp->num_sections != 1 || resp->sections[0].offset != 0) { in netvsc_init_buf()
H A Dhyperv_net.h446 u32 num_sections; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_hsi.h12793 u32 num_sections; member
13301 u32 num_sections; member

Completed in 76 milliseconds