Searched refs:max_lba (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/ |
D | sm_ftl.c | 211 *block = do_div(offset, ftl->max_lba); in sm_break_offset() 573 ftl->max_lba = 250; in sm_get_media_info() 582 ftl->max_lba = 500; in sm_get_media_info() 592 ftl->max_lba = 250; in sm_get_media_info() 599 ftl->max_lba = 500; in sm_get_media_info() 605 ftl->max_lba = 1000; in sm_get_media_info() 614 ftl->max_lba = 1000; in sm_get_media_info() 681 for (block = 0 ; block < ftl->zone_size - ftl->max_lba ; block++) { in sm_find_cis() 757 zone->lba_to_phys_table = kmalloc_array(ftl->max_lba, 2, GFP_KERNEL); in sm_init_zone() 761 memset(zone->lba_to_phys_table, -1, ftl->max_lba * 2); in sm_init_zone() [all …]
|
D | sm_ftl.h | 35 int max_lba; /* maximum lba in a zone */ member
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sd_zbc.c | 600 sector_t max_lba; in sd_zbc_check_capacity() local 611 max_lba = get_unaligned_be64(&buf[8]); in sd_zbc_check_capacity() 612 if (sdkp->capacity != max_lba + 1) { in sd_zbc_check_capacity() 617 (unsigned long long)max_lba + 1); in sd_zbc_check_capacity() 618 sdkp->capacity = max_lba + 1; in sd_zbc_check_capacity()
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | alauda.c | 909 u16 lba, max_lba; in alauda_read_data() local 935 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data() 949 if (lba >= max_lba) { in alauda_read_data() 951 lba, max_lba); in alauda_read_data() 1010 u16 lba, max_lba; in alauda_write_data() local 1037 max_lba = MEDIA_INFO(us).capacity >> (pageshift + blockshift); in alauda_write_data() 1049 if (lba >= max_lba) { in alauda_write_data() 1051 lba, max_lba); in alauda_write_data()
|
D | sddr55.c | 647 unsigned short max_lba; in sddr55_read_map() local 704 max_lba = info->max_log_blks; in sddr55_read_map() 705 if (max_lba > 1000) in sddr55_read_map() 706 max_lba = 1000; in sddr55_read_map() 738 if (lba >= max_lba) { in sddr55_read_map()
|
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/ |
D | mpt3sas_warpdrive.c | 232 raid_device->max_lba = le64_to_cpu(vol_pg0->MaxLBA); in mpt3sas_init_warpdrive_properties() 275 if (v_lba + io_size - 1 > raid_device->max_lba) in mpt3sas_setup_direct_io()
|
D | mpt3sas_base.h | 708 u64 max_lba; member
|
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
D | superpipe.c | 414 gli->max_lba = be64_to_cpu(*((__be64 *)&cmd_buf[0])); in read_cap16() 423 __func__, gli->max_lba, gli->blk_len, rc); in read_cap16() 1345 if (gli->max_lba == 0) { in cxlflash_disk_attach() 1355 dev_dbg(dev, "%s: LBA = %016llx\n", __func__, gli->max_lba); in cxlflash_disk_attach() 1475 attach->last_lba = gli->max_lba; in cxlflash_disk_attach() 1778 u64 prev_lba = gli->max_lba; in process_sense() 1805 if (prev_lba != gli->max_lba) in process_sense() 1808 gli->max_lba); in process_sense() 1893 last_lba = gli->max_lba; in cxlflash_disk_verify() 2010 last_lba = gli->max_lba; in cxlflash_disk_direct_open()
|
D | superpipe.h | 40 u64 max_lba; /* from read cap(16) */ member
|
D | vlun.c | 379 blka->ba_lun.lsize = gli->max_lba + 1; in init_vlun()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | libata-scsi.c | 3371 u64 max_lba, opt_lba; in ata_scsi_report_zones_complete() local 3378 max_lba = get_unaligned_le64(&hdr[8]); in ata_scsi_report_zones_complete() 3382 put_unaligned_be64(max_lba, &hdr[8]); in ata_scsi_report_zones_complete()
|