/src/sbin/mbrlabel/ |
mbrlabel.c | 165 npe.p_offset = getlong(&parts[i].mbrp_start) + off; 174 npe.p_size, npe.p_size / 2048, npe.p_offset); 184 lpe->p_offset == npe.p_offset) { 206 if ((npe.p_offset >= lpe->p_offset && 207 npe.p_offset < lpe->p_offset + lpe->p_size) || 208 (npe.p_offset + npe.p_size - 1 >= lpe->p_offset & [all...] |
/src/sbin/disklabel/ |
printlabel.c | 125 pp->p_offset/lp->d_secpercyl, 126 (pp->p_offset%lp->d_secpercyl) / lp->d_nsectors, 127 pp->p_offset%lp->d_nsectors); 133 'a' + i, pp->p_size, pp->p_offset); 175 pp->p_offset / lp->d_secpercyl); 177 if (pp->p_offset > lp->d_secperunit) 179 else if (pp->p_offset % lp->d_secpercyl) 185 (pp->p_offset + 189 if ((pp->p_offset + pp->p_size) > lp->d_secperunit) 191 else if ((pp->p_offset + pp->p_size) % lp->d_secpercyl [all...] |
/src/sys/kern/ |
subr_disklabel.c | 100 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size)
|
subr_disk.c | 133 sn += lp->d_partitions[part].p_offset; 355 uint64_t p_size, p_offset, labelsector; local in function:bounds_check_with_label 371 p_offset = (uint64_t)p->p_offset << dk->dk_blkshift; 373 labelsector = lp->d_partitions[2].p_offset; 375 labelsector = lp->d_partitions[RAW_PART].p_offset; 403 if (bp->b_blkno + p_offset <= labelsector && 404 bp->b_blkno + p_offset + sz > labelsector && 411 bp->b_cylinder = (bp->b_blkno + p->p_offset) / 463 if (lp->d_npartitions > RAW_PART && p->p_offset == 0 && p->p_size != 0 [all...] |
/src/sys/arch/arc/stand/boot/ |
disk.c | 76 offset += pp->p_offset; 151 lp->d_partitions[part].p_offset = 0; 175 mbrp_off = lp->d_partitions[2].p_offset; 178 lp->d_partitions[i].p_offset >= mbrp_off) 179 lp->d_partitions[i].p_offset -= mbrp_off;
|
/src/sys/arch/sgimips/stand/common/ |
disk.c | 76 offset += pp->p_offset; 151 lp->d_partitions[part].p_offset = 0; 175 mbrp_off = lp->d_partitions[2].p_offset; 178 lp->d_partitions[i].p_offset >= mbrp_off) 179 lp->d_partitions[i].p_offset -= mbrp_off;
|
iris_disk.c | 114 blk = bn + (lp->d_partitions[sc->sc_part].p_offset >> sc->sc_blkshift); 202 lp->d_partitions[scsi_part].p_offset = 0;
|
/src/sys/arch/x68k/x68k/ |
disksubr.c | 84 lp->d_partitions[i].p_offset = 0; 88 lp->d_partitions[RAW_PART].p_offset = 0; 178 lp->d_partitions[part].p_offset = start; 347 start = lp->d_partitions[part].p_offset >> 1; 405 if (lp->d_partitions[0].p_offset != 0 406 && lp->d_partitions[0].p_offset != dospartoff) { 453 if ((bp[i].p_offset * f < (dp[j].dp_start + dp[j].dp_size) * g) && 454 ((bp[i].p_offset + bp[i].p_size) * f >= (dp[j].dp_start + dp[j].dp_size) * g)) 456 if ((bp[i].p_offset * f > dp[j].dp_start * g) && 457 ((bp[i].p_offset + bp[i].p_size) * f < (dp[j].dp_start + dp[j].dp_size) * g) [all...] |
/src/sys/arch/hp300/hp300/ |
disksubr.c | 72 lp->d_partitions[i].p_offset = 0; 76 lp->d_partitions[RAW_PART].p_offset = 0; 123 if (lp->d_partitions[labelpart].p_offset != 0) { 124 if (lp->d_partitions[0].p_offset != 0)
|
/src/sys/arch/news68k/news68k/ |
disksubr.c | 71 lp->d_partitions[i].p_offset = 0; 75 lp->d_partitions[RAW_PART].p_offset = 0; 122 if (lp->d_partitions[labelpart].p_offset != 0) { 123 if (lp->d_partitions[0].p_offset != 0)
|
/src/sys/arch/newsmips/newsmips/ |
disksubr.c | 71 lp->d_partitions[i].p_offset = 0; 75 lp->d_partitions[RAW_PART].p_offset = 0; 122 if (lp->d_partitions[labelpart].p_offset != 0) { 123 if (lp->d_partitions[0].p_offset != 0)
|
/src/sys/arch/virt68k/virt68k/ |
disksubr.c | 72 lp->d_partitions[i].p_offset = 0; 76 lp->d_partitions[RAW_PART].p_offset = 0; 123 if (lp->d_partitions[labelpart].p_offset != 0) { 124 if (lp->d_partitions[0].p_offset != 0)
|
/src/sys/arch/atari/stand/libsa/ |
diskio.c | 73 bootdev.rst = pd->p_offset; 74 bootdev.rend = pd->p_offset + pd->p_size - 1;
|
/src/sys/arch/next68k/next68k/ |
disksubr.c | 122 lp->d_partitions[nbp].p_offset = 218 if (nbp != RAW_PART && lp->d_partitions[nbp].p_offset > 0 && 219 lp->d_partitions[nbp].p_offset < front_porch) 220 front_porch = lp->d_partitions[nbp].p_offset; 226 (lp->d_partitions[nbp].p_offset == 258 p->cp_offset = (lp->d_partitions[nbp].p_offset / 329 lp->d_partitions[i].p_offset = 0; 333 lp->d_partitions[i].p_offset = 0; 415 if (lp->d_partitions[labelpart].p_offset != 0) { 416 if (lp->d_partitions[0].p_offset != 0 [all...] |
/src/sys/arch/pmax/pmax/ |
disksubr.c | 73 lp->d_partitions[0].p_offset = 0; 174 lp->d_partitions[part].p_offset = 184 lp->d_partitions[part].p_offset, 209 if (lp->d_partitions[labelpart].p_offset != 0) { 210 if (lp->d_partitions[0].p_offset != 0)
|
/src/sys/arch/luna68k/luna68k/ |
disksubr.c | 192 lp->d_partitions[i].p_offset = 0; 196 lp->d_partitions[RAW_PART].p_offset = 0; 354 npp->p_offset = spp->sdkp_cyloffset * secpercyl; 382 if (sl->sl_rpm == 0 && lp->d_partitions[2].p_offset != 0) { 429 spp->sdkp_cyloffset = npp->p_offset; /* UniOS */
|
/src/sys/arch/evbppc/evbppc/ |
disksubr.c | 77 lp->d_partitions[RAW_PART].p_offset = 0; 172 if (lp->d_partitions[2].p_offset != 0 173 && lp->d_partitions[2].p_offset != dospartoff) {
|
/src/sys/arch/luna68k/stand/boot/ |
disklabel.c | 223 bp->d_partitions[i].p_offset = 275 bp->d_partitions[i].p_offset = j; 377 pp->p_size, pp->p_offset); 400 pp->p_offset / lp->d_secpercyl); 401 if (pp->p_offset % lp->d_secpercyl) 406 (pp->p_offset +
|
/src/sys/dev/sun/ |
disksubr.c | 105 lp->d_partitions[RAW_PART].p_offset = 0; 291 && spp->sdkp_cyloffset * secpercyl == npp->p_offset*secpblck 301 npp->p_offset *= secpblck; 306 npp->p_offset = spp->sdkp_cyloffset * secpercyl; 373 if (npp->p_offset % secpercyl) 375 spp->sdkp_cyloffset = npp->p_offset / secpercyl;
|
/src/sys/arch/hpc/hpc/ |
disksubr.c | 153 lp->d_partitions[i].p_offset = 0; 157 lp->d_partitions[i].p_offset = 0; 191 pp->p_offset = dp->mbrp_start; 213 lp->d_partitions[2].p_offset = 361 if (lp->d_partitions[2].p_offset != 0 362 && lp->d_partitions[2].p_offset != dospartoff) {
|
/src/sys/arch/ofppc/stand/ofwboot/ |
mbr.c | 146 lp->d_partitions[i].p_offset = 0; 151 lp->d_partitions[0].p_offset = poff;
|
/src/sys/arch/pmax/stand/common/ |
rz.c | 78 offset += pp->p_offset; 155 lp->d_partitions[part].p_offset = 0;
|
/src/lib/libukfs/ |
ukfs_int_disklabel.h | 135 uint32_t p_offset; /* starting sector */ member in struct:ukfs__disklabel::ukfs__partition
|
/src/sbin/apmlabel/ |
apmlabel.c | 178 npe.p_offset = temp / label.d_secsize; 186 npe.p_size, npe.p_size / 2048, npe.p_offset); 194 lpe->p_offset == npe.p_offset
|
/src/sys/arch/atari/stand/tostools/aptck/ |
disklbl.h | 123 u_int32_t p_offset; /* starting sector */ member in struct:disklabel::partition
|