Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/hvc/hvc_console.c __hvc_poll() -> hvc_push()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hp | 4096-ptr_max |
| PARAM_VALUE | 0 | hp->n_outbuf | 1-s32max |
| DATA_SOURCE | 0 | hp | $0 |
| FUZZY_MAX | 0 | hp->n_outbuf | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hp->n_outbuf | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &hp->lock | |
| HALF_LOCKED2 | global &hvc_structs_mutex | ||
| TYPE_LOCK | (struct hvc_struct)->lock |
drivers/tty/hvc/hvc_console.c hvc_write() -> hvc_push()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hp | 4096-ptr_max |
| PARAM_VALUE | 0 | hp->n_outbuf | 1-s32max |
| PARAM_VALUE | 0 | hp->ops->put_chars | 4096-ptr_max |
| PARAM_VALUE | 0 | hp->port.count | 1-s32max |
| BUF_SIZE | 0 | hp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hp | s32min-(-2),1-s32max |
| FUZZY_MAX | 0 | hp->port.count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hp->n_outbuf | 1-s32max[c] |
| USER_DATA | 0 | hp->n_outbuf | 1-s32max[c][u] |
| UNITS | 0 | hp | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &hp->lock | |
| HALF_LOCKED2 | &ap->xmit_lock | ||
| HALF_LOCKED2 | &component->io_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &elm->lock | ||
| HALF_LOCKED2 | &gsm->tx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sl->lock | ||
| HALF_LOCKED2 | &tty->atomic_write_lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct hvc_struct)->lock |