Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/hid/hid-appletb-kbd.c, line 297
- drivers/input/apm-power.c, line 71
- drivers/input/evdev.c, line 396
- drivers/input/input-leds.c, line 119
- drivers/input/input.c, line 677
- drivers/input/joydev.c, line 207
- drivers/input/mousedev.c, line 430
- drivers/leds/trigger/ledtrig-input-events.c, line 90
- drivers/macintosh/mac_hid.c, line 121
- drivers/tty/sysrq.c, line 993
- drivers/tty/vt/keyboard.c, line 1640
- net/rfkill/input.c, line 237
- sound/usb/mixer_quirks.c, line 625
Smatch caller information:
drivers/hid/hid-appletb-kbd.c appletb_kbd_inp_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->connect | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->event | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->events | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->filter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->id_table | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->match | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->name | 7545645122083262464,8482588060065034240 |
| PARAM_VALUE | 0 | handle->open | 0 |
| BUF_SIZE | 0 | handle | 80 |
| BUF_SIZE | 0 | handle->name | 6 |
| BUF_SIZE | 0 | handle->private | (-1),568 |
| STR_LEN | 0 | handle->handler->name | (-1),7 |
| STR_LEN | 0 | handle->name | 5 |
| BIT_INFO | 0 | handle->name | 0x60b0044080241000,0x7dbfb4e7eeeff000 |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/mousedev.c mousedev_open_device() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mousedev->mutex | ||
| HALF_LOCKED2 | &mixdev->mutex | ||
| HALF_LOCKED2 | global &mousedev_mix->mutex | ||
| TYPE_LOCK | (struct mousedev)->mutex |
drivers/macintosh/mac_hid.c mac_hid_emumouse_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 4391647983224229888 |
| PARAM_VALUE | 0 | handle->handler->connect | 6277949975982542848 |
| PARAM_VALUE | 0 | handle->handler->disconnect | 1817412717129273344 |
| PARAM_VALUE | 0 | handle->handler->event | 0 |
| PARAM_VALUE | 0 | handle->handler->events | 0 |
| PARAM_VALUE | 0 | handle->handler->filter | 7547558260338642944 |
| PARAM_VALUE | 0 | handle->handler->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->id_table | 8739381170375880704 |
| PARAM_VALUE | 0 | handle->handler->match | 0 |
| PARAM_VALUE | 0 | handle->handler->minor | 0 |
| PARAM_VALUE | 0 | handle->handler->name | 6081733227193257984 |
| PARAM_VALUE | 0 | handle->handler->passive_observer | 0 |
| PARAM_VALUE | 0 | handle->handler->private | 0 |
| PARAM_VALUE | 0 | handle->handler->start | 0 |
| PARAM_VALUE | 0 | handle->name | 6081733227193257984 |
| BUF_SIZE | 0 | handle | 80 |
| BUF_SIZE | 0 | handle->name | 16 |
| DATA_SOURCE | 0 | handle | r _kzalloc_noprof |
| STR_LEN | 0 | handle->handler->name | (-1),7 |
| STR_LEN | 0 | handle->name | 15 |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | handle->dev->max_vals |
net/rfkill/input.c rfkill_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 3220584258310348800 |
| PARAM_VALUE | 0 | handle->handler->connect | 5411217142329348096 |
| PARAM_VALUE | 0 | handle->handler->disconnect | 2844744541762863104 |
| PARAM_VALUE | 0 | handle->handler->event | 3887652916728365056 |
| PARAM_VALUE | 0 | handle->handler->events | 0 |
| PARAM_VALUE | 0 | handle->handler->filter | 0 |
| PARAM_VALUE | 0 | handle->handler->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->id_table | 3002108205205602304 |
| PARAM_VALUE | 0 | handle->handler->match | 0 |
| PARAM_VALUE | 0 | handle->handler->minor | 0 |
| PARAM_VALUE | 0 | handle->handler->name | 8052105949578743808 |
| PARAM_VALUE | 0 | handle->handler->passive_observer | 0 |
| PARAM_VALUE | 0 | handle->handler->private | 0 |
| PARAM_VALUE | 0 | handle->handler->start | 9000272853338726400 |
| PARAM_VALUE | 0 | handle->name | 8052105949578743808 |
| BUF_SIZE | 0 | handle | 80 |
| BUF_SIZE | 0 | handle->name | 7 |
| DATA_SOURCE | 0 | handle | r _kzalloc_noprof |
| STR_LEN | 0 | handle->handler->name | (-1),7 |
| STR_LEN | 0 | handle->name | 6 |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | handle->dev->max_vals |
drivers/tty/vt/keyboard.c kbd_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 7204798941792964608 |
| PARAM_VALUE | 0 | handle->handler->connect | 5538648956382486528 |
| PARAM_VALUE | 0 | handle->handler->disconnect | 1899796404815024128 |
| PARAM_VALUE | 0 | handle->handler->event | 7180969639249035264 |
| PARAM_VALUE | 0 | handle->handler->events | 0 |
| PARAM_VALUE | 0 | handle->handler->filter | 0 |
| PARAM_VALUE | 0 | handle->handler->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->id_table | 5564225464989134848 |
| PARAM_VALUE | 0 | handle->handler->match | 2905769209433546752 |
| PARAM_VALUE | 0 | handle->handler->minor | 0 |
| PARAM_VALUE | 0 | handle->handler->name | 5777956970160488448 |
| PARAM_VALUE | 0 | handle->handler->passive_observer | 0 |
| PARAM_VALUE | 0 | handle->handler->private | 0 |
| PARAM_VALUE | 0 | handle->handler->start | 6486754335034900480 |
| PARAM_VALUE | 0 | handle->name | 5777956970160488448 |
| BUF_SIZE | 0 | handle | 80 |
| BUF_SIZE | 0 | handle->name | 4 |
| DATA_SOURCE | 0 | handle | r _kzalloc_noprof |
| STR_LEN | 0 | handle->handler->name | (-1),7 |
| STR_LEN | 0 | handle->name | 3 |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | handle->dev->max_vals |
drivers/input/joydev.c joydev_open_device() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &joydev->mutex | ||
| TYPE_LOCK | (struct joydev)->mutex |
drivers/leds/trigger/ledtrig-input-events.c input_events_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 5032462298193190912 |
| PARAM_VALUE | 0 | handle->handler->connect | 8719290580871962624 |
| PARAM_VALUE | 0 | handle->handler->disconnect | 7858488884032311296 |
| PARAM_VALUE | 0 | handle->handler->event | 9171809060162772992 |
| PARAM_VALUE | 0 | handle->handler->events | 0 |
| PARAM_VALUE | 0 | handle->handler->filter | 0 |
| PARAM_VALUE | 0 | handle->handler->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->id_table | 1494861416734289920 |
| PARAM_VALUE | 0 | handle->handler->match | 0 |
| PARAM_VALUE | 0 | handle->handler->minor | 0 |
| PARAM_VALUE | 0 | handle->handler->name | 7617739640034283520 |
| PARAM_VALUE | 0 | handle->handler->passive_observer | 0 |
| PARAM_VALUE | 0 | handle->handler->private | 0 |
| PARAM_VALUE | 0 | handle->handler->start | 0 |
| PARAM_VALUE | 0 | handle->name | 7617739640034283520 |
| BUF_SIZE | 0 | handle | 80 |
| BUF_SIZE | 0 | handle->name | 21 |
| DATA_SOURCE | 0 | handle | r _kzalloc_noprof |
| STR_LEN | 0 | handle->handler->name | (-1),7 |
| STR_LEN | 0 | handle->name | 20 |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | handle->dev->max_vals |
drivers/input/input-leds.c input_leds_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 2623574391048863744 |
| PARAM_VALUE | 0 | handle->name | 1422953659829149696 |
| PARAM_VALUE | 0 | handle->private | 4096-ptr_max |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/evdev.c evdev_open_device() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &evdev->mutex | ||
| TYPE_LOCK | (struct evdev)->mutex |
sound/usb/mixer_quirks.c snd_dualsense_ih_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->connect | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->event | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->events | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->filter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->h_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->id_table | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->match | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler->start | 0,4096-ptr_max |
| BUF_SIZE | 0 | handle | 80 |
| BUF_SIZE | 0 | handle->name | (-1),8,15,17 |
| DATA_SOURCE | 0 | handle | r _kzalloc_noprof |
| STR_LEN | 0 | handle->handler->name | (-1),7 |
| STR_LEN | 0 | handle->name | (-1),7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | handle->dev->max_vals |
drivers/tty/sysrq.c sysrq_connect() -> input_open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->d_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handle_events | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->handler | 1056809462420094976 |
| PARAM_VALUE | 0 | handle->name | 304083598614134784 |
| PARAM_VALUE | 0 | handle->private | 4096-ptr_max |
| TERMINATED | 0 | handle->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |