Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c806 static unsigned int sdebug_store_sectors; variable
881 lba = do_div(lba, sdebug_store_sectors); in lba2fake_store()
892 sector = sector_div(sector, sdebug_store_sectors); in dif_store()
1477 if (sdebug_store_sectors > 0x400) in inquiry_vpd_b0()
1478 put_unaligned_be32(sdebug_store_sectors, arr + 4); in inquiry_vpd_b0()
1841 return sdebug_store_sectors; in get_sdebug_capacity()
2973 if (num > sdebug_store_sectors) { in check_device_access_params()
3027 block = do_div(lba, sdebug_store_sectors); in do_device_access()
3028 if (block + num > sdebug_store_sectors) in do_device_access()
3029 rest = block + num - sdebug_store_sectors; in do_device_access()
[all …]