Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/usbhid/hid-core.c usbhid_init_reports() -> usbhid_submit_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->report_enum | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 128 |
| DATA_SOURCE | 0 | hid | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &hiddev->existancelock | ||
| TYPE_LOCK | (struct hiddev)->existancelock |
drivers/hid/usbhid/hid-core.c usbhid_init_reports() -> usbhid_submit_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->report_enum | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 128 |
| DATA_SOURCE | 0 | hid | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &hiddev->existancelock | ||
| TYPE_LOCK | (struct hiddev)->existancelock |
drivers/hid/usbhid/hid-core.c usbhid_request() -> usbhid_submit_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hid->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | hid->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->idle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->max_buffer_size | 0,4096 |
| PARAM_VALUE | 0 | hid->ll_driver->may_wakeup | 0,4443010138165833728,6534636632079282176 |
| PARAM_VALUE | 0 | hid->ll_driver->power | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->request | 5063944467320635392,5622718608058388480,7328449251628552192 |
| PARAM_VALUE | 0 | hid->ll_driver->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->wait | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dir | 128 |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hid->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hid->devres_group_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hid | $0 |
| DATA_SOURCE | 1 | report | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &data->mutex | ||
| HALF_LOCKED2 | &entry->report_lock | ||
| HALF_LOCKED2 | &evdev->mutex | ||
| HALF_LOCKED2 | &fbdefio_state->lock | ||
| HALF_LOCKED2 | &haptic->auto_trigger_mutex | ||
| HALF_LOCKED2 | &hiddev->existancelock | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | hsdev->mutex_ptr | ||
| HALF_LOCKED2 | 0 | &hid->driver_input_lock | |
| HALF_LOCKED2 | 0 | &hid->ll_open_lock |
drivers/hid/usbhid/hid-core.c usbhid_request() -> usbhid_submit_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hid->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | hid->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->idle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->max_buffer_size | 0,4096 |
| PARAM_VALUE | 0 | hid->ll_driver->may_wakeup | 0,4443010138165833728,6534636632079282176 |
| PARAM_VALUE | 0 | hid->ll_driver->power | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->request | 5063944467320635392,5622718608058388480,7328449251628552192 |
| PARAM_VALUE | 0 | hid->ll_driver->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->wait | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0 |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hid->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hid->devres_group_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hid | $0 |
| DATA_SOURCE | 1 | report | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &hid->driver_input_lock | |
| HALF_LOCKED2 | 0 | &hid->ll_open_lock |
drivers/hid/usbhid/hid-core.c usbhid_set_leds() -> usbhid_submit_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_driver->max_buffer_size | 0,4096 |
| PARAM_VALUE | 0 | *hid->driver_data->ctrlbuf | 0-255 |
| PARAM_VALUE | 0 | *hid->driver_data->inbuf | 0-255 |
| PARAM_VALUE | 0 | *hid->driver_data->outbuf | 0-255 |
| PARAM_VALUE | 0 | *hid->name | 0-255 |
| PARAM_VALUE | 2 | dir | 0 |
| BUF_SIZE | 0 | hid->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hid->devres_group_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hid | $0 |
| BIT_INFO | 0 | hid->quirks | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &usbhid->mutex | ||
| HALF_LOCKED2 | 0 | &hid->driver_input_lock | |
| TYPE_LOCK | (struct usbhid_device)->mutex |