Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/char/virtio_console.c get_chars() -> fill_readbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->in_vq | 1-u64max |
| PARAM_VALUE | 1 | out_buf | 1073854844030898176,7619971954713092096 |
| PARAM_VALUE | 2 | out_count | 1-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | to_user | 0 |
| BUF_SIZE | 1 | out_buf | (-1),16 |
| BUF_SIZE | 1 | out_buf | (-1),16 |
| DATA_SOURCE | 0 | port | r find_port_by_vtermno |
| DATA_SOURCE | 1 | out_buf | $1 |
| DATA_SOURCE | 2 | out_count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hp->lock | ||
| HALF_LOCKED2 | flags |
drivers/char/virtio_console.c port_fops_read() -> fill_readbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->guest_connected | 1 |
| 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 | 2 | out_count | 0-1000000000,2147479552 |
| PARAM_VALUE | 3 | to_user | 1 |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | out_buf | 1 |
| DATA_SOURCE | 1 | out_buf | $1 |
| DATA_SOURCE | 2 | out_count | $2 |
| FUZZY_MAX | 2 | out_count | 2147479552 |
| 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 |
| HOST_DATA | 0 | port->inbuf->size | 0-u64max |
| USER_DATA | 1 | out_buf | 0-u64max[c] |
| USER_DATA | 2 | out_count | 0-1000000000 |