Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- arch/um/drivers/chan_kern.c, line 589
- drivers/net/usb/hso.c, line 2009
- drivers/tty/ehv_bytechan.c, line 363
- drivers/tty/hvc/hvc_console.c, line 677
- drivers/tty/hvc/hvcs.c, line 579
- drivers/tty/serial/cpm_uart.c, line 264
- drivers/tty/serial/jsm/jsm_tty.c, line 587
- drivers/tty/serial/men_z135_uart.c, line 263
- drivers/tty/serial/pch_uart.c, line 615
- drivers/tty/serial/rsci.c, line 491
- drivers/tty/serial/sh-sci.c, line 1085
- drivers/tty/serial/ucc_uart.c, line 478
- drivers/tty/tty_buffer.c, line 305
- drivers/tty/vcc.c, line 286
Smatch caller information:
drivers/tty/serial/sh-sci.c sci_receive_chars() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u16max |
| BUF_SIZE | 0 | port | 984 |
| CAPPED_DATA | 1 | size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | size | 0-u16max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/tty/serial/ucc_uart.c qe_uart_int_rx() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u16max |
| BUF_SIZE | 0 | port | 984 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 1 | size | r ioread16be |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->buf.tail->next->size | 0,256-u32max[c] |
| HOST_DATA | 0 | port->buf.tail->size | 0,256-u32max[c] |
| HOST_DATA | 1 | size | 0-u16max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/tty/serial/jsm/jsm_tty.c jsm_input() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tty | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tty->termios.c_cflag | 128-u32max |
| PARAM_VALUE | 1 | size | 1-8191 |
| BUF_SIZE | 0 | port | 984 |
| CAPPED_DATA | 1 | size | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | size | 1-8191[c] |
| LOCK2 | &brd->bd_intr_lock | ||
| LOCK2 | &ch->ch_lock | ||
| LOCK2 | lock_flags | ||
| LOCK2 | lock_flags | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct jsm_board)->bd_intr_lock | ||
| TYPE_LOCK | (struct jsm_channel)->ch_lock |
drivers/tty/hvc/hvc_console.c __hvc_poll() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tty | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hp->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &hvc_structs_mutex | ||
| TYPE_LOCK | (struct hvc_struct)->lock |
drivers/tty/serial/pch_uart.c dma_push_rx() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | port | 984 |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bdma_chan->lock | ||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/tty/serial/men_z135_uart.c men_z135_handle_rx() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-1020 |
| BUF_SIZE | 0 | port | 984 |
| FUZZY_MAX | 1 | size | 1020 |
| HARD_MAX | 1 | size | 1020 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | size | 1-1020 |
| LOCK2 | &port->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/rsci.c rsci_receive_chars() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/net/usb/hso.c put_rxbuf_data() -> tty_buffer_request_room()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tty | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &serial->serial_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct hso_serial)->serial_lock |