Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/tty_ioctl.c tty_change_softcar() -> (struct tty_operations)->set_termios()
| 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.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->termios_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tty->termios_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tty->termios_rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tty->termios_rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tty->termios_rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | old_termios | 1767035511140073472 |
| CAPPED_DATA | 0 | &tty->termios_rwsem | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| CONTAINER | 0 | -112-32+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &tty->ldisc_sem | ||
| LOCK2 | 0 | &tty->termios_rwsem | |
| TYPE_LOCK | (struct tty_struct)->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |
drivers/tty/tty_ioctl.c tty_set_termios() -> (struct tty_operations)->set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->lookup | 0,1028560029362032640,3174408500077174784 |
| PARAM_VALUE | 0 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 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 |
| PARAM_VALUE | 0 | *tty->termios->c_cc | 0-255 |
| PARAM_VALUE | 1 | old_termios | 3137504346029961216 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| CAPPED_DATA | 0 | &tty->termios_rwsem | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| CONTAINER | 0 | -112-32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->termios.c_cflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_iflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | tty->termios.c_lflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_line | 0-255 |
| USER_DATA | 0 | tty->termios.c_oflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ospeed | 0-u32max |
| LOCK2 | 0 | &tty->termios_rwsem | |
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | 0 | &tty->atomic_write_lock | |
| HALF_LOCKED2 | 0 | &tty->ldisc_sem | |
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |