Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/usbhid/hid-core.c usbhid_start() -> hid_free_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hid | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->ll_driver->max_buffer_size | 0,4096 |
| PARAM_VALUE | 1 | *hid->driver_data->ctrlbuf | 0-255 |
| PARAM_VALUE | 1 | *hid->driver_data->inbuf | 0-255 |
| PARAM_VALUE | 1 | *hid->driver_data->outbuf | 0-255 |
| PARAM_VALUE | 1 | *hid->name | 0-255 |
| BUF_SIZE | 1 | hid->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 1 | hid->devres_group_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | hid | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &usbhid->mutex | ||
| HALF_LOCKED2 | 1 | &hid->driver_input_lock | |
| TYPE_LOCK | (struct usbhid_device)->mutex |
drivers/hid/usbhid/hid-core.c usbhid_stop() -> hid_free_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hid | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->claimed | 0 |
| PARAM_VALUE | 1 | hid->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | hid->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 1 | hid->ll_driver->max_buffer_size | 0,4096 |
| PARAM_VALUE | 1 | *hid->name | 0-255 |
| BUF_SIZE | 1 | hid->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 1 | hid->devres_group_id | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | hid | 1 |
| DATA_SOURCE | 1 | hid | $0 |
| BIT_INFO | 1 | hid->quirks | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &usbhid->mutex | ||
| HALF_LOCKED2 | 1 | &hid->driver_input_lock | |
| TYPE_LOCK | (struct usbhid_device)->mutex |