Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/ipack/devices/ipoctal.c
- drivers/tty/mips_ejtag_fdc.c
- drivers/tty/mxser.c
- drivers/tty/tty_port.c, line 266
Smatch caller information:
drivers/ipack/devices/ipoctal.c __ipoctal_remove() -> tty_port_free_xmit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/ipack/devices/ipoctal.c ipoctal_inst_slot() -> tty_port_free_xmit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->buf.head | 256 |
| PARAM_VALUE | 0 | port->buf.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | port->buf.mem_limit | 655360 |
| PARAM_VALUE | 0 | port->buf.sentinel.flags | 1 |
| PARAM_VALUE | 0 | port->buf.tail | 256 |
| PARAM_VALUE | 0 | port->buf_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | port->client_ops | 6331571049099714560 |
| PARAM_VALUE | 0 | port->close_delay | 125 |
| PARAM_VALUE | 0 | port->closing_wait | 7500 |
| PARAM_VALUE | 0 | port->console | 0 |
| PARAM_VALUE | 0 | port->count | 0 |
| PARAM_VALUE | 0 | port->delta_msr_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->delta_msr_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->flags | 0 |
| PARAM_VALUE | 0 | port->iflags | 0 |
| PARAM_VALUE | 0 | port->itty | 0 |
| PARAM_VALUE | 0 | port->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | port->open_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->open_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4431124432647593984 |
| PARAM_VALUE | 0 | port->tty | 0 |
| PARAM_VALUE | 0 | port->xmit_buf | 18379471554275704832,18446612682070032384 |
| MEM_ZERO | 0 | port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/mxser.c mxser_activate() -> tty_port_free_xmit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->activate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->xmit_buf | 1-u64max |
| BUF_SIZE | 0 | port | (-1),984 |
| BUF_SIZE | 0 | port | (-1),984 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | port->closing_wait | 0-65534[c] |
| USER_DATA | 0 | port->flags | 0-u32max[c] |
| LOCK2 | _T->lock |
drivers/tty/mxser.c mxser_shutdown_port() -> tty_port_free_xmit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->console | 0 |
| PARAM_VALUE | 0 | port->count | 0 |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->dtr_rts | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->shutdown | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |