Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dscsi_debug.c677 static unsigned int sdebug_store_sectors; variable
740 lba = do_div(lba, sdebug_store_sectors); in fake_store()
747 sector = sector_div(sector, sdebug_store_sectors); in dif_store()
1330 if (sdebug_store_sectors > 0x400) in inquiry_vpd_b0()
1331 put_unaligned_be32(sdebug_store_sectors, arr + 4); in inquiry_vpd_b0()
1639 return sdebug_store_sectors; in get_sdebug_capacity()
2466 if (num > sdebug_store_sectors) { in check_device_access_params()
2497 block = do_div(lba, sdebug_store_sectors); in do_device_access()
2498 if (block + num > sdebug_store_sectors) in do_device_access()
2499 rest = block + num - sdebug_store_sectors; in do_device_access()
[all …]