Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/virtio_console.c add_port() -> init_port_console()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->async_queue 0
PARAM_VALUE 0 port->cdev 4096-ptr_max
PARAM_VALUE 0 port->cdev->count 1
PARAM_VALUE 0 port->cdev->dev 1-u32max
PARAM_VALUE 0 port->cdev->kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 port->cdev->kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 port->cdev->kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 port->cdev->kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 port->cdev->kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->cdev->kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 port->cdev->kobj.ktype 5171966442834808832
PARAM_VALUE 0 port->cdev->kobj.parent 0,4096-ptr_max
PARAM_VALUE 0 port->cdev->kobj.state_add_uevent_sent 0
PARAM_VALUE 0 port->cdev->kobj.state_in_sysfs 0
PARAM_VALUE 0 port->cdev->kobj.state_initialized 1
PARAM_VALUE 0 port->cdev->list.next 4096-ptr_max
PARAM_VALUE 0 port->cdev->list.next->next 4096-ptr_max
PARAM_VALUE 0 port->cdev->list.prev 4096-ptr_max
PARAM_VALUE 0 port->cdev->list.prev->next 4096-ptr_max
PARAM_VALUE 0 port->cdev->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->cdev->ops 3198231408494862336
PARAM_VALUE 0 port->cons.hvc 0
PARAM_VALUE 0 port->cons.vtermno 0
PARAM_VALUE 0 port->cons.ws.ws_col 0
PARAM_VALUE 0 port->cons.ws.ws_row 0
PARAM_VALUE 0 port->dev 4096-ptr_max
PARAM_VALUE 0 port->dev->devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 port->dev->dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->flags 4096-ptr_max
PARAM_VALUE 0 port->dev->fwnode->dev 4096-ptr_max
PARAM_VALUE 0 port->dev->fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 port->dev->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 port->dev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 port->dev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 port->dev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 port->dev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 port->dev->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 port->dev->kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 port->dev->links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->p->klist_children.get 2213798222526185472
PARAM_VALUE 0 port->dev->p->klist_children.put 3126867300421632000
PARAM_VALUE 0 port->dev->p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev->p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev->p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev->parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 port->dev->parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 port->dev->parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 port->dev->power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev->power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev->power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->guest_connected 0
PARAM_VALUE 0 port->host_connected 0
PARAM_VALUE 0 port->id 0-4294967294
PARAM_VALUE 0 port->in_vq 4096-ptr_max
PARAM_VALUE 0 port->inbuf 0
PARAM_VALUE 0 port->inbuf_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->kref.refcount.refs.counter 1
PARAM_VALUE 0 port->name 0
PARAM_VALUE 0 port->outvq_full 0
PARAM_VALUE 0 port->portdev 4096-ptr_max
PARAM_VALUE 0 port->portdev->in_vqs 4096-ptr_max
PARAM_VALUE 0 port->portdev->out_vqs 4096-ptr_max
PARAM_VALUE 0 port->portdev->vdev 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.next 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.next->next 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.prev 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 port->waitqueue.head.prev->prev 4096-ptr_max
BUF_SIZE 0 port 400
BUF_SIZE 0 port->cdev 288
BUF_SIZE 0 port->cdev->ops 272
BUF_SIZE 0 port->dev 1616
BUF_SIZE 0 port->portdev (-1),472
CAPPED_DATA 0 port->dev 1
DATA_SOURCE 0 port r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 port->cdev->kobj.parent->kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 port->id 0-4294967294
HOST_DATA 0 port->portdev->max_nr_ports 0-u32max
NO_OVERFLOW_SIMPLE 0 port->cdev->count

drivers/char/virtio_console.c handle_control_message() -> init_port_console()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->cons.hvc 0
DATA_SOURCE 0 port r find_port_by_id
NOCHECK_CALL
HALF_LOCKED2 &pool->lock