Lines Matching refs:p_offset
303 dp->p_offset = BBSIZE / secsize; in fixlabel()
304 dp->p_size = lp->d_secperunit - dp->p_offset; in fixlabel()
389 lab.d_partitions[i].p_offset += lba_offset; in writelabel()
490 lba = MIN(lba, lab.d_partitions[i].p_offset); in readlabel()
492 if (lba != 0 && lab.d_partitions[RAW_PART].p_offset == lba) { in readlabel()
495 lab.d_partitions[i].p_offset -= lba; in readlabel()
565 (u_long)pp->p_size, (u_long)pp->p_offset); in display()
1026 pp->p_offset = v; in getasciipartspec()
1238 if (pp->p_offset > base_offset) in checklabel()
1239 free_space += pp->p_offset - base_offset; in checklabel()
1240 if (pp->p_offset + pp->p_size > base_offset) in checklabel()
1241 base_offset = pp->p_offset + pp->p_size; in checklabel()
1289 base_offset = pp->p_offset + pp->p_size; in checklabel()
1301 current_offset = pp->p_offset; in checklabel()
1327 pp->p_offset = 0; in checklabel()
1329 pp->p_offset = current_offset; in checklabel()
1334 if (pp->p_offset < current_offset && in checklabel()
1339 (long)pp->p_offset,i+'a',current_offset); in checklabel()
1343 } else if (pp->p_offset != current_offset && in checklabel()
1351 (long)pp->p_offset, i + 'a', current_offset); in checklabel()
1355 current_offset = pp->p_offset + pp->p_size; in checklabel()
1362 if (pp->p_size == 0 && pp->p_offset != 0) in checklabel()
1364 part, (u_long)pp->p_offset); in checklabel()
1369 if (pp->p_offset % lp->d_secpercyl) in checklabel()
1373 if (pp->p_offset > lp->d_secperunit) { in checklabel()
1378 if (pp->p_offset + pp->p_size > lp->d_secperunit) { in checklabel()
1387 if (pp->p_offset != 0) in checklabel()
1392 if ((pp->p_fstype != FS_UNUSED) || (pp->p_offset != 0) || in checklabel()
1407 if (pp2->p_offset < pp->p_offset + pp->p_size && in checklabel()
1408 (pp2->p_offset + pp2->p_size > pp->p_offset || in checklabel()
1409 pp2->p_offset >= pp->p_offset)) { in checklabel()
1420 if (pp->p_size || pp->p_offset) in checklabel()
1422 'a' + i, pp->p_size, (u_long)pp->p_offset); in checklabel()