Searched refs:last_lba (Results 1 – 4 of 4) sorted by relevance
/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 | 1475 attach->last_lba = gli->max_lba; in cxlflash_disk_attach() 1486 __func__, ctxid, fd, attach->block_size, rc, attach->last_lba); in cxlflash_disk_attach() 1848 u64 last_lba = 0; in cxlflash_disk_verify() local 1893 last_lba = gli->max_lba; in cxlflash_disk_verify() 1897 last_lba = ((u64)rhte->lxt_cnt * MC_CHUNK_SIZE * gli->blk_len); in cxlflash_disk_verify() 1898 last_lba /= CXLFLASH_BLOCK_SIZE; in cxlflash_disk_verify() 1899 last_lba--; in cxlflash_disk_verify() 1905 verify->last_lba = last_lba; in cxlflash_disk_verify() 1911 __func__, rc, verify->last_lba); in cxlflash_disk_verify() 1974 u64 last_lba = 0; in cxlflash_disk_direct_open() local [all …]
|
/drivers/target/ |
D | target_core_alua.c | 484 u64 start_lba, last_lba; in core_alua_state_lba_dependent() local 491 last_lba = first_lba + segment_size - 1; in core_alua_state_lba_dependent() 493 start_lba <= last_lba) { in core_alua_state_lba_dependent() 499 last_lba = map->lba_map_last_lba; in core_alua_state_lba_dependent() 500 if (lba >= first_lba && lba <= last_lba) { in core_alua_state_lba_dependent() 501 lba = last_lba + 1; in core_alua_state_lba_dependent() 1296 u64 first_lba, u64 last_lba) in core_alua_allocate_lba_map() argument 1307 lba_map->lba_map_last_lba = last_lba; in core_alua_allocate_lba_map()
|
/drivers/ata/ |
D | libata-scsi.c | 2418 u64 last_lba = dev->n_sectors - 1; /* LBA of the last block */ in ata_scsiop_read_cap() local 2430 if (last_lba >= 0xffffffffULL) in ata_scsiop_read_cap() 2431 last_lba = 0xffffffff; in ata_scsiop_read_cap() 2434 rbuf[0] = last_lba >> (8 * 3); in ata_scsiop_read_cap() 2435 rbuf[1] = last_lba >> (8 * 2); in ata_scsiop_read_cap() 2436 rbuf[2] = last_lba >> (8 * 1); in ata_scsiop_read_cap() 2437 rbuf[3] = last_lba; in ata_scsiop_read_cap() 2446 rbuf[0] = last_lba >> (8 * 7); in ata_scsiop_read_cap() 2447 rbuf[1] = last_lba >> (8 * 6); in ata_scsiop_read_cap() 2448 rbuf[2] = last_lba >> (8 * 5); in ata_scsiop_read_cap() [all …]
|