Searched refs:last_lba (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/include/uapi/scsi/ |
D | cxlflash_ioctl.h | 81 __u64 last_lba; /* Returned last LBA on the device */ member 96 __u64 last_lba; /* Returned last LBA on the device */ member 107 __u64 last_lba; /* Returned last LBA of LUN */ member 123 __u64 last_lba; /* Returned last LBA of LUN */ member 143 __u64 last_lba; /* Returned last LBA of device */ member
|
/linux-6.6.21/drivers/scsi/cxlflash/ |
D | vlun.c | 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 810 resize->last_lba = (new_size * MC_CHUNK_SIZE * gli->blk_len); in _cxlflash_vlun_resize() 811 resize->last_lba /= CXLFLASH_BLOCK_SIZE; in _cxlflash_vlun_resize() 812 resize->last_lba--; in _cxlflash_vlun_resize() 818 __func__, resize->last_lba, rc); in _cxlflash_vlun_resize() 986 u64 last_lba = 0; in cxlflash_disk_virtual_open() local 1050 last_lba = resize.last_lba; in cxlflash_disk_virtual_open() 1056 virt->last_lba = last_lba; in cxlflash_disk_virtual_open() 1065 __func__, rsrc_handle, rc, last_lba); in cxlflash_disk_virtual_open()
|
D | superpipe.c | 1476 attach->last_lba = gli->max_lba; in cxlflash_disk_attach() 1487 __func__, ctxid, fd, attach->block_size, rc, attach->last_lba); in cxlflash_disk_attach() 1849 u64 last_lba = 0; in cxlflash_disk_verify() local 1894 last_lba = gli->max_lba; in cxlflash_disk_verify() 1898 last_lba = ((u64)rhte->lxt_cnt * MC_CHUNK_SIZE * gli->blk_len); in cxlflash_disk_verify() 1899 last_lba /= CXLFLASH_BLOCK_SIZE; in cxlflash_disk_verify() 1900 last_lba--; in cxlflash_disk_verify() 1906 verify->last_lba = last_lba; in cxlflash_disk_verify() 1912 __func__, rc, verify->last_lba); in cxlflash_disk_verify() 1975 u64 last_lba = 0; in cxlflash_disk_direct_open() local [all …]
|
/linux-6.6.21/block/partitions/ |
D | efi.c | 134 static u64 last_lba(struct gendisk *disk) in last_lba() function 242 if (!buffer || lba > last_lba(state->disk)) in read_lba() 396 lastlba = last_lba(state->disk); in is_gpt_valid() 596 lastlba = last_lba(state->disk); in find_valid_gpt() 735 if (!is_pte_valid(&ptes[i], last_lba(state->disk))) in efi_partition()
|
/linux-6.6.21/drivers/target/ |
D | target_core_alua.c | 471 u64 start_lba, last_lba; in core_alua_state_lba_dependent() local 478 last_lba = first_lba + segment_size - 1; in core_alua_state_lba_dependent() 480 start_lba <= last_lba) { in core_alua_state_lba_dependent() 486 last_lba = map->lba_map_last_lba; in core_alua_state_lba_dependent() 487 if (lba >= first_lba && lba <= last_lba) { in core_alua_state_lba_dependent() 488 lba = last_lba + 1; in core_alua_state_lba_dependent() 1270 u64 first_lba, u64 last_lba) in core_alua_allocate_lba_map() argument 1281 lba_map->lba_map_last_lba = last_lba; in core_alua_allocate_lba_map()
|
/linux-6.6.21/drivers/ata/ |
D | libata-scsi.c | 2517 u64 last_lba = dev->n_sectors - 1; /* LBA of the last block */ in ata_scsiop_read_cap() local 2527 if (last_lba >= 0xffffffffULL) in ata_scsiop_read_cap() 2528 last_lba = 0xffffffff; in ata_scsiop_read_cap() 2531 rbuf[0] = last_lba >> (8 * 3); in ata_scsiop_read_cap() 2532 rbuf[1] = last_lba >> (8 * 2); in ata_scsiop_read_cap() 2533 rbuf[2] = last_lba >> (8 * 1); in ata_scsiop_read_cap() 2534 rbuf[3] = last_lba; in ata_scsiop_read_cap() 2543 rbuf[0] = last_lba >> (8 * 7); in ata_scsiop_read_cap() 2544 rbuf[1] = last_lba >> (8 * 6); in ata_scsiop_read_cap() 2545 rbuf[2] = last_lba >> (8 * 5); in ata_scsiop_read_cap() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | cdrom.h | 819 __u32 last_lba; member
|