Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/hid/hid-bigbenff.c, line 209
- drivers/hid/hid-core.c
- drivers/hid/hid-haptic.c
- drivers/hid/hid-input.c, line 1903
- drivers/hid/hid-multitouch.c
- drivers/hid/hid-picolcd_debugfs.c, line 410
- drivers/hid/hid-steam.c
- drivers/hid/hid-vivaldi-common.c, line 52
- drivers/hid/usbhid/hid-core.c
- drivers/hid/wacom_sys.c
Smatch caller information:
drivers/hid/hid-input.c hidinput_led_worker() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/hid-steam.c steam_recv_report() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-steam.c steam_send_report() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &steam->report_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-multitouch.c mt_get_feature() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| DATA_SOURCE | 0 | report | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/hid/hid-multitouch.c mt_need_to_apply_feature() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/hid-picolcd_debugfs.c picolcd_debug_out_report() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 0 | report->id | 129,145-150,163-164,178-180,239,241-244,255 |
| PARAM_VALUE | 0 | report->maxfield | 0-s32max |
| PARAM_VALUE | 1 | flags | 2080 |
| CAPPED_DATA | 0 | report->id | 1 |
| CAPPED_DATA | 0 | report->maxfield | 1 |
| DATA_SOURCE | 0 | report | $2 |
| FUZZY_MAX | 0 | report->id | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &data->mutex | ||
| HALF_LOCKED2 | &fbdefio_state->lock | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct picolcd_data)->lock |
drivers/hid/hid-haptic.c hid_haptic_init() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-haptic.c hid_haptic_init() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-vivaldi-common.c vivaldi_feature_mapping() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/hid/hid-core.c __hid_request() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 3264 |
| DATA_SOURCE | 0 | report | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hid->driver_input_lock |
drivers/hid/usbhid/hid-core.c __usbhid_submit_report() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 0 | report->type | 1 |
| PARAM_VALUE | 1 | flags | 2080 |
| DATA_SOURCE | 0 | report | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &usbhid->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | &hiddev->existancelock | ||
| HALF_LOCKED2 | &usbhid->mutex | ||
| TYPE_LOCK | (struct usbhid_device)->lock |
drivers/hid/usbhid/hid-core.c __usbhid_submit_report() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2080 |
| DATA_SOURCE | 0 | report | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &usbhid->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | &hiddev->existancelock | ||
| HALF_LOCKED2 | &usbhid->mutex | ||
| TYPE_LOCK | (struct usbhid_device)->lock |
drivers/hid/wacom_sys.c wacom_feature_mapping() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/hid/wacom_sys.c wacom_feature_mapping() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/hid/wacom_sys.c wacom_set_device_mode() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 1-u64max |
| PARAM_VALUE | 1 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &wacom->lock |
drivers/hid/hid-bigbenff.c bigben_worker() -> hid_alloc_report_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| PARAM_VALUE | 0 | report->field | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 3264 |
| HALF_LOCKED2 | &pool->lock |