Lines Matching refs:last_usable_lba
121 * Check that the first_usable_lba and that the last_usable_lba are
129 if (le64_to_cpu(gpt_h->last_usable_lba) > lastlba) {
130 printf("GPT: last_usable_lba incorrect: %llX > " LBAF "\n",
131 le64_to_cpu(gpt_h->last_usable_lba), lastlba);
135 debug("GPT: first_usable_lba: %llX last_usable_lba: %llX last lba: "
137 le64_to_cpu(gpt_h->last_usable_lba), lastlba);
172 cpu_to_le64(le64_to_cpu(gpt_h->last_usable_lba) + 1);
421 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->last_usable_lba)
442 lbaint_t last_usable_lba = (lbaint_t)
443 le64_to_cpu(gpt_h->last_usable_lba);
486 if (offset > (last_usable_lba + 1)) {
493 gpt_e[i].ending_lba = gpt_h->last_usable_lba;
612 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->lba - 34);