Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
samples/vfio-mdev/mtty.c mtty_close() -> mtty_disable_files()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
samples/vfio-mdev/mtty.c mtty_state_mutex_unlock() -> mtty_disable_files()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->deferred_reset | 0 |
| PARAM_VALUE | 0 | mdev_state->irq_index | (-1)-1 |
| PARAM_VALUE | 0 | mdev_state->nr_ports | 1-2 |
| PARAM_VALUE | 0 | mdev_state->reset_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->reset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->reset_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->reset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->reset_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->state | 2 |
| CAPPED_DATA | 0 | &mdev_state->reset_mutex | 1 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdev_state->state_mutex | |
| TYPE_LOCK | (struct mdev_state)->state_mutex |
samples/vfio-mdev/mtty.c mtty_step_state() -> mtty_disable_files()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->irq_index | (-1)-1 |
| PARAM_VALUE | 0 | mdev_state->nr_ports | 1-2 |
| PARAM_VALUE | 0 | mdev_state->resuming_migf | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev_state->resuming_migf->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->state | 4 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdev_state->state_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | mdev_state->nr_ports | 1 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdev_state->state_mutex | |
| TYPE_LOCK | (struct mdev_state)->state_mutex |
samples/vfio-mdev/mtty.c mtty_step_state() -> mtty_disable_files()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->irq_index | (-1)-1 |
| PARAM_VALUE | 0 | mdev_state->nr_ports | 1-2 |
| PARAM_VALUE | 0 | mdev_state->state | 3,6-7 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdev_state->state_mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | mdev_state | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdev_state->state_mutex | |
| TYPE_LOCK | (struct mdev_state)->state_mutex |