Lines Matching refs:last
88 off_t last, oldloc, newloc, lastdata, gpt_size;
91 last = gpt->mediasz / gpt->secsz - 1;
95 if (sector > last) {
98 (uintmax_t)last);
137 if (sector == 0 && last == oldloc) {
159 if (last - gpt_size <= lastdata) {
166 if (sector > 0 && sector < oldloc && last >= oldloc)
168 if (sector == 0 && last > oldloc)
169 newloc = last;
182 newloc = last;
220 if (last > 0xffffffff) {
224 mbr->mbr_part[0].part_size_lo = htole16((uint16_t)last);
225 mbr->mbr_part[0].part_size_hi = htole16((uint16_t)((uint64_t)last >> 16));