Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vhost/net.c handle_rx() -> vhost_net_disable_vq()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->vqs 4096-ptr_max
PARAM_VALUE 1 vq 4096-ptr_max
PARAM_VALUE 1 vq->mutex.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 vq->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vq->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 vq->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 vq->mutex.wait_lock.owner_cpu u32max
BUF_SIZE 1 vq 18984
CAPPED_DATA 1 &vq->mutex 1
DATA_SOURCE 0 n $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &vq->mutex
TYPE_LOCK (struct vhost_virtqueue)->mutex

drivers/vhost/net.c handle_tx() -> vhost_net_disable_vq()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->vqs 4096-ptr_max
PARAM_VALUE 1 vq 4096-ptr_max
PARAM_VALUE 1 vq->mutex.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 vq->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vq->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 vq->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 vq->mutex.wait_lock.owner_cpu u32max
BUF_SIZE 1 vq 18984
CAPPED_DATA 1 &vq->mutex 1
DATA_SOURCE 0 n $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &vq->mutex
TYPE_LOCK (struct vhost_virtqueue)->mutex

drivers/vhost/net.c vhost_net_set_backend() -> vhost_net_disable_vq()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->dev.mutex.dep_map->name 0-255
PARAM_VALUE 0 n->dev.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 n->dev.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 n->dev.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 n->dev.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 n->dev.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 n->dev.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 n->vqs 4096-ptr_max
PARAM_VALUE 1 vq 4096-ptr_max
PARAM_VALUE 1 vq->mutex.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 vq->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vq->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 vq->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 vq->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vq->umem 1-u64max
BUF_SIZE 0 n s32min-(-2),1-s32max
BUF_SIZE 0 n s32min-(-2),1-s32max
BUF_SIZE 1 vq 18984
CAPPED_DATA 0 n->dev.mm 1
CAPPED_DATA 0 &n->dev.mutex 1
CAPPED_DATA 1 &vq->mutex 1
DATA_SOURCE 0 n $0
NOCHECK_CALL
LOCK2 0 &n->dev.mutex
LOCK2 1 &vq->mutex
TYPE_LOCK (struct vhost_dev)->mutex
TYPE_LOCK (struct vhost_virtqueue)->mutex

drivers/vhost/net.c vhost_net_stop_vq() -> vhost_net_disable_vq()

Type Parameter Key Value
PARAM_VALUE 0 n->vqs 4096-ptr_max
PARAM_VALUE 1 vq 4096-ptr_max
PARAM_VALUE 1 vq->mutex.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 vq->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vq->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 vq->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vq->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 vq->mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 n s32min-(-1),1-s32max
BUF_SIZE 0 n s32min-(-1),1-s32max
CAPPED_DATA 1 &vq->mutex 1
DATA_SOURCE 0 n $0
DATA_SOURCE 1 vq $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &vq->mutex
HALF_LOCKED2 0 &n->dev.mutex
TYPE_LOCK (struct vhost_virtqueue)->mutex