Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/
Dscsi_debug.c797 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()
[all …]