Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cdrom/cdrom.c cdrom_get_last_written() -> cdrom_get_disc_info()
| 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->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 | di | 2366079161951195136 |
| DATA_SOURCE | 0 | cdi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cd->lock |
drivers/cdrom/cdrom.c cdrom_get_next_writable() -> cdrom_get_disc_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | di | 4707246167402037248 |
| DATA_SOURCE | 0 | cdi | $0 |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c cdrom_media_erasable() -> cdrom_get_disc_info()
| 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 | di | 3741770305398190080 |
| DATA_SOURCE | 0 | cdi | $0 |
| 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 cdrom_mrw_exit() -> cdrom_get_disc_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->use_count | 0 |
| PARAM_VALUE | 1 | di | 7349873624599478272 |
| DATA_SOURCE | 0 | cdi | $0 |
| 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 cdrom_mrw_open_write() -> cdrom_get_disc_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->handle->device->changed | 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->generic_packet | 4096-ptr_max |
| PARAM_VALUE | 0 | *cdi->handle->device->request_queue->q_lockdep_map.name | 0-255 |
| PARAM_VALUE | 1 | di | 7308301344559050752 |
| DATA_SOURCE | 0 | cdi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |