Searched refs:sdebug_capacity (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dscsi_debug.c566 static sector_t sdebug_capacity; /* in sectors */ variable
1520 sdebug_capacity = get_sdebug_capacity(); resp_readcap()
1522 if (sdebug_capacity < 0xffffffff) { resp_readcap()
1523 capac = (unsigned int)sdebug_capacity - 1; resp_readcap()
1551 sdebug_capacity = get_sdebug_capacity(); resp_readcap16()
1553 capac = sdebug_capacity - 1; resp_readcap16()
2047 if ((bd_len > 0) && (!sdebug_capacity)) resp_mode_sense()
2048 sdebug_capacity = get_sdebug_capacity(); resp_mode_sense()
2051 if (sdebug_capacity > 0xfffffffe) { resp_mode_sense()
2057 ap[0] = (sdebug_capacity >> 24) & 0xff; resp_mode_sense()
2058 ap[1] = (sdebug_capacity >> 16) & 0xff; resp_mode_sense()
2059 ap[2] = (sdebug_capacity >> 8) & 0xff; resp_mode_sense()
2060 ap[3] = sdebug_capacity & 0xff; resp_mode_sense()
2067 unsigned long long capac = sdebug_capacity; resp_mode_sense()
2345 if (lba + num > sdebug_capacity) { check_device_access_params()
2617 if (lba + num > sdebug_capacity) { resp_read_dt0()
2930 if (lba + num > sdebug_capacity) { resp_write_dt0()
3170 if (lba + num > sdebug_capacity) { resp_comp_write()
3306 sdebug_capacity = get_sdebug_capacity(); resp_get_lba_status()
3307 if (sdebug_capacity - lba <= 0xffffffff) resp_get_lba_status()
3308 num = sdebug_capacity - lba; resp_get_lba_status()
4559 sdebug_capacity = get_sdebug_capacity(); virtual_gb_store()
4848 sdebug_capacity = get_sdebug_capacity(); scsi_debug_init()
4857 sdebug_cylinders_per = (unsigned long)sdebug_capacity / scsi_debug_init()
4863 sdebug_cylinders_per = (unsigned long)sdebug_capacity / scsi_debug_init()

Completed in 62 milliseconds