Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/ch.c ch_exchange() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 5447164308413362176 |
| PARAM_VALUE | 2 | cmd_len | 12 |
| PARAM_VALUE | 3 | buffer | 0 |
| PARAM_VALUE | 4 | buflength | 0 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cmd | 12 |
| DATA_SOURCE | 0 | ch | $0 |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_init_elem() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *ch->counts | 0-4294967295 |
| PARAM_VALUE | 0 | *ch->firsts | 0-4294967295 |
| PARAM_VALUE | 1 | cmd | 100594468498259968 |
| PARAM_VALUE | 2 | cmd_len | 6 |
| PARAM_VALUE | 3 | buffer | 0 |
| PARAM_VALUE | 4 | buflength | 0 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cmd | 6 |
| DATA_SOURCE | 0 | ch | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_ioctl() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 1301860646855192576 |
| PARAM_VALUE | 2 | cmd_len | 12 |
| PARAM_VALUE | 3 | buffer | 4096-ptr_max |
| PARAM_VALUE | 4 | buflength | 256 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cmd | 12 |
| BUF_SIZE | 3 | buffer | 512 |
| CAPPED_DATA | 0 | &ch->lock | 1 |
| DATA_SOURCE | 3 | buffer | r _kmalloc_noprof |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_move() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 2134561141637697536 |
| PARAM_VALUE | 2 | cmd_len | 12 |
| PARAM_VALUE | 3 | buffer | 0 |
| PARAM_VALUE | 4 | buflength | 0 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cmd | 12 |
| DATA_SOURCE | 0 | ch | $0 |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_position() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 2617929574179393536 |
| PARAM_VALUE | 2 | cmd_len | 10 |
| PARAM_VALUE | 3 | buffer | 0 |
| PARAM_VALUE | 4 | buflength | 0 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cmd | 10 |
| DATA_SOURCE | 0 | ch | $0 |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_read_element_status() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->counts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 6373266686242459648 |
| PARAM_VALUE | 2 | cmd_len | 12 |
| PARAM_VALUE | 3 | buffer | 4096-ptr_max |
| PARAM_VALUE | 4 | buflength | 256 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch->dt | (-1)-s32max |
| BUF_SIZE | 1 | cmd | 12 |
| BUF_SIZE | 3 | buffer | 512 |
| DATA_SOURCE | 0 | ch | $0 |
| DATA_SOURCE | 3 | buffer | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_readconfig() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-2,5-u32max |
| PARAM_VALUE | 0 | ch->device->type | 8 |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ch->minor | 0-s32max |
| PARAM_VALUE | 0 | ch->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | cmd | 7407074765861580800 |
| PARAM_VALUE | 2 | cmd_len | 10 |
| PARAM_VALUE | 3 | buffer | 4096-ptr_max |
| PARAM_VALUE | 4 | buflength | 255 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | 280 |
| BUF_SIZE | 1 | cmd | 10 |
| BUF_SIZE | 3 | buffer | 512 |
| DATA_SOURCE | 0 | ch | $0 |
| DATA_SOURCE | 3 | buffer | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_readconfig() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ch->minor | 0-s32max |
| PARAM_VALUE | 0 | ch->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | cmd | 7407074765861580800 |
| PARAM_VALUE | 2 | cmd_len | 10 |
| PARAM_VALUE | 3 | buffer | 4096-ptr_max |
| PARAM_VALUE | 4 | buflength | 255 |
| PARAM_VALUE | 5 | op | 34 |
| BUF_SIZE | 0 | ch | 280 |
| BUF_SIZE | 1 | cmd | 10 |
| BUF_SIZE | 3 | buffer | 512 |
| DATA_SOURCE | 0 | ch | $0 |
| DATA_SOURCE | 3 | buffer | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_set_voltag() -> ch_do_scsi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ch->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ch->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ch->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ch->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 921332706491445248 |
| PARAM_VALUE | 2 | cmd_len | 12 |
| PARAM_VALUE | 3 | buffer | 4096-ptr_max |
| PARAM_VALUE | 3 | *buffer | 32 |
| PARAM_VALUE | 4 | buflength | 256 |
| PARAM_VALUE | 5 | op | 35 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cmd | 12 |
| BUF_SIZE | 3 | buffer | 512 |
| DATA_SOURCE | 0 | ch | $0 |
| DATA_SOURCE | 3 | buffer | r _kzalloc_noprof |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |