/src/usr.sbin/sysinst/arch/amiga/ |
md.c | 114 lp->d_partitions[RAW_PART].p_size == 0x1fffffff && 115 lp->d_partitions[0].p_size == lp->d_partitions[RAW_PART].p_size &&
|
/src/sbin/mbrlabel/ |
mbrlabel.c | 164 npe.p_size = getlong(&parts[i].mbrp_size); 174 npe.p_size, npe.p_size / 2048, npe.p_offset); 183 if (lpe->p_size == npe.p_size && 194 if (unused == -1 && lpe->p_size == 0 && 207 npe.p_offset < lpe->p_offset + lpe->p_size) || 208 (npe.p_offset + npe.p_size - 1 >= lpe->p_offset && 209 npe.p_offset + npe.p_size - 1 < lpe->p_offset + lpe->p_size)) { [all...] |
/src/sbin/disklabel/ |
printlabel.c | 111 if (pp->p_size == 0) 119 pp->p_size/lp->d_secpercyl, 120 (pp->p_size%lp->d_secpercyl) / lp->d_nsectors, 121 pp->p_size%lp->d_nsectors); 133 'a' + i, pp->p_size, pp->p_offset); 186 pp->p_size + lp->d_secpercyl - 1) / 189 if ((pp->p_offset + pp->p_size) > lp->d_secperunit) 191 else if ((pp->p_offset + pp->p_size) % lp->d_secpercyl)
|
/src/sys/arch/ia64/stand/common/ |
bcache.c | 166 int p_size, result; local in function:read_strategy 187 p_size = 0; 194 p_size = 1; 196 p_size++; 200 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, p_size * bcache_blksize, p_buf, NULL); 203 for (j = 0; j < p_size; j++) 210 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, p_size * bcache_blksize, p_buf, NULL); 213 for (j = 0; j < p_size; j++)
|
/src/sys/kern/ |
subr_disklabel.c | 100 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size)
|
subr_disk_mbr.c | 370 a->lp->d_partitions[0].p_size = a->lp->d_secperunit; 417 lp->d_partitions[i].p_size = 0; 420 if (lp->d_partitions[RAW_PART].p_size == 0) 421 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 428 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size; 523 if (rval == SCAN_FOUND || a->lp->d_partitions[2].p_size == 0) { 524 a->lp->d_partitions[2].p_size = le32toh(dp->mbrp_size); 543 pp->p_size == le32toh(dp->mbrp_size)) 545 if (pp->p_size == 0 [all...] |
/src/sys/arch/luna68k/stand/boot/ |
ufs_disksubr.c | 108 if (lp->d_partitions[0].p_size == 0) 109 lp->d_partitions[0].p_size = 0x1fffffff;
|
disklabel.c | 221 bp->d_partitions[i].p_size = 279 bp->d_partitions[i].p_size = j; 375 if (pp->p_size) { 377 pp->p_size, pp->p_offset); 407 pp->p_size + lp->d_secpercyl - 1) / 409 if (pp->p_size % lp->d_secpercyl)
|
/src/sys/arch/hp300/hp300/ |
disksubr.c | 71 lp->d_partitions[i].p_size = 0; 74 if (lp->d_partitions[RAW_PART].p_size == 0) 75 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 78 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size;
|
/src/sys/arch/news68k/news68k/ |
disksubr.c | 70 lp->d_partitions[i].p_size = 0; 73 if (lp->d_partitions[RAW_PART].p_size == 0) 74 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 77 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size;
|
/src/sys/arch/newsmips/newsmips/ |
disksubr.c | 70 lp->d_partitions[i].p_size = 0; 73 if (lp->d_partitions[RAW_PART].p_size == 0) 74 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 77 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size;
|
/src/sys/arch/virt68k/virt68k/ |
disksubr.c | 71 lp->d_partitions[i].p_size = 0; 74 if (lp->d_partitions[RAW_PART].p_size == 0) 75 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 78 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size;
|
/src/sbin/apmlabel/ |
apmlabel.c | 156 npe.p_size = 16384; /* XXX */ 170 npe.p_size = temp / label.d_secsize; 186 npe.p_size, npe.p_size / 2048, npe.p_offset); 193 if (lpe->p_size == npe.p_size && 208 if (unused == -1 && lpe->p_size == 0 &&
|
/src/usr.sbin/sysinst/ |
disklabel.c | 180 parts->l.d_partitions[RAW_PART-1].p_size = len; 186 parts->l.d_partitions[RAW_PART].p_size = total_size; 231 parts->l.d_partitions[RAW_PART-1].p_size; 258 && parts->l.d_partitions[part].p_size == 0) 290 if (parts->l.d_partitions[part].p_size > parts->dp.free_space) 294 parts->l.d_partitions[part].p_size; 325 parts->l.d_partitions[RAW_PART].p_size == 0) 339 parts->l.d_partitions[part].p_size == 340 parts->l.d_partitions[RAW_PART].p_size) 431 parts->l.d_secpercyl, lp[RAW_PART].p_offset+lp[RAW_PART].p_size); [all...] |
/src/sys/arch/x68k/x68k/ |
disksubr.c | 83 lp->d_partitions[i].p_size = 0; 86 if (lp->d_partitions[RAW_PART].p_size == 0) 87 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 90 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size; 177 lp->d_partitions[part].p_size = size; 348 size = lp->d_partitions[part].p_size >> 1; 448 lp->d_partitions[i].p_size == 0) 454 ((bp[i].p_offset + bp[i].p_size) * f >= (dp[j].dp_start + dp[j].dp_size) * g)) 457 ((bp[i].p_offset + bp[i].p_size) * f < (dp[j].dp_start + dp[j].dp_size) * g) [all...] |
/src/sys/arch/atari/stand/libsa/ |
diskio.c | 68 || pd->p_fstype != FS_BSDFFS || pd->p_size == 0) { 74 bootdev.rend = pd->p_offset + pd->p_size - 1;
|
/src/sys/dev/sun/ |
disksubr.c | 103 if (lp->d_partitions[RAW_PART].p_size == 0) 104 lp->d_partitions[RAW_PART].p_size = 0x1fffffff; 292 && spp->sdkp_nsectors <= npp->p_size*secpblck 293 && npp->p_size > 0 && spp->sdkp_nsectors > 0) { 302 npp->p_size = spp->sdkp_nsectors; 307 npp->p_size = spp->sdkp_nsectors; 308 if (npp->p_size == 0) { 376 spp->sdkp_nsectors = npp->p_size;
|
/src/sys/arch/luna68k/luna68k/ |
disksubr.c | 191 lp->d_partitions[i].p_size = 0; 194 if (lp->d_partitions[RAW_PART].p_size == 0) 195 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; 355 npp->p_size = spp->sdkp_nsectors; 356 if (npp->p_size == 0) 430 spp->sdkp_nsectors = npp->p_size;
|
/src/sys/arch/ofppc/ofppc/ |
disksubr.c | 167 lp->d_partitions[slot].p_size = bswap32(dp->mbrp_size); 188 lp->d_partitions[2].p_size = bswap32(bsdp->mbrp_size); 245 if (lp->d_partitions[RAW_PART].p_size == 0) 246 lp->d_partitions[RAW_PART].p_size = 0x1fffffff; 249 if (lp->d_partitions[0].p_size == 0) { 250 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size; 317 lp->d_partitions[i].p_size = 0; 373 lp->d_partitions[RAW_PART].p_size = rbp->ncylinders * lp->d_secpercyl; 431 if (pp->p_size) { [all...] |
/src/sys/arch/ofppc/stand/ofwboot/ |
rdb.c | 156 lp->d_partitions[i].p_size = 0; 186 lp->d_partitions[RAW_PART].p_size = rbp->ncylinders * lp->d_secpercyl; 215 if (pp->p_size) 220 if (pp->p_size) 242 pp->p_size = (pbp->e.highcyl - pbp->e.lowcyl + 1)
|
/src/sys/arch/pmax/stand/common/ |
rz.c | 156 lp->d_partitions[part].p_size = 0x7fffffff; 169 if (part >= lp->d_npartitions || lp->d_partitions[part].p_size == 0) {
|
/src/sys/external/bsd/drm2/dist/drm/ttm/ |
ttm_bo_manager.c | 113 unsigned long p_size) 121 drm_mm_init(&rman->mm, 0, p_size);
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_gmrid_manager.c | 105 unsigned long p_size) 119 switch (p_size) {
|
/src/sys/arch/amiga/amiga/ |
disksubr.c | 154 if (lp->d_partitions[RAW_PART].p_size == 0) 155 lp->d_partitions[RAW_PART].p_size = 0x1fffffff; 158 if (lp->d_partitions[0].p_size == 0) { 159 lp->d_partitions[0].p_size = lp->d_partitions[RAW_PART].p_size; 238 lp->d_partitions[i].p_size = 0; 298 lp->d_partitions[RAW_PART].p_size = rbp->ncylinders * lp->d_secpercyl; 356 if (pp->p_size) { 364 if (pp->p_size) { 432 pp->p_size = (pbp->e.highcyl - pbp->e.lowcyl + 1 [all...] |
/src/lib/libukfs/ |
ukfs_int_disklabel.h | 134 uint32_t p_size; /* number of sectors in partition */ member in struct:ukfs__disklabel::ukfs__partition
|