Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cdrom/cdrom.c cdrom_mrw_probe_pc() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->capacity | (-12),0-255 |
| PARAM_VALUE | 0 | cdi->handle | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->host->shost_state | 0-4,8-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->mask | 0-3,16-19,8192-8195,8208-8211,16384-253971,3923992 |
| PARAM_VALUE | 0 | cdi->ops | 7423275360926306304 |
| PARAM_VALUE | 0 | cdi->speed | 0-1 |
| PARAM_VALUE | 0 | *cdi->handle->device->request_queue->q_lockdep_map.name | 0-255 |
| PARAM_VALUE | 1 | cgc | 6612571925102120960 |
| PARAM_VALUE | 1 | cgc->buffer | 928873506118946816 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->quiet | 1 |
| PARAM_VALUE | 1 | cgc->sshdr | 0 |
| PARAM_VALUE | 1 | cgc->stat | 0 |
| PARAM_VALUE | 1 | cgc->timeout | 250 |
| PARAM_VALUE | 2 | page_code | 3 |
| PARAM_VALUE | 3 | page_control | 0 |
| BUF_SIZE | 0 | cdi->handle | 328 |
| BUF_SIZE | 0 | cdi->ops | 112 |
| DATA_SOURCE | 0 | cdi | $0 |
| MEM_ZERO | 1 | cgc | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cdrom/cdrom.c cdrom_mrw_probe_pc() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->capacity | (-12),0-255 |
| PARAM_VALUE | 0 | cdi->handle | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->host->shost_state | 0-4,8-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->mask | 0-3,16-19,8192-8195,8208-8211,16384-253971,3923992 |
| PARAM_VALUE | 0 | cdi->ops | 7423275360926306304 |
| PARAM_VALUE | 0 | cdi->ops->audio_ioctl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->get_mcn | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->lock_door | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->open | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->release | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->tray_move | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->speed | 0-1 |
| PARAM_VALUE | 1 | cgc | 6612571925102120960 |
| PARAM_VALUE | 1 | cgc->buffer | 928873506118946816 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->quiet | 1 |
| PARAM_VALUE | 1 | cgc->sshdr | 0 |
| PARAM_VALUE | 1 | cgc->stat | s32min-0 |
| PARAM_VALUE | 1 | cgc->timeout | 1-s32max |
| PARAM_VALUE | 2 | page_code | 44 |
| PARAM_VALUE | 3 | page_control | 0 |
| BUF_SIZE | 0 | cdi->handle | 328 |
| BUF_SIZE | 0 | cdi->ops | 112 |
| DATA_SOURCE | 0 | cdi | $0 |
| MEM_ZERO | 1 | cgc | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cdrom/cdrom.c cdrom_mrw_set_lba_space() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->host->shost_state | 0-4,8-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cdi->handle->device->sdev_state | 0-3,5,8-4294967295 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 2033057123061092352 |
| PARAM_VALUE | 1 | cgc->buffer | 7858129032707080192 |
| PARAM_VALUE | 1 | cgc->buflen | 16 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->quiet | 0 |
| PARAM_VALUE | 1 | cgc->sshdr | 0 |
| PARAM_VALUE | 1 | cgc->stat | 0 |
| PARAM_VALUE | 1 | cgc->timeout | 1750 |
| PARAM_VALUE | 3 | page_control | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| MEM_ZERO | 1 | cgc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c mmc_ioctl_cdrom_volume() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 182906272456085504 |
| PARAM_VALUE | 1 | cgc->buffer | 4573604873795149824 |
| PARAM_VALUE | 1 | cgc->buflen | 24 |
| PARAM_VALUE | 2 | page_code | 14 |
| PARAM_VALUE | 3 | page_control | 0 |
| BUF_SIZE | 1 | cgc->buffer | 32 |
| DATA_SOURCE | 0 | cdi | $0 |
| DATA_SOURCE | 1 | cgc | $2 |
| MEM_ZERO | 1 | cgc | |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c mmc_ioctl_cdrom_volume() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->audio_ioctl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->get_mcn | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->lock_door | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->open | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->release | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->tray_move | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 182906272456085504 |
| PARAM_VALUE | 1 | cgc->buffer | 4573604873795149824 |
| PARAM_VALUE | 1 | cgc->buflen | 25-32 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->stat | s32min-0 |
| PARAM_VALUE | 1 | cgc->timeout | 1-s32max |
| PARAM_VALUE | 1 | *cgc->cmd | 0-255 |
| PARAM_VALUE | 2 | page_code | 14 |
| PARAM_VALUE | 3 | page_control | 0 |
| BUF_SIZE | 1 | cgc->buffer | 32 |
| DATA_SOURCE | 0 | cdi | $0 |
| DATA_SOURCE | 1 | cgc | $2 |
| FUZZY_MAX | 1 | cgc->buflen | 32 |
| HARD_MAX | 1 | cgc->buflen | 32 |
| MEM_ZERO | 1 | cgc | |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c mmc_ioctl_cdrom_volume() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->audio_ioctl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->get_mcn | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->lock_door | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->open | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->release | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->tray_move | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 182906272456085504 |
| PARAM_VALUE | 1 | cgc->buffer | 2441074083640410112 |
| PARAM_VALUE | 1 | cgc->buflen | 24-32 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->stat | s32min-0 |
| PARAM_VALUE | 1 | cgc->timeout | 1-s32max |
| PARAM_VALUE | 1 | *cgc->cmd | 0-255 |
| PARAM_VALUE | 2 | page_code | 14 |
| PARAM_VALUE | 3 | page_control | 1 |
| BUF_SIZE | 1 | cgc->buffer | 32 |
| DATA_SOURCE | 0 | cdi | $0 |
| DATA_SOURCE | 1 | cgc | $2 |
| FUZZY_MAX | 1 | cgc->buflen | 32 |
| HARD_MAX | 1 | cgc->buflen | 32 |
| MEM_ZERO | 1 | cgc | |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c mo_open_write() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->host->shost_state | 0-4,8-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->sdev_state | 0-3,5,8-4294967295 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 1059220210155421696 |
| PARAM_VALUE | 1 | cgc->buffer | 3536016254898114560 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->quiet | 1 |
| PARAM_VALUE | 1 | cgc->sshdr | 0 |
| PARAM_VALUE | 1 | cgc->stat | 0 |
| PARAM_VALUE | 1 | cgc->timeout | 1750 |
| PARAM_VALUE | 2 | page_code | 63 |
| PARAM_VALUE | 3 | page_control | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| MEM_ZERO | 1 | cgc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c mo_open_write() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->host->shost_state | 0-4,8-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->sdev_state | 0-3,5,8-4294967295 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->audio_ioctl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->get_mcn | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->lock_door | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->open | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->release | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->tray_move | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 1059220210155421696 |
| PARAM_VALUE | 1 | cgc->buffer | 3536016254898114560 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->quiet | 1 |
| PARAM_VALUE | 1 | cgc->sshdr | 0 |
| PARAM_VALUE | 1 | cgc->stat | s32min-0 |
| PARAM_VALUE | 1 | cgc->timeout | 1-s32max |
| PARAM_VALUE | 2 | page_code | 0 |
| PARAM_VALUE | 3 | page_control | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| MEM_ZERO | 1 | cgc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c mo_open_write() -> cdrom_mode_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->host->shost_state | 0-4,8-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->host->tmf_in_progress | 0 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdi->handle->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->handle->device->sdev_state | 0-3,5,8-4294967295 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->audio_ioctl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->get_mcn | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->lock_door | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->open | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->release | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->tray_move | 4096-ptr_max |
| PARAM_VALUE | 1 | cgc | 1059220210155421696 |
| PARAM_VALUE | 1 | cgc->buffer | 3536016254898114560 |
| PARAM_VALUE | 1 | cgc->buflen | 255 |
| PARAM_VALUE | 1 | cgc->data_direction | 2 |
| PARAM_VALUE | 1 | cgc->quiet | 1 |
| PARAM_VALUE | 1 | cgc->sshdr | 0 |
| PARAM_VALUE | 1 | cgc->stat | s32min-0 |
| PARAM_VALUE | 1 | cgc->timeout | 1-s32max |
| PARAM_VALUE | 2 | page_code | 63 |
| PARAM_VALUE | 3 | page_control | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| MEM_ZERO | 1 | cgc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |