| /src/common/lib/libc/inet/ |
| inet_addr.c | 131 uint8_t parts[4]; local 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 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 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/sbin/gpt/ |
| create.c | 74 create(gpt_t gpt, u_int parts, int force, int primary_only, int active) 114 if (gpt_create(gpt, last, parts, primary_only) == -1) 133 u_int parts = 0; local 147 if (gpt_uint_get(gpt, &parts) == -1) 154 if (parts == 0) 155 parts = 128; 160 return create(gpt, parts, force, primary_only, active);
|
| migrate.c | 239 migrate(gpt_t gpt, u_int parts, int force, int slice, int active) 257 if (gpt_create(gpt, last, parts, 0) == -1) 352 u_int parts = 128; local 364 if (gpt_uint_get(gpt, &parts) == -1) 378 return migrate(gpt, parts, force, slice, active);
|
| /src/usr.sbin/sysinst/ |
| install.c | 52 struct disk_partitions **allparts, *parts; local 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 76 if (parts) 77 return parts;
|
| /src/usr.sbin/sysinst/arch/bebox/ |
| md.c | 67 if (pm->parts == NULL) { 75 struct disk_partitions *parts = local 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 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 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 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/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/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 118 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 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 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/evbppc/ |
| md.c | 98 if (pm->parts == NULL) { 106 struct disk_partitions *parts = local 109 if (!parts) 112 pm->parts = parts; 117 res = set_bios_geom_with_mbr_guess(pm->parts); 123 pm->parts->pscheme->destroy_part_scheme(pm->parts); 124 pm->parts = NULL; 151 struct disk_partitions *parts) [all...] |
| /src/usr.sbin/sysinst/arch/landisk/ |
| md.c | 67 if (pm->parts == NULL) { 75 struct disk_partitions *parts = local 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/playstation2/ |
| md.c | 71 if (pm->parts == NULL) { 79 struct disk_partitions *parts = local 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 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 | 82 if (pm->parts == NULL) { 90 struct disk_partitions *parts = local 93 if (!parts) 96 pm->parts = parts; 101 res = set_bios_geom_with_mbr_guess(pm->parts); 107 pm->parts->pscheme->destroy_part_scheme(pm->parts); 108 pm->parts = NULL; 132 struct disk_partitions *parts) [all...] |
| /src/sbin/mbrlabel/ |
| mbrlabel.c | 120 struct mbr_partition parts[MBR_PART_COUNT]; local 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 | 53 struct ahdi_part *parts; member in struct:ahdilabel 148 struct ahdi_part *p1 = &al.parts[i]; 155 struct ahdi_part *p2 = &al.parts[j]; 171 struct ahdi_part *pd = &al.parts[i]; 228 alab->parts = realloc(alab->parts, 229 (alab->nparts + 1) * sizeof(*alab->parts)); 230 p = &alab->parts[alab->nparts++];
|
| /src/sys/arch/atari/stand/tostools/aptck/ |
| aptck.h | 71 part_t *parts; /* list of partition descriptors */ member in struct:__anon1223
|
| /src/sys/arch/atari/stand/tostools/libtos/ |
| ahdi.h | 89 part_t *parts; member in struct:__anon1228
|