Lines Matching refs:lba
219 pr_debug("GPT: mbr size in lba (%u) different than whole disk (%u).\n",
230 * @lba: the Logical Block Address of the partition table
238 u64 lba, u8 *buffer, size_t count)
242 sector_t n = lba * (bdev_logical_block_size(bdev) / 512);
244 if (!buffer || lba > last_lba(bdev))
302 * @lba: the Logical Block Address of the partition table
309 u64 lba)
318 if (read_lba(state, lba, (u8 *) gpt, ssz) < ssz) {
330 * @lba: logical block address of the GPT header to test
337 static int is_gpt_valid(struct parsed_partitions *state, u64 lba,
345 if (!(*gpt = alloc_read_gpt_header(state, lba)))
388 if (le64_to_cpu((*gpt)->my_lba) != lba) {
391 (unsigned long long)lba);
458 * @lastlba: last lba of the disk