Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/input/evdev.c
- drivers/input/input-leds.c, line 69
- drivers/input/input.c, line 428
- drivers/tty/sysrq.c
- drivers/tty/vt/keyboard.c
Smatch caller information:
drivers/tty/vt/keyboard.c kbd_rate_helper() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->evbit | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 20 |
| PARAM_VALUE | 2 | code | 0 |
| PARAM_VALUE | 3 | value | 1-s32max |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/tty/vt/keyboard.c kbd_rate_helper() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->evbit | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 20 |
| PARAM_VALUE | 2 | code | 1 |
| PARAM_VALUE | 3 | value | 1-s32max |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/tty/vt/keyboard.c kd_sound_helper() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->evbit | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->sndbit | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 18 |
| PARAM_VALUE | 2 | code | 2 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/tty/vt/keyboard.c kd_sound_helper() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->evbit | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->sndbit | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 18 |
| PARAM_VALUE | 2 | code | 1 |
| PARAM_VALUE | 3 | value | 0-1 |
| DATA_SOURCE | 0 | handle | $0 |
| FUZZY_MAX | 3 | value | 1 |
| HARD_MAX | 3 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/input/input-leds.c input_leds_brightness_set() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 17 |
| PARAM_VALUE | 3 | value | 0-1 |
| FUZZY_MAX | 3 | value | 1 |
| HARD_MAX | 3 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | value | 0-1 |
| HALF_LOCKED2 | &rt2x00dev->conf_mutex |
drivers/input/evdev.c evdev_do_ioctl() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 20 |
| PARAM_VALUE | 2 | code | 0 |
| BIT_INFO | 3 | value | 0x0,0x7fffffff |
| NOCHECK_CALL | |||
| USER_DATA | 3 | value | s32min-s32max |
| LOCK2 | &evdev->mutex | ||
| TYPE_LOCK | (struct evdev)->mutex |
drivers/input/evdev.c evdev_do_ioctl() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 20 |
| PARAM_VALUE | 2 | code | 1 |
| BIT_INFO | 3 | value | 0x0,0x7fffffff |
| NOCHECK_CALL | |||
| USER_DATA | 3 | value | s32min-s32max |
| LOCK2 | &evdev->mutex | ||
| TYPE_LOCK | (struct evdev)->mutex |
drivers/input/evdev.c evdev_write() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| NOCHECK_CALL | |||
| USER_DATA | 1 | type | 0-u16max |
| USER_DATA | 2 | code | 0-u16max |
| USER_DATA | 3 | value | s32min-s32max |
| UNITS | 3 | value | unit_array_size |
| LOCK2 | &evdev->mutex | ||
| TYPE_LOCK | (struct evdev)->mutex |
drivers/tty/sysrq.c sysrq_reinject_alt_sysrq() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 3 | value | 1 |
| BUF_SIZE | 0 | handle | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/sysrq.c sysrq_reinject_alt_sysrq() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->grab->private->inactivity_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | handle->dev->mt->slot | 0-2147483646 |
| PARAM_VALUE | 0 | *handle->dev->rep | s32min-s32max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | code | 99 |
| PARAM_VALUE | 3 | value | 1 |
| BUF_SIZE | 0 | handle | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/sysrq.c sysrq_reinject_alt_sysrq() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->grab->private->inactivity_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | handle->dev->mt->slot | 0-2147483646 |
| PARAM_VALUE | 0 | *handle->dev->rep | s32min-s32max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | code | 0 |
| PARAM_VALUE | 3 | value | 1 |
| BUF_SIZE | 0 | handle | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/sysrq.c sysrq_reinject_alt_sysrq() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->grab->private->inactivity_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | handle->dev->mt->slot | 0-2147483646 |
| PARAM_VALUE | 0 | *handle->dev->rep | s32min-s32max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | code | 99 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | handle | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/sysrq.c sysrq_reinject_alt_sysrq() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->grab->private->inactivity_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | handle->dev->mt->slot | 0-2147483646 |
| PARAM_VALUE | 0 | *handle->dev->rep | s32min-s32max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | handle | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/sysrq.c sysrq_reinject_alt_sysrq() -> input_inject_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->dev->grab->private->inactivity_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | handle->dev->mt->slot | 0-2147483646 |
| PARAM_VALUE | 0 | *handle->dev->rep | s32min-s32max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | code | 0 |
| PARAM_VALUE | 3 | value | 1 |
| BUF_SIZE | 0 | handle | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |