Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 …"Detected %d sections in the LED class device name - should the script be updated?\n" $num_sections
/OK3568_Linux_fs/external/xserver/config/
H A Dfdi2iclass.py165 num_sections = 1 variable
168 global num_sections
170 print '\tIdentifier "Converted Class %d"' % num_sections
171 num_sections += 1
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_image_loader.c82 int num_sections; in efi_load_pe() local
113 num_sections = nt->FileHeader.NumberOfSections; in efi_load_pe()
117 for (i = num_sections - 1; i >= 0; i--) { in efi_load_pe()
158 for (i = num_sections - 1; i >= 0; i--) { in efi_load_pe()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/xserver/xkb/
H A DXKBGAlloc.c302 &geom->num_sections, &geom->sz_sections, in XkbFreeGeomSections()
364 XkbFreeGeomSections(geom, 0, geom->num_sections, TRUE); in XkbFreeGeometry()
469 &(g)->num_sections,&(g)->sz_sections,\
525 ((rtrn = _XkbAllocSections(geom, sizes->num_sections)) != Success)) { in XkbAllocGeometry()
721 for (i = 0, section = geom->sections; i < geom->num_sections; in XkbAddGeomSection()
732 if ((geom->num_sections >= geom->sz_sections) && in XkbAddGeomSection()
735 section = &geom->sections[geom->num_sections]; in XkbAddGeomSection()
747 geom->num_sections++; in XkbAddGeomSection()
H A DxkbUtils.c1655 if (dst->geom->num_sections) { in _XkbCopyGeom()
1657 i < dst->geom->num_sections; i++, dsection++) { in _XkbCopyGeom()
1685 dst->geom->num_sections = 0; in _XkbCopyGeom()
1688 if (src->geom->num_sections) { in _XkbCopyGeom()
1692 src->geom->num_sections, sizeof(XkbSectionRec), in _XkbCopyGeom()
1695 dst->geom->num_sections = src->geom->num_sections; in _XkbCopyGeom()
1696 dst->geom->sz_sections = src->geom->num_sections; in _XkbCopyGeom()
1701 i < src->geom->num_sections; i++, ssection++, dsection++) { in _XkbCopyGeom()
1769 dst->geom->num_sections = 0; in _XkbCopyGeom()
H A Dxkbgeom.h274 unsigned short num_sections; member
300 unsigned short num_sections; member
H A Dxkmread.c1052 sizes.num_sections = wireGeom.num_sections; in ReadXkmGeometry()
1141 if (wireGeom.num_sections > 0) { in ReadXkmGeometry()
1142 for (i = 0; i < wireGeom.num_sections; i++) { in ReadXkmGeometry()
H A Dxkbout.c905 if (geom->num_sections > 0) { in XkbWriteXKBGeometry()
908 for (section = geom->sections, i = 0; i < geom->num_sections; in XkbWriteXKBGeometry()
H A DXKM_file_format.txt490 num_sections: CARD16
H A Dxkb.c4884 for (i = size = 0, section = geom->sections; i < geom->num_sections; in XkbSizeGeomSections()
4925 for (i = 0, section = geom->sections; i < geom->num_sections; in XkbWriteGeomSections()
5023 rep->nSections = geom->num_sections; in XkbComputeGetGeometryReplySize()
5595 sizes.num_sections = stuff->nSections; in _XkbSetGeometry()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dplugin-api.h399 unsigned int num_sections);
434 unsigned int num_sections);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dplugin-api.h399 unsigned int num_sections);
434 unsigned int num_sections);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/scripts/mod/
H A Dmodpost.h153 unsigned int num_sections; /* max_secindex + 1 */ member
H A Dmodpost.c539 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()
542 info->num_sections = hdr->e_shnum; in parse_elf()
552 for (i = 0; i < info->num_sections; i++) { in parse_elf()
566 for (i = 1; i < info->num_sections; i++) { in parse_elf()
1616 if (section_index > elf->num_sections) in is_executable_section()
1966 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()
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch215 - c->num_sections = grub_host_to_target16 (4);
219 + c->num_sections = grub_host_to_target16 (n_sections);
H A D0005-calloc-Use-calloc-at-most-places.patch1746 - smd.addrs = xmalloc (sizeof (*smd.addrs) * smd.num_sections);
1747 - memset (smd.addrs, 0, sizeof (*smd.addrs) * smd.num_sections);
1748 - smd.vaddrs = xmalloc (sizeof (*smd.vaddrs) * smd.num_sections);
1749 - memset (smd.vaddrs, 0, sizeof (*smd.vaddrs) * smd.num_sections);
1750 + smd.addrs = xcalloc (smd.num_sections, sizeof (*smd.addrs));
1751 + smd.vaddrs = xcalloc (smd.num_sections, sizeof (*smd.vaddrs));
1791 - section_map = xmalloc ((2 * pe_chdr->num_sections + 5) * sizeof (int));
1792 + section_map = xcalloc (2 * pe_chdr->num_sections + 5, sizeof (int));
1794 - shdr = xmalloc ((2 * pe_chdr->num_sections + 5) * sizeof (shdr[0]));
1795 + shdr = xcalloc (2 * pe_chdr->num_sections + 5, sizeof (shdr[0]));
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_hsi.h12793 u32 num_sections; member
13301 u32 num_sections; member
/OK3568_Linux_fs/external/xserver/
H A DChangeLog153404 Previously, we'd just keep num_sections at 0, which would break the