Home
last modified time | relevance | path

Searched refs:last_lba (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/include/uapi/scsi/
Dcxlflash_ioctl.h81 __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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/scsi/
Dcxlflash_ioctl.h41 __u64 last_lba; member
54 __u64 last_lba; member
63 __u64 last_lba; member
77 __u64 last_lba; member
94 __u64 last_lba; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/scsi/
Dcxlflash_ioctl.h28 __u64 last_lba; member
41 __u64 last_lba; member
50 __u64 last_lba; member
64 __u64 last_lba; member
81 __u64 last_lba; member
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dvlun.c38 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()
Dsuperpipe.c1475 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 …]
/kernel/linux/linux-5.10/block/partitions/
Defi.c134 static u64 last_lba(struct block_device *bdev) in last_lba() function
244 if (!buffer || lba > last_lba(bdev)) in read_lba()
398 lastlba = last_lba(state->bdev); in is_gpt_valid()
596 lastlba = last_lba(state->bdev); in find_valid_gpt()
725 if (!is_pte_valid(&ptes[i], last_lba(state->bdev))) in efi_partition()
Daix.c78 static u64 last_lba(struct block_device *bdev) in last_lba() function
100 if (!buffer || lba + count / 512 > last_lba(state->bdev)) in read_lba()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_alua.c484 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()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-scsi.c2418 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 …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcdrom.h514 __u32 last_lba; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcdrom.h519 __u32 last_lba; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dcdrom.h800 __u32 last_lba; member