Lines Matching defs:lba
212 * @lba
220 read_lba(struct block_device *bdev, u64 lba, u8 * buffer, size_t count)
226 sector_t n = lba * (bdev_hardsect_size(bdev) / 512);
229 if (!bdev || !buffer || lba > last_lba(bdev))
237 /* unsigned char *data = read_dev_sector(bdev, lba++, §); */
291 * @lba is the Logical Block Address of the partition table
298 alloc_read_gpt_header(struct block_device *bdev, u64 lba)
319 if (read_lba(bdev, lba, (u8 *) gpt,
336 * @lba is the logical block address of the GPT header to test
344 is_gpt_valid(struct block_device *bdev, u64 lba,
352 if (!(*gpt = alloc_read_gpt_header(bdev, lba)))
379 if (le64_to_cpu((*gpt)->my_lba) != lba) {
382 (unsigned long long)lba);
431 * @lastlba is last lba of the disk