Documented in 1 files:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/hid/bpf/hid_bpf_dispatch.c
- drivers/hid/hid-bigbenff.c, line 213
- drivers/hid/hid-core.c
- drivers/hid/hid-google-hammer.c, line 445
- drivers/hid/hid-haptic.c, line 465
- drivers/hid/hid-input.c, line 1902
- drivers/hid/hid-multitouch.c
- drivers/hid/hid-rmi.c
- drivers/hid/hid-steam.c
- drivers/hid/hid-vivaldi-common.c, line 56
- drivers/hid/surface-hid/surface_kbd.c, line 164
- drivers/hid/usbhid/hid-core.c
- drivers/hid/wacom_sys.c
Smatch caller information:
drivers/hid/hid-rmi.c rmi_probe() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-rmi.c rmi_probe() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-input.c hidinput_led_worker() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/hid/hid-steam.c steam_recv_report() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-steam.c steam_recv_report() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-steam.c steam_send_report() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &steam->report_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-multitouch.c mt_get_feature() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/surface-hid/surface_kbd.c skbd_get_caps_led_value() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem |
drivers/hid/hid-haptic.c hid_haptic_init() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/bpf/hid_bpf_dispatch.c __hid_bpf_allocate_data() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->bpf.prog_list_lock | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/hid/bpf/hid_bpf_dispatch.c __hid_bpf_hw_check_params() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 1-u64max |
drivers/hid/hid-vivaldi-common.c vivaldi_feature_mapping() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/hid/hid-core.c __hid_request() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| DATA_SOURCE | 0 | report | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hid->driver_input_lock |
drivers/hid/hid-core.c hid_alloc_report_buf() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | report | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &usbhid->lock | ||
| HALF_LOCKED2 | flags |
drivers/hid/hid-google-hammer.c hammer_get_folded_state() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/usbhid/hid-core.c hid_submit_ctrl() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &usbhid->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct usbhid_device)->lock |
drivers/hid/usbhid/hid-core.c hid_submit_out() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &usbhid->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct usbhid_device)->lock |
drivers/hid/wacom_sys.c wacom_compute_pktlen() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/hid/wacom_sys.c wacom_feature_mapping() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/hid/wacom_sys.c wacom_feature_mapping() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &wacom->lock |
drivers/hid/hid-bigbenff.c bigben_worker() -> hid_report_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | report | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |