Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/input/input.c input_default_getkeycode() -> input_fetch_keycode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->keycodesize | 1-u32max |
| PARAM_VALUE | 1 | index | 0-4294967294 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PARAM_COMPARE | 0 | dev->keycodemax | > $1 |
| PARAM_COMPARE | 1 | index | < $0->keycodemax |
| CONSTRAINT | 1 | index | <102 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | index | 0-s32max[c] |
| LOCK2 | irq | ||
| LOCK2 | 0 | &dev->event_lock | |
| HALF_LOCKED2 | &evdev->mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct input_dev)->event_lock |
drivers/input/input.c input_default_setkeycode() -> input_fetch_keycode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->keycode | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->keycodesize | 1-u32max |
| PARAM_VALUE | 1 | index | 0-s32max |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PARAM_COMPARE | 0 | dev->keycodemax | > $1 |
| PARAM_COMPARE | 1 | index | < $0->keycodemax |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &dev->event_lock | |
| HALF_LOCKED2 | &evdev->mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct input_dev)->event_lock |