Lines Matching refs:base_offset
1195 u_long base_offset, needed, total_size, total_percent, current_offset; local
1313 base_offset = BBSIZE / lp->d_secsize;
1320 if (pp->p_offset > base_offset)
1321 free_space += pp->p_offset - base_offset;
1322 if (pp->p_offset + pp->p_size > base_offset)
1323 base_offset = pp->p_offset + pp->p_size;
1325 if (base_offset < lp->d_secperunit)
1326 free_space += lp->d_secperunit - base_offset;
1363 base_offset = BBSIZE / lp->d_secsize;
1372 base_offset = pp->p_offset + pp->p_size;
1387 if (current_offset - base_offset <= needed) {
1392 needed, base_offset, current_offset);
1397 base_offset - needed;