/netbsd-current/usr.sbin/sysinst/arch/amiga/ |
H A D | 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 &&
|
/netbsd-current/sbin/mbrlabel/ |
H A D | 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...] |
/netbsd-current/sys/arch/ia64/stand/common/ |
H A D | bcache.c | 166 int p_size, result; local 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++)
|
/netbsd-current/sbin/disklabel/ |
H A D | 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)
|
/netbsd-current/sys/kern/ |
H A D | subr_disklabel.c | 100 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size)
|
H A D | 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 [all...] |
/netbsd-current/sys/arch/luna68k/stand/boot/ |
H A D | ufs_disksubr.c | 108 if (lp->d_partitions[0].p_size == 0) 109 lp->d_partitions[0].p_size = 0x1fffffff;
|
H A D | 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)
|
/netbsd-current/sys/arch/news68k/news68k/ |
H A D | 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;
|
/netbsd-current/sys/arch/newsmips/newsmips/ |
H A D | 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;
|
/netbsd-current/sys/arch/hp300/hp300/ |
H A D | 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;
|
/netbsd-current/sys/arch/virt68k/virt68k/ |
H A D | 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;
|
/netbsd-current/sbin/apmlabel/ |
H A D | 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 &&
|
/netbsd-current/usr.sbin/sysinst/ |
H A D | 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...] |
/netbsd-current/sys/arch/x68k/x68k/ |
H A D | 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) * [all...] |
/netbsd-current/sys/dev/sun/ |
H A D | 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;
|
/netbsd-current/sys/arch/atari/stand/libsa/ |
H A D | diskio.c | 68 || pd->p_fstype != FS_BSDFFS || pd->p_size == 0) { 74 bootdev.rend = pd->p_offset + pd->p_size - 1;
|
/netbsd-current/sys/arch/luna68k/luna68k/ |
H A D | 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;
|
/netbsd-current/sys/arch/ofppc/ofppc/ |
H A D | 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...] |
/netbsd-current/sys/arch/ofppc/stand/ofwboot/ |
H A D | 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)
|
/netbsd-current/sys/arch/pmax/stand/common/ |
H A D | rz.c | 156 lp->d_partitions[part].p_size = 0x7fffffff; 169 if (part >= lp->d_npartitions || lp->d_partitions[part].p_size == 0) {
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_gmrid_manager.c | 105 unsigned long p_size) 119 switch (p_size) { 104 vmw_gmrid_man_init(struct ttm_mem_type_manager *man, unsigned long p_size) argument
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/ttm/ |
H A D | ttm_bo_manager.c | 113 unsigned long p_size) 121 drm_mm_init(&rman->mm, 0, p_size); 112 ttm_bo_man_init(struct ttm_mem_type_manager *man, unsigned long p_size) argument
|
/netbsd-current/sys/arch/amiga/amiga/ |
H A D | 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 [all...] |
/netbsd-current/sys/arch/atari/stand/tostools/aptck/ |
H A D | disklbl.h | 122 u_int32_t p_size; /* number of sectors in partition */ member in struct:disklabel::partition
|