Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/n_tty.c n_tty_poll() -> input_available_p()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | poll | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_tty.c n_tty_poll() -> input_available_p()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->disc_data | 4096-ptr_max |
| PARAM_VALUE | 1 | poll | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_tty.c n_tty_read() -> input_available_p()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->disc_data | 4096-ptr_max |
| PARAM_VALUE | 1 | poll | 0 |
| CAPPED_DATA | 0 | tty | 1 |
| CAPPED_DATA | 0 | &tty->termios_rwsem | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ldata->atomic_read_lock | ||
| LOCK2 | 0 | &tty->ldisc_sem | |
| LOCK2 | 0 | &tty->termios_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct n_tty_data)->atomic_read_lock | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |
drivers/tty/n_tty.c n_tty_read() -> input_available_p()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->disc_data | 4096-ptr_max |
| PARAM_VALUE | 1 | poll | 0 |
| CAPPED_DATA | 0 | tty | 1 |
| CAPPED_DATA | 0 | &tty->termios_rwsem | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ldata->atomic_read_lock | ||
| LOCK2 | 0 | &tty->ldisc_sem | |
| LOCK2 | 0 | &tty->termios_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct n_tty_data)->atomic_read_lock | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |