Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/uhid.c uhid_hid_get_report() -> __uhid_report_queue_and_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uhid->report_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uhid->report_lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | uhid->report_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | uhid->report_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | uhid->report_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uhid->report_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | uhid->report_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | uhid->running | 1 |
| PARAM_VALUE | 1 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | ev->type | 9 |
| PARAM_VALUE | 1 | ev->u.get_report.rtype | 0-2 |
| BUF_SIZE | 0 | uhid | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | uhid | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ev | 4380 |
| CAPPED_DATA | 0 | &uhid->report_lock | 1 |
| DATA_SOURCE | 1 | ev | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ev->u.get_report.rnum | 0-255 |
| LOCK2 | 0 | &uhid->report_lock | |
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem | ||
| TYPE_LOCK | (struct uhid_device)->report_lock |
drivers/hid/uhid.c uhid_hid_set_report() -> __uhid_report_queue_and_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uhid->report_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uhid->report_lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | uhid->report_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | uhid->report_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | uhid->report_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uhid->report_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | uhid->report_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | uhid->running | 1 |
| PARAM_VALUE | 1 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | ev->type | 13 |
| PARAM_VALUE | 1 | ev->u.set_report.rtype | 0-2 |
| PARAM_VALUE | 1 | ev->u.set_report.size | 1-4096 |
| BUF_SIZE | 0 | uhid | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | uhid | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ev | 4380 |
| CAPPED_DATA | 0 | &uhid->report_lock | 1 |
| CAPPED_DATA | 1 | ev->u.set_report.size | 1 |
| DATA_SOURCE | 1 | ev | r _kzalloc_noprof |
| NOSPEC | 1 | ev->u.set_report.size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ev->u.set_report.rnum | 0-255 |
| USER_DATA | 1 | ev->u.set_report.size | 2-4096[c] |
| USER_DATA | 1 | *ev->u.set_report.data | 0-255 |
| USER_PTR | 1 | ev->u.set_report.data | |
| LOCK2 | 0 | &uhid->report_lock | |
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem | ||
| TYPE_LOCK | (struct uhid_device)->report_lock |