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_open() -> (struct cdrom_device_ops)->release()
| 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->lockable | 0-1 |
| PARAM_VALUE | 0 | cdi->handle->device->locked | 0-1 |
| 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 |
| DATA_SOURCE | 0 | cdi | $0 |
| CONTAINER | 0 | -8-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c cdrom_release() -> (struct cdrom_device_ops)->release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->audio_ioctl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->capability | 3931135 |
| 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 |
| DATA_SOURCE | 0 | cdi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |