Searched refs:max_lba (Results 1 – 6 of 6) sorted by relevance
213 *block = do_div(offset, ftl->max_lba); in sm_break_offset()586 ftl->max_lba = 250; in sm_get_media_info()595 ftl->max_lba = 500; in sm_get_media_info()605 ftl->max_lba = 250; in sm_get_media_info()612 ftl->max_lba = 500; in sm_get_media_info()618 ftl->max_lba = 1000; in sm_get_media_info()627 ftl->max_lba = 1000; in sm_get_media_info()694 for (block = 0 ; block < ftl->zone_size - ftl->max_lba ; block++) { in sm_find_cis()770 zone->lba_to_phys_table = kmalloc(ftl->max_lba * 2, GFP_KERNEL); in sm_init_zone()774 memset(zone->lba_to_phys_table, -1, ftl->max_lba * 2); in sm_init_zone()[all …]
38 int max_lba; /* maximum lba in a zone */ member
912 u16 lba, max_lba; in alauda_read_data() local940 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data()954 if (lba >= max_lba) { in alauda_read_data()956 lba, max_lba); in alauda_read_data()1013 u16 lba, max_lba; in alauda_write_data() local1043 max_lba = MEDIA_INFO(us).capacity >> (pageshift + blockshift); in alauda_write_data()1055 if (lba >= max_lba) { in alauda_write_data()1057 lba, max_lba); in alauda_write_data()
653 unsigned short max_lba; in sddr55_read_map() local710 max_lba = info->max_log_blks; in sddr55_read_map()711 if (max_lba > 1000) in sddr55_read_map()712 max_lba = 1000; in sddr55_read_map()740 if (lba >= max_lba) { in sddr55_read_map()
420 u64 max_lba; member
1957 raid_device->max_lba = le64_to_cpu(vol_pg0->MaxLBA); in _scsih_init_warpdrive_properties()3878 if (v_lba + io_size - 1 > raid_device->max_lba) in _scsih_setup_direct_io()