Defined in 4 files as a function:
- drivers/staging/greybus/uart.c, line 593 (as a function)
- drivers/tty/amiserial.c, line 892 (as a function)
- drivers/usb/class/cdc-acm.c, line 984 (as a function)
- drivers/usb/serial/ftdi_sio.c, line 1429 (as a function)
Referenced in 4 files:
- drivers/staging/greybus/uart.c, line 794
- drivers/tty/amiserial.c, line 1451
- drivers/usb/class/cdc-acm.c, line 2130
- drivers/usb/serial/ftdi_sio.c, line 2864
Smatch caller information:
drivers/tty/tty_io.c compat_tty_tiocgserial() -> (struct tty_operations)->get_serial()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->get_serial | 1330961132715589632,4039553157414182912,4811237459575484416,4871069280902643712,5552263133363023872,6182381990465540096 |
| PARAM_VALUE | 1 | ss | 1035883514287894528 |
| DATA_SOURCE | 0 | tty | $0 |
| CONTAINER | 0 | -240-32+0 | $(-1) |
| MEM_ZERO | 1 | ss |
drivers/tty/tty_io.c tty_tiocgserial() -> (struct tty_operations)->get_serial()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 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->get_serial | 1330961132715589632,4039553157414182912,4811237459575484416,4871069280902643712,5552263133363023872,6182381990465540096 |
| PARAM_VALUE | 1 | ss | 8536478515682877440 |
| CAPPED_DATA | 0 | tty | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| CONTAINER | 0 | -240-32+0 | $(-1) |
| MEM_ZERO | 1 | ss |
drivers/usb/serial/usb-serial.c serial_get_serial() -> (struct usb_serial_driver)->get_serial()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->get_serial | 1330961132715589632,4039553157414182912,4811237459575484416,4871069280902643712,5552263133363023872,6182381990465540096 |
| PARAM_VALUE | 1 | ss | 1035883514287894528,8536478515682877440 |
| CAPPED_DATA | 0 | tty | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 1 | ss | $1 |
| MEM_ZERO | 1 | ss | |
| NOCHECK_CALL | |||
| LOCK2 | &tport->mutex | ||
| TYPE_LOCK | (struct tty_port)->mutex |