Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/input/sparse-keymap.c sparse_keymap_getkeycode() -> sparse_keymap_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->keycode | 1-u64max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | ke | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ke->flags | 0-255 |
| USER_DATA | 1 | ke->index | 0-u16max |
| USER_DATA | 1 | ke->keycode | 0-u32max |
| USER_DATA | 1 | ke->len | 0-255 |
| USER_PTR | 1 | ke->scancode | |
| LOCK2 | irq | ||
| LOCK2 | 0 | &dev->event_lock | |
| HALF_LOCKED2 | &evdev->mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct input_dev)->event_lock |
drivers/input/sparse-keymap.c sparse_keymap_setkeycode() -> sparse_keymap_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->keycode | 1-u64max |
| PARAM_VALUE | 1 | ke | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | ke | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ke->flags | 0-255 |
| USER_DATA | 1 | ke->index | 0-u16max |
| USER_DATA | 1 | ke->keycode | 0-767 |
| USER_DATA | 1 | ke->len | 0-32 |
| USER_PTR | 1 | ke->scancode | |
| LOCK2 | irq | ||
| LOCK2 | 0 | &dev->event_lock | |
| HALF_LOCKED2 | &evdev->mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct input_dev)->event_lock |