Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vhost/scsi.c vhost_scsi_flush() -> vhost_scsi_init_inflight()

Type Parameter Key Value
PARAM_VALUE 0 vs 4096-ptr_max
PARAM_VALUE 0 vs->dev.mutex.dep_map->name 0-255
PARAM_VALUE 0 vs->dev.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vs->dev.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vs->dev.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 vs->dev.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 vs->dev.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 vs->dev.mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 vs s32min-(-1),1-s32max
BUF_SIZE 0 vs s32min-(-1),1-s32max
DATA_SOURCE 0 vs $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vs->dev.fork_owner 0[c]
NO_OVERFLOW_SIMPLE 0 vs->dev.iov_limit
USER_PTR 0 vs->vs_vhost_wwpn
LOCK2 0 &vs->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vhost/scsi.c vhost_scsi_open() -> vhost_scsi_init_inflight()

Type Parameter Key Value
PARAM_VALUE 0 vs 4096-ptr_max
PARAM_VALUE 0 vs->dev.byte_weight 0
PARAM_VALUE 0 vs->dev.fork_owner 1
PARAM_VALUE 0 vs->dev.iotlb 0
PARAM_VALUE 0 vs->dev.iov_limit 1024
PARAM_VALUE 0 vs->dev.log_ctx 0
PARAM_VALUE 0 vs->dev.mm 0
PARAM_VALUE 0 vs->dev.msg_handler 0
PARAM_VALUE 0 vs->dev.nvqs (-2147483646)-1,3-1026
PARAM_VALUE 0 vs->dev.pending_list.next 4096-ptr_max
PARAM_VALUE 0 vs->dev.pending_list.next->next 4096-ptr_max
PARAM_VALUE 0 vs->dev.pending_list.prev 4096-ptr_max
PARAM_VALUE 0 vs->dev.pending_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vs->dev.pending_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 vs->dev.read_list.next 4096-ptr_max
PARAM_VALUE 0 vs->dev.read_list.next->next 4096-ptr_max
PARAM_VALUE 0 vs->dev.read_list.prev 4096-ptr_max
PARAM_VALUE 0 vs->dev.read_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vs->dev.read_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 vs->dev.umem 0
PARAM_VALUE 0 vs->dev.use_worker 1
PARAM_VALUE 0 vs->dev.vqs 4096-ptr_max
PARAM_VALUE 0 vs->dev.wait.head.next 4096-ptr_max
PARAM_VALUE 0 vs->dev.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 vs->dev.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 vs->dev.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 vs->dev.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 vs->dev.weight 256
PARAM_VALUE 0 vs->dev.worker_xa.xa_flags 33554436
PARAM_VALUE 0 vs->dev.worker_xa.xa_head 0
PARAM_VALUE 0 vs->inline_sg_cnt 0-2048
PARAM_VALUE 0 vs->old_inflight 16,4096-ptr_max
PARAM_VALUE 0 vs->vqs 4096-ptr_max
PARAM_VALUE 0 vs->vs_event_work.fn 7166855422933217280
PARAM_VALUE 0 vs->vs_events_missed 0
PARAM_VALUE 0 vs->vs_events_nr 0
BUF_SIZE 0 vs 808
BUF_SIZE 0 vs->old_inflight 0-u64max
BUF_SIZE 0 vs->vqs 0-u64max
DATA_SOURCE 0 vs r __kvmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vs->dev.nvqs