Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

samples/vfio-mdev/mtty.c mtty_get_state() -> mtty_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 0 mdev_state->state 1-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.first_waiter->task->blocked_on 0
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->state_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &mdev_state->state_mutex
HALF_LOCKED2 &seq->lock
TYPE_LOCK (struct mdev_state)->state_mutex

samples/vfio-mdev/mtty.c mtty_precopy_ioctl() -> mtty_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 0 mdev_state->state 1-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.first_waiter->task->blocked_on 0
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->state_mutex 1
NOCHECK_CALL
LOCK2 0 &mdev_state->state_mutex
TYPE_LOCK (struct mdev_state)->state_mutex

samples/vfio-mdev/mtty.c mtty_reset() -> mtty_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 0 mdev_state->deferred_reset 1
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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mdev_state->reset_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mdev_state->reset_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mdev_state->reset_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mdev_state->reset_mutex.first_waiter->task->usage.refs.counter s32min-s32max
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
CAPPED_DATA 0 &mdev_state->reset_mutex 1
CAPPED_DATA 0 &mdev_state->state_mutex 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_set_state() -> mtty_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 0 mdev_state->state 1-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.first_waiter->task->blocked_on 0
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->state 1
CAPPED_DATA 0 &mdev_state->state_mutex 1
NOCHECK_CALL
LOCK2 0 &mdev_state->state_mutex
TYPE_LOCK (struct mdev_state)->state_mutex