Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-haptic.c hid_haptic_erase() -> fill_effect_buf()

Type Parameter Key Value
PARAM_VALUE 0 haptic 4096-ptr_max
PARAM_VALUE 0 haptic->effect 4096-ptr_max
PARAM_VALUE 0 haptic->mode 0-1
PARAM_VALUE 1 effect->hid_usage 4103
PARAM_VALUE 1 effect->intensity 100
PARAM_VALUE 1 effect->repeat_count 0
PARAM_VALUE 1 effect->retrigger_period 0
PARAM_VALUE 2 haptic_effect 4096-ptr_max
PARAM_VALUE 3 waveform_ordinal 1-u16max
BUF_SIZE 0 haptic 40,1696
BUF_SIZE 0 haptic 40,1696
FUZZY_MAX 3 waveform_ordinal 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex

drivers/hid/hid-haptic.c hid_haptic_erase() -> fill_effect_buf()

Type Parameter Key Value
PARAM_VALUE 0 haptic 4096-ptr_max
PARAM_VALUE 0 haptic->effect 4096-ptr_max
PARAM_VALUE 0 haptic->mode 0-1
PARAM_VALUE 1 effect->hid_usage 4102
PARAM_VALUE 1 effect->intensity 100
PARAM_VALUE 1 effect->repeat_count 0
PARAM_VALUE 1 effect->retrigger_period 0
PARAM_VALUE 2 haptic_effect 4096-ptr_max
PARAM_VALUE 3 waveform_ordinal 1-u16max
BUF_SIZE 0 haptic 40,1696
BUF_SIZE 0 haptic 40,1696
FUZZY_MAX 3 waveform_ordinal 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex

drivers/hid/hid-haptic.c hid_haptic_init() -> fill_effect_buf()

Type Parameter Key Value
PARAM_VALUE 0 haptic 4096-ptr_max
PARAM_VALUE 0 haptic->auto_trigger_mutex.dep_map->name 0-255
PARAM_VALUE 0 haptic->auto_trigger_mutex.first_waiter 0
PARAM_VALUE 0 haptic->auto_trigger_mutex.magic 4096-ptr_max
PARAM_VALUE 0 haptic->auto_trigger_report 4096-ptr_max
PARAM_VALUE 0 haptic->auto_trigger_report->maxfield 0-s32max
PARAM_VALUE 0 haptic->duration_map 16,4096-ptr_max
PARAM_VALUE 0 haptic->effect 4096-ptr_max
PARAM_VALUE 0 haptic->hdev 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->batteries.prev 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 haptic->hdev->collection 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->collection_size 16
PARAM_VALUE 0 haptic->hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->devres_group_id 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->driver 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->hiddev 0,4096-ptr_max
PARAM_VALUE 0 haptic->hdev->hidraw 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->ll_driver 4096-ptr_max
PARAM_VALUE 0 haptic->hdev->rdesc 1-u64max
PARAM_VALUE 0 haptic->hid_usage_map 4096-ptr_max
PARAM_VALUE 0 haptic->input_dev 1-u64max
PARAM_VALUE 0 haptic->manual_trigger_mutex.dep_map->name 0-255
PARAM_VALUE 0 haptic->manual_trigger_mutex.first_waiter 0
PARAM_VALUE 0 haptic->manual_trigger_mutex.magic 4096-ptr_max
PARAM_VALUE 0 haptic->manual_trigger_mutex.osq.tail.counter 0
PARAM_VALUE 0 haptic->manual_trigger_mutex.owner.counter 0
PARAM_VALUE 0 haptic->manual_trigger_report 4096-ptr_max
PARAM_VALUE 0 haptic->manual_trigger_report_len 0-u32max
PARAM_VALUE 0 haptic->max_duration_id 2-u32max
PARAM_VALUE 0 haptic->max_waveform_id 2-u32max
PARAM_VALUE 0 haptic->stop_effect.input_dev 1-u64max
PARAM_VALUE 0 haptic->stop_effect.report_buf 16,4096-ptr_max
PARAM_VALUE 0 haptic->wq 1-u64max
PARAM_VALUE 1 effect 8495007821307428864
PARAM_VALUE 1 effect->hid_usage 4098
PARAM_VALUE 1 effect->intensity 0
PARAM_VALUE 1 effect->repeat_count 0
PARAM_VALUE 1 effect->retrigger_period 0
PARAM_VALUE 2 haptic_effect 4096-ptr_max
PARAM_VALUE 2 haptic_effect->input_dev 1-u64max
PARAM_VALUE 2 haptic_effect->report_buf 16,4096-ptr_max
PARAM_VALUE 3 waveform_ordinal 2
BUF_SIZE 0 haptic->duration_map 4
BUF_SIZE 0 haptic->effect 25344
BUF_SIZE 0 haptic->hid_usage_map 2
BUF_SIZE 0 haptic->stop_effect.report_buf 0-s32max
BUF_SIZE 0 haptic->wq (-1),512,528-8720
CAPPED_DATA 0 haptic->auto_trigger_report->maxfield 1
CAPPED_DATA 0 haptic->max_duration_id 1
CAPPED_DATA 0 haptic->max_waveform_id 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/hid/hid-haptic.c hid_haptic_upload_effect() -> fill_effect_buf()

Type Parameter Key Value
PARAM_VALUE 0 haptic 4096-ptr_max
PARAM_VALUE 0 haptic->effect 4096-ptr_max
PARAM_VALUE 0 haptic->hid_usage_map 4096-ptr_max
PARAM_VALUE 0 haptic->max_waveform_id 1-u32max
PARAM_VALUE 3 waveform_ordinal 1-s32max
BUF_SIZE 0 haptic 40,1696
BUF_SIZE 0 haptic 40,1696
CAPPED_DATA 0 haptic->max_waveform_id 1
CAPPED_DATA 3 waveform_ordinal 1
FUZZY_MAX 3 waveform_ordinal 1
PARAM_COMPARE 0 haptic->max_waveform_id >= $3
PARAM_COMPARE 3 waveform_ordinal <= $0->max_waveform_id
NOCHECK_CALL
USER_DATA 1 effect->intensity 0-u16max
USER_DATA 1 effect->repeat_count 0-u16max
USER_DATA 1 effect->retrigger_period 0-u16max
USER_DATA 1 effect->vendor_id 0-u16max
USER_DATA 1 effect->vendor_waveform_page 0-255
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex