Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/hid/hid-input.c hidinput_led_worker() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 1 data 16,4096-ptr_max
BUF_SIZE 1 data 0-s32max
BUF_SIZE 1 data 0-s32max
DATA_SOURCE 1 data r hid_alloc_report_buf
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/hid/hid-picolcd_debugfs.c picolcd_debug_out_report() -> hid_output_report()

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 data 4096-ptr_max
BUF_SIZE 1 data 0-s32max
BUF_SIZE 1 data 0-s32max
CAPPED_DATA 0 report->id 1
CAPPED_DATA 0 report->maxfield 1
DATA_SOURCE 0 report $2
DATA_SOURCE 1 data r hid_alloc_report_buf
FUZZY_MAX 0 report->id 255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 fill_effect_buf() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 0 report->maxfield 0-s32max
CAPPED_DATA 0 report->maxfield 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &haptic->manual_trigger_mutex
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct hid_haptic_device)->manual_trigger_mutex

drivers/hid/hid-core.c __hid_request() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 1 data 16-18446744073709547521
BUF_SIZE 1 data (-1)-s32max
BUF_SIZE 1 data (-1)-s32max
DATA_SOURCE 0 report $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &hid->driver_input_lock

drivers/hid/usbhid/hid-core.c __usbhid_submit_report() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 0 report->type 1
PARAM_VALUE 1 data 16,4096-ptr_max
DATA_SOURCE 0 report $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 1 data 16,4096-ptr_max
DATA_SOURCE 0 report $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/intel-ish-hid/ishtp-hid.c ishtp_hid_request() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
DATA_SOURCE 0 report $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 data unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/hid-bigbenff.c bigben_worker() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 0 report->field 4096-ptr_max
PARAM_VALUE 1 data 16,4096-ptr_max
BUF_SIZE 1 data 0-s32max
BUF_SIZE 1 data 0-s32max
DATA_SOURCE 1 data r hid_alloc_report_buf
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &bigben->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bigben_device)->lock

drivers/hid/hid-bigbenff.c bigben_worker() -> hid_output_report()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 0 report->field 4096-ptr_max
PARAM_VALUE 1 data 16,4096-ptr_max
BUF_SIZE 1 data 0-s32max
BUF_SIZE 1 data 0-s32max
DATA_SOURCE 1 data r hid_alloc_report_buf
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &bigben->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bigben_device)->lock