Lines Matching refs:p_offset
313 dp->p_offset = BBSIZE / secsize;
314 dp->p_size = lp->d_secperunit - dp->p_offset;
401 lab.d_partitions[i].p_offset += lba_offset;
533 lba = MIN(lba, lab.d_partitions[i].p_offset);
535 if (lba != 0 && lab.d_partitions[RAW_PART].p_offset == lba) {
538 lab.d_partitions[i].p_offset -= lba;
608 (u_long)pp->p_size, (u_long)pp->p_offset);
1069 pp->p_offset = v;
1285 if (pp->p_offset > base_offset)
1286 free_space += pp->p_offset - base_offset;
1287 if (pp->p_offset + pp->p_size > base_offset)
1288 base_offset = pp->p_offset + pp->p_size;
1337 base_offset = pp->p_offset + pp->p_size;
1349 current_offset = pp->p_offset;
1376 pp->p_offset = 0;
1378 pp->p_offset = current_offset;
1383 if (pp->p_offset < current_offset &&
1388 (long)pp->p_offset,i+'a',current_offset);
1392 } else if (pp->p_offset != current_offset &&
1400 (long)pp->p_offset, i + 'a', current_offset);
1404 current_offset = pp->p_offset + pp->p_size;
1411 if (pp->p_size == 0 && pp->p_offset != 0)
1413 part, (u_long)pp->p_offset);
1418 if (pp->p_offset % lp->d_secpercyl)
1422 if (pp->p_offset > lp->d_secperunit) {
1427 if (pp->p_offset + pp->p_size > lp->d_secperunit) {
1436 if (pp->p_offset != 0)
1441 if ((pp->p_fstype != FS_UNUSED) || (pp->p_offset != 0) ||
1456 if (pp2->p_offset < pp->p_offset + pp->p_size &&
1457 (pp2->p_offset + pp2->p_size > pp->p_offset ||
1458 pp2->p_offset >= pp->p_offset)) {
1469 if (pp->p_size || pp->p_offset)
1471 'a' + i, pp->p_size, (u_long)pp->p_offset);