Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/sr_vendor.c sr_cd_check() -> sr_set_blocklength()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | cd->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cd->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cd->vendor | 3 |
| PARAM_VALUE | 1 | blocklength | 2048 |
| BUF_SIZE | 0 | cd | 328 |
| BIT_INFO | 0 | cd->cdi.mask | 0x0,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &disk->open_mutex |
drivers/scsi/sr_vendor.c sr_cd_check() -> sr_set_blocklength()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cd->device->sector_size | 0-2047,2049-u32max |
| PARAM_VALUE | 0 | cd->ms_offset | 0-16777215,18446744071562067968-u64max |
| PARAM_VALUE | 1 | blocklength | 2048 |
| BUF_SIZE | 0 | cd | 328 |
| BIT_INFO | 0 | cd->cdi.mask | 0x0,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &disk->open_mutex |
drivers/scsi/sr_ioctl.c sr_read_sector() -> sr_set_blocklength()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cd->device->sector_size | 0-2339,2341-u32max |
| PARAM_VALUE | 0 | cd->ms_offset | 0-16777215,18446744071562067968-u64max |
| PARAM_VALUE | 0 | cd->readcd_known | 0 |
| PARAM_VALUE | 0 | cd->xa_flag | 0 |
| PARAM_VALUE | 1 | blocklength | 2340 |
| BUF_SIZE | 0 | cd | 328 |
| DATA_SOURCE | 0 | cd | $0 |
| DATA_SOURCE | 1 | blocklength | $2 |
| PARAM_COMPARE | 1 | blocklength | != $0->device->sector_size |
| BIT_INFO | 0 | cd->cdi.mask | 0x0,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | blocklength | unit_byte |
| HALF_LOCKED2 | &disk->open_mutex |
drivers/scsi/sr_ioctl.c sr_read_sector() -> sr_set_blocklength()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | cd->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cd->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cd->ms_offset | 0-16777215,18446744071562067968-u64max |
| PARAM_VALUE | 0 | cd->readcd_known | 0 |
| PARAM_VALUE | 0 | cd->xa_flag | 0 |
| PARAM_VALUE | 1 | blocklength | 2048 |
| BUF_SIZE | 0 | cd | 328 |
| DATA_SOURCE | 0 | cd | $0 |
| BIT_INFO | 0 | cd->cdi.mask | 0x0,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex |