Lines Matching refs:lba
88 * @lba
95 static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer,
100 if (!buffer || lba + count / 512 > last_lba(state->bdev))
106 unsigned char *data = read_part_sector(state, lba++, §);
123 * @lba
126 * Allocates space for pvd and fill it with disk blocks at @lba
129 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba)
138 if (read_lba(state, lba, (u8 *) p, count) < count) {
148 * @lba
151 * Allocates space for lvn and fill it with disk blocks at @lba
154 static struct lvname *alloc_lvn(struct parsed_partitions *state, u32 lba)
163 if (read_lba(state, lba, (u8 *) p, count) < count) {