Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vhost/net.c vhost_net_ioctl() -> vhost_net_flush()

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
BUF_SIZE 0 n s32min-(-2),1-s32max
BUF_SIZE 0 n s32min-(-2),1-s32max
CAPPED_DATA 0 n->dev.mm 1
CAPPED_DATA 0 &n->dev.mutex 1
NOCHECK_CALL
USER_DATA 0 n->dev.fork_owner 0[c]
NO_OVERFLOW_SIMPLE 0 n->dev.iov_limit
LOCK2 0 &n->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vhost/net.c vhost_net_release() -> vhost_net_flush()

Type Parameter Key Value
BUF_SIZE 0 n (-1),26
BUF_SIZE 0 n (-1),26
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/vhost/net.c vhost_net_release() -> vhost_net_flush()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->dev->mm->exe_file->f_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 n->dev.iotlb 0
PARAM_VALUE 0 n->dev.iotlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 n->dev.log_ctx 0
PARAM_VALUE 0 n->dev.mm 0
PARAM_VALUE 0 n->dev.umem 0
PARAM_VALUE 0 n->dev.worker_xa.xa_head 0
PARAM_VALUE 0 n->dev.worker_xa.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 n->tx_flush 0
BUF_SIZE 0 n (-1),26
BUF_SIZE 0 n (-1),26
CAPPED_DATA 0 n->dev.nvqs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/vhost/net.c vhost_net_reset_owner() -> vhost_net_flush()

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
BUF_SIZE 0 n s32min-(-2),1-s32max
BUF_SIZE 0 n s32min-(-2),1-s32max
CAPPED_DATA 0 n->dev.mm 1
CAPPED_DATA 0 &n->dev.mutex 1
DATA_SOURCE 0 n $0
NOCHECK_CALL
LOCK2 0 &n->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vhost/net.c vhost_net_set_owner() -> vhost_net_flush()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->dev.mm 0,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
BUF_SIZE 0 n s32min-(-2),1-s32max
BUF_SIZE 0 n s32min-(-2),1-s32max
CAPPED_DATA 0 &n->dev.mutex 1
DATA_SOURCE 0 n $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 n->dev.iov_limit
LOCK2 0 &n->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex