/src/common/lib/libc/inet/ |
inet_addr.c | 131 uint8_t parts[4]; local in function:inet_aton 132 uint8_t *pp = parts; 177 if (pp >= parts + 3 || val > 0xffU) 196 * the number of parts specified. 198 n = pp - parts + 1; 206 val |= (uint32_t)parts[0] << 24; 212 val |= ((uint32_t)parts[0] << 24) | (parts[1] << 16); 218 val |= ((uint32_t)parts[0] << 24) | (parts[1] << 16) [all...] |
/src/lib/libc/inet/ |
inet_network.c | 67 in_addr_t parts[4], *pp = parts; local in function:__weak_alias 98 if (pp >= parts + 4 || val > 0xff) 107 n = pp - parts; 112 val |= parts[i] & 0xff;
|
inet_pton.c | 106 u_int parts[4]; local in function:inet_pton4 107 u_int *pp = parts; 156 if (pp >= parts + 3) 170 * the number of parts specified. 172 n = pp - parts + 1; 185 if (parts[0] > 0xff || val > 0xffffff) 187 val |= parts[0] << 24; 191 if ((parts[0] | parts[1]) > 0xff || val > 0xffff) 193 val |= (parts[0] << 24) | (parts[1] << 16) [all...] |
/src/usr.sbin/sysinst/ |
install.c | 52 struct disk_partitions **allparts, *parts; local in function:write_all_parts 68 parts = install->write_back[i]; 69 if (parts == NULL) 73 if (allparts[j] == parts) { 80 allparts[num_parts++] = parts; 83 parts = install->infos[i].parts; 84 if (parts == NULL) 88 if (allparts[j] == parts) { 95 allparts[num_parts++] = parts; [all...] |
partitions.c | 73 struct disk_partitions *parts = local in function:partitions_read_disk 76 if (parts) 77 return parts;
|
/src/sbin/gpt/ |
create.c | 72 create(gpt_t gpt, u_int parts, int force, int primary_only, int active) 112 if (gpt_create(gpt, last, parts, primary_only) == -1) 131 u_int parts = 0; local in function:cmd_create 145 if (gpt_uint_get(gpt, &parts) == -1) 152 if (parts == 0) 153 parts = 128; 158 return create(gpt, parts, force, primary_only, active);
|
/src/usr.sbin/sysinst/arch/bebox/ |
md.c | 67 if (pm->parts == NULL) { 75 struct disk_partitions *parts = local in function:md_get_info 78 if (!parts) 81 pm->parts = parts; 86 res = set_bios_geom_with_mbr_guess(pm->parts); 92 pm->parts->pscheme->destroy_part_scheme(pm->parts); 93 pm->parts = NULL; 120 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/evbmips/ |
md.c | 67 if (pm->parts == NULL) { 75 struct disk_partitions *parts = local in function:md_get_info 78 if (!parts) 81 pm->parts = parts; 86 res = set_bios_geom_with_mbr_guess(pm->parts); 92 pm->parts->pscheme->destroy_part_scheme(pm->parts); 93 pm->parts = NULL; 120 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/hpcmips/ |
md.c | 70 if (pm->parts == NULL) { 78 struct disk_partitions *parts = local in function:md_get_info 81 if (!parts) 84 pm->parts = parts; 89 res = set_bios_geom_with_mbr_guess(pm->parts); 95 pm->parts->pscheme->destroy_part_scheme(pm->parts); 96 pm->parts = NULL; 123 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/hpcsh/ |
md.c | 71 if (pm->parts == NULL) { 79 struct disk_partitions *parts = local in function:md_get_info 82 if (!parts) 85 pm->parts = parts; 90 res = set_bios_geom_with_mbr_guess(pm->parts); 96 pm->parts->pscheme->destroy_part_scheme(pm->parts); 97 pm->parts = NULL; 126 struct disk_partitions *parts) [all...] |
/src/sys/arch/atari/stand/ahdilabel/ |
privahdi.h | 64 struct ptable_part parts[MAXPARTITIONS]; member in struct:ahdi_ptable
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/ltc/ |
nouveau_nvkm_subdev_ltc_gm107.c | 113 const u32 parts = nvkm_rd32(device, 0x022438); local in function:gm107_ltc_oneinit 118 for (i = 0; i < parts; i++) {
|
nouveau_nvkm_subdev_ltc_gf100.c | 216 const u32 parts = nvkm_rd32(device, 0x022438); local in function:gf100_ltc_oneinit 221 for (i = 0; i < parts; i++) {
|
/src/usr.sbin/sysinst/arch/arc/ |
md.c | 74 if (pm->parts == NULL) { 82 struct disk_partitions *parts = local in function:md_get_info 85 if (!parts) 88 pm->parts = parts; 93 res = set_bios_geom_with_mbr_guess(pm->parts); 99 pm->parts->pscheme->destroy_part_scheme(pm->parts); 100 pm->parts = NULL; 142 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/cobalt/ |
md.c | 74 if (pm->parts == NULL) { 82 struct disk_partitions *parts = local in function:md_get_info 85 if (!parts) 88 pm->parts = parts; 93 res = set_bios_geom_with_mbr_guess(pm->parts); 99 pm->parts->pscheme->destroy_part_scheme(pm->parts); 100 pm->parts = NULL; 140 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/playstation2/ |
md.c | 71 if (pm->parts == NULL) { 79 struct disk_partitions *parts = local in function:md_get_info 82 if (!parts) 85 pm->parts = parts; 93 if (guess_biosgeom_from_parts(pm->parts, &cyl, &head, &sec) >= 0 94 && pm->parts->pscheme->change_disk_geom != NULL) 95 pm->parts->pscheme->change_disk_geom(pm->parts, 104 if (pm->parts->pscheme->secondary_partitions == NULL | [all...] |
/src/usr.sbin/sysinst/arch/sandpoint/ |
md.c | 101 if (pm->parts == NULL) { 109 struct disk_partitions *parts = local in function:md_get_info 112 if (!parts) 115 pm->parts = parts; 120 res = set_bios_geom_with_mbr_guess(pm->parts); 126 pm->parts->pscheme->destroy_part_scheme(pm->parts); 127 pm->parts = NULL; 154 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/zaurus/ |
md.c | 81 if (pm->parts == NULL) { 89 struct disk_partitions *parts = local in function:md_get_info 92 if (!parts) 95 pm->parts = parts; 100 res = set_bios_geom_with_mbr_guess(pm->parts); 106 pm->parts->pscheme->destroy_part_scheme(pm->parts); 107 pm->parts = NULL; 131 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/landisk/ |
md.c | 67 if (pm->parts == NULL) { 75 struct disk_partitions *parts = local in function:md_get_info 78 if (!parts) 81 pm->parts = parts; 86 res = set_bios_geom_with_mbr_guess(pm->parts); 92 pm->parts->pscheme->destroy_part_scheme(pm->parts); 93 pm->parts = NULL; 120 struct disk_partitions *parts) [all...] |
/src/usr.sbin/sysinst/arch/evbppc/ |
md.c | 80 if (pm->parts == NULL) { 88 struct disk_partitions *parts = local in function:md_get_info 91 if (!parts) 94 pm->parts = parts; 99 res = set_bios_geom_with_mbr_guess(pm->parts); 105 pm->parts->pscheme->destroy_part_scheme(pm->parts); 106 pm->parts = NULL; 133 struct disk_partitions *parts) [all...] |
/src/sys/dev/dkwedge/ |
dkwedge_tos.c | 72 struct tos_partition parts[TOS_MAX_PART_COUNT]; member in struct:tos_root_sector 120 struct tos_partition part = trs->parts[i]; 155 dkw.dkw_offset = be32toh(trs->parts[i].offset); 156 dkw.dkw_size = be32toh(trs->parts[i].size);
|
/src/sbin/mbrlabel/ |
mbrlabel.c | 120 struct mbr_partition parts[MBR_PART_COUNT]; local in function:getparts 154 memcpy(parts, buf + MBR_PART_OFFSET, sizeof parts); 158 if (parts[i].mbrp_type == 0 || 160 MBR_IS_EXTENDED(parts[i].mbrp_type)) 164 npe.p_size = getlong(&parts[i].mbrp_size); 165 npe.p_offset = getlong(&parts[i].mbrp_start) + off; 166 npe.p_fstype = xlat_mbr_fstype(parts[i].mbrp_type); 263 if (MBR_IS_EXTENDED(parts[i].mbrp_type)) { 264 poff = getlong(&parts[i].mbrp_start) + extoff [all...] |
/src/sys/arch/atari/stand/installboot/ |
disklabel.c | 56 struct ahdi_part *parts; member in struct:ahdilabel 151 struct ahdi_part *p1 = &al.parts[i]; 158 struct ahdi_part *p2 = &al.parts[j]; 174 struct ahdi_part *pd = &al.parts[i]; 231 alab->parts = realloc(alab->parts, 232 (alab->nparts + 1) * sizeof(*alab->parts)); 233 p = &alab->parts[alab->nparts++];
|
/src/sys/arch/atari/stand/tostools/aptck/ |
aptck.h | 74 part_t *parts; /* list of partition descriptors */ member in struct:__anon872cc5720308
|
/src/sys/arch/atari/stand/tostools/libtos/ |
ahdi.h | 89 part_t *parts; member in struct:__anone481f36f0208
|