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_ioctl_closetray() -> (struct cdrom_device_ops)->tray_move()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| CONTAINER | 0 | -32-0+0 | $(-1) |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c cdrom_ioctl_eject() -> (struct cdrom_device_ops)->tray_move()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->keeplocked | 0 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->use_count | 1 |
| PARAM_VALUE | 1 | pos | 1 |
| DATA_SOURCE | 0 | cdi | $0 |
| CONTAINER | 0 | -32-0+0 | $(-1) |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c cdrom_release() -> (struct cdrom_device_ops)->tray_move()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->opened_for_data | 1 |
| 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 |
| PARAM_VALUE | 0 | cdi->options | 2-1073741823 |
| PARAM_VALUE | 0 | cdi->use_count | 0 |
| PARAM_VALUE | 1 | pos | 1 |
| DATA_SOURCE | 0 | cdi | $0 |
| BIT_INFO | 0 | cdi->options | 0x2,0x3fffffff |
| 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 check_for_audio_disc() -> (struct cdrom_device_ops)->tray_move()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->cdda_method | 0-2 |
| PARAM_VALUE | 0 | cdi->disk->queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdi->last_sense | 0-15 |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->options | 16-1073741823 |
| PARAM_VALUE | 1 | pos | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| BIT_INFO | 0 | cdi->options | 0x11,0x3fffffff |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
drivers/cdrom/cdrom.c open_for_data() -> (struct cdrom_device_ops)->tray_move()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdi | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdi->ops->drive_status | 3747470240396001280 |
| PARAM_VALUE | 0 | cdi->options | 1-1073741823 |
| PARAM_VALUE | 1 | pos | 0 |
| DATA_SOURCE | 0 | cdi | $0 |
| BIT_INFO | 0 | cdi->options | 0x1,0x3fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->lock | ||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex | ||
| TYPE_LOCK | (struct scsi_cd)->lock |