Lines Matching refs:lba
72 * @lba
79 static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer,
84 if (!buffer || lba + count / 512 > get_capacity(state->disk) - 1ULL)
90 unsigned char *data = read_part_sector(state, lba++, §);
107 * @lba
110 * Allocates space for pvd and fill it with disk blocks at @lba
113 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba)
122 if (read_lba(state, lba, (u8 *) p, count) < count) {
132 * @lba
135 * Allocates space for lvn and fill it with disk blocks at @lba
138 static struct lvname *alloc_lvn(struct parsed_partitions *state, u32 lba)
147 if (read_lba(state, lba, (u8 *) p, count) < count) {