Home
last modified time | relevance | path

Searched refs:sectorEnd (Results 1 – 1 of 1) sorted by relevance

/external/gptfdisk/
Dbsd.cc271 uint64_t sectorOne, sectorEnd; // first & last sectors of partition in AsGPT() local
276 sectorEnd = sectorOne + (uint64_t) partitions[i].lengthLBA; in AsGPT()
277 if (sectorEnd > 0) sectorEnd--; in AsGPT()
286 if ((sectorOne < labelFirstLBA) || (sectorEnd > labelLastLBA) || (sectorOne > sectorEnd)) in AsGPT()
290 if ((sectorOne <= labelFirstLBA) && (sectorEnd >= labelLastLBA) && in AsGPT()
294 if ((sectorEnd == 0) || (sectorEnd == labelFirstLBA)) in AsGPT()
299 guid.SetLastLBA(sectorEnd); in AsGPT()