Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/virtio_console.c port_fops_poll() -> will_write_block()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->guest_connected 1
PARAM_VALUE 0 port->host_connected 1
PARAM_VALUE 0 port->inbuf 0
PARAM_VALUE 0 port->inbuf->len 0-u32max
PARAM_VALUE 0 port->inbuf->offset 0
PARAM_VALUE 0 port->inbuf_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->waitqueue.head.next->next 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.next->prev 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 port->inbuf->dma 0-u64max
HOST_DATA 0 port->inbuf->len 0-u32max[c]
HOST_DATA 0 port->inbuf->sgpages 0-u32max
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

drivers/char/virtio_console.c wait_port_writable() -> will_write_block()

Type Parameter Key Value
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING

drivers/char/virtio_console.c wait_port_writable() -> will_write_block()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->guest_connected 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING

drivers/char/virtio_console.c wait_port_writable() -> will_write_block()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->guest_connected 1
PARAM_VALUE 0 port->waitqueue.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING

drivers/char/virtio_console.c wait_port_writable() -> will_write_block()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->guest_connected 1
PARAM_VALUE 0 port->waitqueue.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING