Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vhost/vhost.c vhost_free_worker() -> vhost_worker_destroy()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mm 1
PARAM_VALUE 0 dev->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->use_worker 1
PARAM_VALUE 1 worker 4096-ptr_max
PARAM_VALUE 1 worker->attachment_cnt 0
PARAM_VALUE 1 worker->killed 0
PARAM_VALUE 1 worker->mutex.dep_map->name 0-255
PARAM_VALUE 1 worker->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 worker->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 worker->mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 worker->mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 worker->mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 worker->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 worker->mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 worker->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 worker->mutex.wait_lock.dep_map->name 0-255
CAPPED_DATA 1 worker->id 1
CAPPED_DATA 1 &worker->mutex 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 worker r xa_find
NOCHECK_CALL
LOCK2 &vs->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vhost/vhost.c vhost_workers_free() -> vhost_worker_destroy()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->iotlb 0
PARAM_VALUE 0 dev->iotlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->log_ctx 0
PARAM_VALUE 0 dev->umem 0
PARAM_VALUE 0 dev->use_worker 1
PARAM_VALUE 0 dev->wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 worker 1-u64max
CAPPED_DATA 0 dev->nvqs 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &dev->mutex