Lines Matching refs:lba
54 u32 media_id, u64 lba, unsigned long buffer_size, in efi_disk_rw_blocks() argument
67 lba += diskobj->offset; in efi_disk_rw_blocks()
70 __LINE__, blocks, lba, blksz, direction); in efi_disk_rw_blocks()
77 n = blk_dread(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
79 n = blk_dwrite(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
93 u32 media_id, u64 lba, efi_uintn_t buffer_size, in efi_disk_read_blocks() argument
101 r = efi_disk_read_blocks(this, media_id, lba, in efi_disk_read_blocks()
105 return efi_disk_read_blocks(this, media_id, lba + in efi_disk_read_blocks()
114 EFI_ENTRY("%p, %x, %" PRIx64 ", %zx, %p", this, media_id, lba, in efi_disk_read_blocks()
117 r = efi_disk_rw_blocks(this, media_id, lba, buffer_size, real_buffer, in efi_disk_read_blocks()
128 u32 media_id, u64 lba, efi_uintn_t buffer_size, in efi_disk_write_blocks() argument
136 r = efi_disk_write_blocks(this, media_id, lba, in efi_disk_write_blocks()
140 return efi_disk_write_blocks(this, media_id, lba + in efi_disk_write_blocks()
149 EFI_ENTRY("%p, %x, %" PRIx64 ", %zx, %p", this, media_id, lba, in efi_disk_write_blocks()
156 r = efi_disk_rw_blocks(this, media_id, lba, buffer_size, real_buffer, in efi_disk_write_blocks()
242 if (!desc->lba) in efi_disk_add_dev()
290 diskobj->media.last_block = desc->lba - offset; in efi_disk_add_dev()