Defined in 2 files as a function:
- drivers/input/misc/keyspan_remote.c, line 416 (as a function)
- drivers/usb/serial/keyspan.c, line 1580 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/input/input.c input_close_device() -> (struct input_dev)->close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->close | 1-u64max |
| PARAM_VALUE | 0 | port->inhibited | 0 |
| PARAM_VALUE | 0 | port->poller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->poller->work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->ready | 0 |
| PARAM_VALUE | 0 | port->users | 0 |
| CONTAINER | 0 | -512+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &evdev->mutex | ||
| HALF_LOCKED2 | &joydev->mutex | ||
| HALF_LOCKED2 | &mousedev->mutex |
drivers/input/input.c input_inhibit_device() -> (struct input_dev)->close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->close | 1-u64max |
| PARAM_VALUE | 0 | port->going_away | 0 |
| PARAM_VALUE | 0 | port->inhibited | 0 |
| PARAM_VALUE | 0 | port->poller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->poller->work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->ready | 0 |
| PARAM_VALUE | 0 | port->users | 1-u32max |
| DATA_SOURCE | 0 | port | $0 |
| CONTAINER | 0 | -512+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/serial/usb-serial.c serial_port_shutdown() -> (struct usb_serial_driver)->close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |