Defined in 1 files as a function:
Referenced in 19 files:
- drivers/hid/hid-appletb-kbd.c, line 289
- drivers/hid/hid-wiimote-core.c, line 706
- drivers/input/evdev.c, line 1371
- drivers/input/joydev.c, line 942
- drivers/input/keyboard/lkkbd.c, line 690
- drivers/input/mousedev.c, line 887
- drivers/input/tests/input_test.c
- drivers/input/touchscreen/dynapro.c, line 93
- drivers/input/touchscreen/elo.c, line 290
- drivers/input/touchscreen/fujitsu_ts.c, line 83
- drivers/input/touchscreen/gunze.c, line 80
- drivers/input/touchscreen/hampshire.c, line 92
- drivers/input/touchscreen/inexio.c, line 99
- drivers/input/touchscreen/mtouch.c, line 111
- drivers/input/touchscreen/touchit213.c, line 122
- drivers/input/touchscreen/touchright.c, line 85
- drivers/input/touchscreen/touchwin.c, line 95
- net/bluetooth/hidp/core.c, line 880
- sound/core/jack.c, line 648
Smatch caller information:
drivers/hid/hid-appletb-kbd.c appletb_kbd_inp_connect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->poller->poll_interval | 0-4294967295 |
| PARAM_VALUE | 0 | dev->poller->poll_interval_max | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_vals |
drivers/input/mousedev.c mousedev_create() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->poller->poll_interval | 0-4294967295 |
| PARAM_VALUE | 0 | dev->poller->poll_interval_max | 0-4294967295 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_vals |
drivers/input/touchscreen/gunze.c gunze_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/touchscreen/touchright.c tr_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/touchscreen/dynapro.c dynapro_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/tests/input_test.c input_test_grab() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dev | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | dev | s32min,(-10),1-s32max |
drivers/input/tests/input_test.c input_test_grab() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | dev | s32min,(-10),1-s32max |
drivers/input/joydev.c joydev_connect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->poller->poll_interval | 0-4294967295 |
| PARAM_VALUE | 0 | dev->poller->poll_interval_max | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_vals |
net/bluetooth/hidp/core.c hidp_session_dev_add() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | dev->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | dev->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | dev->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->dev.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | dev->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | dev->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->evbit | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->getkeycode | 1-u64max |
| PARAM_VALUE | 0 | dev->hint_events_per_packet | 1-u32max |
| PARAM_VALUE | 0 | dev->max_vals | 1-u32max |
| PARAM_VALUE | 0 | dev->mt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt->slot | s32min-s32max |
| PARAM_VALUE | 0 | dev->node.next | 8912400628449923072 |
| PARAM_VALUE | 0 | dev->node.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->poller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->poller->poll_interval | 1-4294967295 |
| PARAM_VALUE | 0 | dev->poller->poll_interval_max | 1-4294967295 |
| PARAM_VALUE | 0 | dev->setkeycode | 1-u64max |
| PARAM_VALUE | 0 | dev->vals | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->rep | s32min-s32max |
| CAPPED_DATA | 0 | dev | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_vals | |
| HALF_LOCKED2 | &conn->lock | ||
| HALF_LOCKED2 | global &hidp_session_sem |
drivers/input/touchscreen/elo.c elo_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
sound/core/jack.c snd_jack_report() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &data->mutex | ||
| HALF_LOCKED2 | &jack->mutex | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ctx_mutex | ||
| HALF_LOCKED2 | irq |
drivers/input/touchscreen/touchwin.c tw_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/evdev.c evdev_connect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->poller->poll_interval | 0-4294967295 |
| PARAM_VALUE | 0 | dev->poller->poll_interval_max | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_vals |
drivers/input/touchscreen/inexio.c inexio_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/touchscreen/fujitsu_ts.c fujitsu_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/touchscreen/touchit213.c touchit213_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/touchscreen/mtouch.c mtouch_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/hid/hid-wiimote-core.c wiimote_modules_unload() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/input/touchscreen/hampshire.c hampshire_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/input/keyboard/lkkbd.c lkkbd_disconnect() -> input_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |