Lines Matching refs:sdebug_store_sectors

797 static unsigned int sdebug_store_sectors;  variable
876 lba = do_div(lba, sdebug_store_sectors); in lba2fake_store()
887 sector = sector_div(sector, sdebug_store_sectors); in dif_store()
1472 if (sdebug_store_sectors > 0x400) in inquiry_vpd_b0()
1473 put_unaligned_be32(sdebug_store_sectors, arr + 4); in inquiry_vpd_b0()
1830 return sdebug_store_sectors; in get_sdebug_capacity()
2870 if (num > sdebug_store_sectors) { in check_device_access_params()
2924 block = do_div(lba, sdebug_store_sectors); in do_device_access()
2925 if (block + num > sdebug_store_sectors) in do_device_access()
2926 rest = block + num - sdebug_store_sectors; in do_device_access()
2965 u32 store_blks = sdebug_store_sectors; in comp_write_worker()
3037 const void *dif_store_end = dif_storep + sdebug_store_sectors; in dif_copy_prot()
3361 end = min_t(sector_t, sdebug_store_sectors, map_index_to_lba(next)); in map_state()
3721 block = do_div(lbaa, sdebug_store_sectors); in resp_write_same()
3742 block = do_div(lbaa, sdebug_store_sectors); in resp_write_same()
4085 block = do_div(lba, sdebug_store_sectors); in resp_pre_fetch()
4086 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch()
4087 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch()
6414 sdebug_store_sectors); in map_show()
6770 sdebug_store_sectors = sz / sdebug_sector_size; in scsi_debug_init()
6974 dif_size = sdebug_store_sectors * sizeof(struct t10_pi_tuple); in sdebug_add_store()
6988 map_size = lba_to_map_index(sdebug_store_sectors - 1) + 1; in sdebug_add_store()