Home | History | Annotate | Download | only in gpt

Lines Matching defs:sector

82 resizedisk(gpt_t gpt, off_t sector, off_t size __unused, bool quiet)
95 if (sector > last) {
97 " is larger then the disk %jd", (uintmax_t)sector,
131 if (sector == oldloc) {
137 if (sector == 0 && last == oldloc) {
153 if (sector - gpt_size <= lastdata) {
155 " for secondary GPT table", sector);
164 if (sector > oldloc)
165 newloc = sector;
166 if (sector > 0 && sector < oldloc && last >= oldloc)
167 newloc = sector;
168 if (sector == 0 && last > oldloc)
179 if (sector > 0)
180 newloc = sector;
239 off_t sector, size = gpt->mediasz;
259 if ((sector = gpt_check_ais(gpt, 0, (u_int)~0, size)) == -1)
262 if (--sector == 0) {
267 return resizedisk(gpt, sector, size, quiet);