Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/tty_io.c tiocsti() -> (struct tty_ldisc_ops)->receive_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->port->buf.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tty->port->buf.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->port->buf.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tty->port->buf.lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | tty->port->buf.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | buf | 1291436346772025344 |
| PARAM_VALUE | 2 | cflags | 0 |
| PARAM_VALUE | 3 | count | 1 |
| CAPPED_DATA | 0 | tty | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | *buf | 0-255 |
| USER_PTR | 1 | buf | |
| LOCK2 | 0 | &tty->ldisc_sem | |
| LOCK2 | 0 | &tty->port->buf.lock | |
| TYPE_LOCK | (struct tty_bufhead)->lock | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_buffer.c tty_ldisc_receive_buf() -> (struct tty_ldisc_ops)->receive_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-u32max |
| BUF_SIZE | 1 | buf | (-1),7 |
| BUF_SIZE | 1 | buf | (-1),7 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | cflags | $2 |
| DATA_SOURCE | 3 | count | $3 [m] |
| STR_LEN | 0 | tty | (-1),6 |
| STR_LEN | 1 | buf | (-1),6 |
| CONTAINER | 0 | *(-96-0+8) | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &buf->lock | ||
| HALF_LOCKED2 | &vc->port.buf.lock | ||
| HALF_LOCKED2 | global &vc_sel.lock | ||
| TYPE_LOCK | (struct tty_bufhead)->lock | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
sound/soc/ti/ams-delta.c cx81801_receive() -> (struct tty_ldisc_ops)->receive_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->disc_data | 7329980528054927360 |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->wait_until_sent | 0,2578158375326154752,2614800216018440192,6874988682411192320,7074827580452507648,7916194843820081152 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | buf | (-1),7 |
| BUF_SIZE | 1 | buf | (-1),7 |
| CAPPED_DATA | 0 | tty | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | cflags | $2 |
| DATA_SOURCE | 3 | count | $3 |
| STR_LEN | 0 | tty | (-1),6 |
| STR_LEN | 0 | tty | (-1),6 |
| STR_LEN | 1 | buf | (-1),6 |
| STR_LEN | 1 | buf | (-1),6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | *buf | 0-255 |
| USER_PTR | 0 | tty->disc_data->priv->rx_skb->data | |
| USER_PTR | 1 | buf | |
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | 0 | &tty->port->buf.lock |
sound/soc/ti/ams-delta.c cx81801_receive() -> (struct tty_ldisc_ops)->receive_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->disc_data | 7329980528054927360 |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->wait_until_sent | 0,2578158375326154752,2614800216018440192,6874988682411192320,7074827580452507648,7916194843820081152 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | buf | (-1),7 |
| BUF_SIZE | 1 | buf | (-1),7 |
| CAPPED_DATA | 0 | tty | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | cflags | $2 |
| DATA_SOURCE | 3 | count | $3 |
| STR_LEN | 0 | tty | (-1),6 |
| STR_LEN | 0 | tty | (-1),6 |
| STR_LEN | 1 | buf | (-1),6 |
| STR_LEN | 1 | buf | (-1),6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | *buf | 0-255 |
| USER_PTR | 0 | tty->disc_data->priv->rx_skb->data | |
| USER_PTR | 1 | buf | |
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | 0 | &tty->port->buf.lock |