Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vhost/vhost.c __vhost_worker_flush() -> vhost_worker_queue()

Type Parameter Key Value
PARAM_VALUE 0 worker 4096-ptr_max
PARAM_VALUE 0 worker->attachment_cnt s32min-(-1),1-s32max
PARAM_VALUE 0 worker->killed 0
PARAM_VALUE 0 worker->mutex.dep_map->name 0-255
PARAM_VALUE 0 worker->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 worker->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 worker->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 worker->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 worker->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 worker->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 work 540902417030905856
PARAM_VALUE 1 work->fn 5110351978565459968
BUF_SIZE 0 worker->ops (-1),24
CAPPED_DATA 0 worker 1
DATA_SOURCE 0 worker $0
STR_LEN 0 worker (-1),15
STR_LEN 0 worker (-1),15
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 worker->dev->iov_limit
LOCK2 0 &worker->mutex
HALF_LOCKED2 &vs->dev.mutex
TYPE_LOCK (struct vhost_worker)->mutex

drivers/vhost/vhost.c vhost_attach_task_to_cgroups() -> vhost_worker_queue()

Type Parameter Key Value
PARAM_VALUE 0 worker 4096-ptr_max
PARAM_VALUE 0 worker->dev 4096-ptr_max
PARAM_VALUE 0 worker->dev->iov_limit 0,1024,1088
PARAM_VALUE 0 worker->dev->mm 0-1,4096-ptr_max
PARAM_VALUE 0 worker->dev->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 worker->dev->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 worker->dev->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 worker->dev->use_worker 1
PARAM_VALUE 0 worker->kthread_task 4096-ptr_max
PARAM_VALUE 0 worker->mutex.dep_map->name 0-255
PARAM_VALUE 0 worker->mutex.first_waiter 0
PARAM_VALUE 0 worker->mutex.magic 4096-ptr_max
PARAM_VALUE 0 worker->mutex.osq.tail.counter 0
PARAM_VALUE 0 worker->mutex.owner.counter 0
PARAM_VALUE 0 worker->ops 60132907470860288,3926607679146508288
PARAM_VALUE 0 worker->work_list.first 0
PARAM_VALUE 1 work 4808285728409743360
PARAM_VALUE 1 work->fn 6129687904709902336
BUF_SIZE 0 worker 216
BUF_SIZE 0 worker->ops 24
CAPPED_DATA 0 worker 1
DATA_SOURCE 0 worker $0
STR_LEN 0 worker 15
STR_LEN 0 worker 15
BIT_INFO 0 worker->ops 0x5400810d180000,0x36ffbeefcfddf000
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 worker->dev->iov_limit
HALF_LOCKED2 &vs->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vhost/vhost.c vhost_vq_work_queue() -> vhost_worker_queue()

Type Parameter Key Value
PARAM_VALUE 0 worker 1-u64max
PARAM_VALUE 1 work 4096-ptr_max
DATA_SOURCE 1 work $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 &vsock->dev.mutex