Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/tty_audit.c tty_audit_buf_get() -> tty_audit_buf_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->data | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | buf->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | buf->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | buf->mutex.owner.counter | 0 |
| BUF_SIZE | 0 | buf | 176 |
| DATA_SOURCE | 0 | buf | r tty_audit_buf_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &ldata->atomic_read_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_audit.c tty_audit_exit() -> tty_audit_buf_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->valid | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &system_transition_mutex |