/openbmc/libcper/generator/ |
H A D | cper-generate.c | 18 int num_sections); 23 void generate_cper_record(char **types, UINT16 num_sections, FILE *out, in generate_cper_record() argument 30 void *sections[num_sections]; in generate_cper_record() 31 size_t section_lengths[num_sections]; in generate_cper_record() 32 for (int i = 0; i < num_sections; i++) { in generate_cper_record() 48 header->SectionCount = num_sections; in generate_cper_record() 66 EFI_ERROR_SECTION_DESCRIPTOR *section_descriptors[num_sections]; in generate_cper_record() 67 for (int i = 0; i < num_sections; i++) { in generate_cper_record() 69 types[i], section_lengths, i, num_sections); in generate_cper_record() 74 for (int i = 0; i < num_sections; i++) { in generate_cper_record() [all …]
|
H A D | cper-generate-cli.c | 29 UINT16 num_sections = 0; in main() local 40 num_sections = argc - i - 1; in main() 41 sections = malloc(sizeof(char *) * num_sections); in main() 80 generate_cper_record(sections, num_sections, cper_file, in main()
|
/openbmc/linux/tools/leds/ |
H A D | get_led_device_info.sh | 116 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 …"Detected %d sections in the LED class device name - should the script be updated?\n" $num_sections
|
/openbmc/linux/scripts/ |
H A D | insert-sys-cert.c | 71 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()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_image_loader.c | 223 int num_sections; in efi_load_pe() local 259 num_sections = nt->FileHeader.NumberOfSections; in efi_load_pe() 263 for (i = num_sections - 1; i >= 0; i--) { in efi_load_pe() 310 for (i = num_sections - 1; i >= 0; i--) { in efi_load_pe()
|
/openbmc/libcper/include/libcper/generator/ |
H A D | cper-generate.h | 12 void generate_cper_record(char **types, UINT16 num_sections, FILE *out,
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.c | 499 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()
|
/openbmc/linux/scripts/mod/ |
H A D | modpost.c | 361 if (secindex >= info->num_sections) in sec_name() 488 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf() 491 info->num_sections = hdr->e_shnum; in parse_elf() 501 for (i = 0; i < info->num_sections; i++) { in parse_elf() 515 for (i = 1; i < info->num_sections; i++) { in parse_elf() 1045 if (secndx >= elf->num_sections) in is_executable_section() 1501 for (i = 0; i < elf->num_sections; i++) { in check_sec_ref()
|
H A D | modpost.h | 126 unsigned int num_sections; /* max_secindex + 1 */ member
|
H A D | file2alias.c | 1572 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) in handle_moddevtable()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btrtl.h | 58 __le32 num_sections; member
|
H A D | btrtl.c | 518 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()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mfw_hsi.h | 1614 u32 num_sections; member 2195 u32 num_sections; member 2238 u32 num_sections; member
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc.c | 416 resp->num_sections, resp->sections[0].sub_alloc_size, in netvsc_init_buf() 420 if (resp->num_sections != 1 || resp->sections[0].offset != 0) { in netvsc_init_buf()
|
H A D | hyperv_net.h | 446 u32 num_sections; member
|