Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/usbhid/hid-core.c hid_suspend() -> usbhid_wait_io()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->driver 0,4096-ptr_max
PARAM_VALUE 0 hid->driver_data 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
BUF_SIZE 0 hid s32min-(-2),1-s32max
BUF_SIZE 0 hid s32min-(-2),1-s32max
CAPPED_DATA 0 hid 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hid unit_byte

drivers/hid/usbhid/hid-core.c usbhid_init_reports() -> usbhid_wait_io()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->report_enum 4096-ptr_max
DATA_SOURCE 0 hid $0
LOCK2 &hiddev->existancelock
TYPE_LOCK (struct hiddev)->existancelock

drivers/hid/usbhid/hid-core.c usbhid_init_reports() -> usbhid_wait_io()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->driver_data 4096-ptr_max
PARAM_VALUE 0 hid->report_enum 4096-ptr_max
DATA_SOURCE 0 hid $0
LOCK2 &hiddev->existancelock
TYPE_LOCK (struct hiddev)->existancelock

drivers/hid/hid-input.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->start 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->wait 4096-ptr_max
PARAM_VALUE 0 hid->report_enum 4096-ptr_max
PARAM_VALUE 0 *hid->name 0-255
BUF_SIZE 0 hid s32min-(-1),1-s32max
BUF_SIZE 0 hid s32min-(-1),1-s32max
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
CAPPED_DATA 0 hid 1
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
BIT_INFO 0 hid->quirks 0x0,0xdfffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hid->driver_input_lock

drivers/hid/hid-lg4ff.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->start 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->wait 628928916200407040,1271860255152287744,2694942185957842944
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
CAPPED_DATA 0 hid 1
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &hid->driver_input_lock

drivers/hid/hid-haptic.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hid->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->inputs.next 4096-ptr_max
PARAM_VALUE 0 hid->inputs.next->next 4096-ptr_max
PARAM_VALUE 0 hid->inputs.prev 4096-ptr_max
PARAM_VALUE 0 hid->inputs.prev->next 4096-ptr_max
PARAM_VALUE 0 hid->inputs.prev->prev 4096-ptr_max
PARAM_VALUE 0 hid->io_started 1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->start 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->wait 4096-ptr_max
PARAM_VALUE 0 hid->report_enum 4096-ptr_max
PARAM_VALUE 0 *hid->name 0-255
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
CAPPED_DATA 0 hid 1
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
BIT_INFO 0 hid->quirks 0x0,0xffffffff
BIT_INFO 0 hid->status 0x0,0xfffffffffffffffb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/hid/hid-ntrig.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->batteries.prev 4096-ptr_max
PARAM_VALUE 0 hid->batteries.prev->next 4096-ptr_max
PARAM_VALUE 0 hid->batteries.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hid->bpf_rdesc 1-u64max
PARAM_VALUE 0 hid->collection 4096-ptr_max
PARAM_VALUE 0 hid->collection_size 16
PARAM_VALUE 0 hid->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hid->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hid->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hid->dev.driver_data->haptic->default_auto_trigger 0-4294967295
PARAM_VALUE 0 hid->dev.driver_data->haptic->max_duration_id 1-u16max
PARAM_VALUE 0 hid->dev.driver_data->haptic->max_waveform_id 1-u16max
PARAM_VALUE 0 hid->dev.driver_data->is_buttonpad 1
PARAM_VALUE 0 hid->dev.driver_data->is_pressurepad 1
PARAM_VALUE 0 hid->dev.driver_data->maxcontacts 0-255
PARAM_VALUE 0 hid->dev.driver_data->num_function_row_keys 1-24
PARAM_VALUE 0 hid->devres_group_id 4096-ptr_max
PARAM_VALUE 0 hid->driver 4096-ptr_max
PARAM_VALUE 0 hid->driver_data->bufsize 64-536870913
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.deferred_resume 0-1
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.idle_notification 0-1
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.request 0-4
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.request_pending 0-1
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.runtime_status s32min-s32max
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hid->driver_data->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hid->driver_data->ctrl->counter.rqid.value 0-u16max
PARAM_VALUE 0 hid->driver_data->ctrl->counter.seq.value 0-255
PARAM_VALUE 0 hid->driver_data->ctrl->cplt.event.notif.lock.dep_map->name 0-255
PARAM_VALUE 0 hid->driver_data->ctrl->cplt.event.notif.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hid->driver_data->ctrl->cplt.event.notif.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hid->driver_data->ctrl->cplt.event.notif.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hid->driver_data->dev->devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hid->driver_data->head 0-255
PARAM_VALUE 0 hid->driver_data->hid_max_event_sz 1-4294967295
PARAM_VALUE 0 hid->driver_data->intf->needs_remote_wakeup 1
PARAM_VALUE 0 hid->driver_data->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hid->driver_data->urbctrl->kref.refcount.refs.counter 1
PARAM_VALUE 0 hid->driver_data->urbctrl->transfer_buffer_length 1
PARAM_VALUE 0 hid->driver_data->urbctrl->transfer_flags 4
PARAM_VALUE 0 hid->driver_data->urbin->actual_length 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->dev->urbnum.counter s32min-s32max
PARAM_VALUE 0 hid->driver_data->urbin->interval s32min-s32max
PARAM_VALUE 0 hid->driver_data->urbin->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hid->driver_data->urbin->num_mapped_sgs 0-s32max
PARAM_VALUE 0 hid->driver_data->urbin->sg->dma_flags 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->sg->dma_length 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->sg->length 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->sg->offset 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->start_frame (-1)
PARAM_VALUE 0 hid->driver_data->urbin->status (-4095)-0
PARAM_VALUE 0 hid->driver_data->urbin->transfer_buffer->_refcount.counter s32min-s32max
PARAM_VALUE 0 hid->driver_data->urbin->transfer_buffer->bDeviceProtocol 1
PARAM_VALUE 0 hid->driver_data->urbin->transfer_buffer->bmAttributes 0-255
PARAM_VALUE 0 hid->driver_data->urbin->transfer_buffer->page_type 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->transfer_flags 0-4294967295
PARAM_VALUE 0 hid->driver_data->urbin->unlinked s32min-s32max
PARAM_VALUE 0 hid->driver_data->urbin->use_count.counter s32min-s32max
PARAM_VALUE 0 hid->driver_data->urbout->kref.refcount.refs.counter 1
PARAM_VALUE 0 hid->driver_data->urbout->start_frame (-1)
PARAM_VALUE 0 hid->driver_data->urbout->transfer_flags 4
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->driver_input_lock.lock.dep_map->name 0-255
PARAM_VALUE 0 hid->hiddev 0,4096-ptr_max
PARAM_VALUE 0 hid->hidraw 4096-ptr_max
PARAM_VALUE 0 hid->inputs.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->start 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->wait 4096-ptr_max
PARAM_VALUE 0 hid->rdesc 1-u64max
PARAM_VALUE 0 hid->report_enum 4096-ptr_max
PARAM_VALUE 0 *hid->dev.driver_data->function_row_physmap 0-4294967295
PARAM_VALUE 0 *hid->driver_data->ctrlbuf 0-255
PARAM_VALUE 0 *hid->driver_data->event_buf 0-255
PARAM_VALUE 0 *hid->driver_data->inbuf 0-255
PARAM_VALUE 0 *hid->driver_data->outbuf 0-255
PARAM_VALUE 0 *hid->driver_data->urbctrl->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hid->driver_data->urbctrl->setup_packet 0-255
PARAM_VALUE 0 *hid->driver_data->urbctrl->transfer_buffer (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hid->driver_data->urbin->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hid->driver_data->urbin->setup_packet 0-255
PARAM_VALUE 0 *hid->driver_data->urbout->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hid->driver_data->urbout->transfer_buffer (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
CAPPED_DATA 0 hid 1
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &hid->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/hid/usbhid/hid-pidff.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->wait 4096-ptr_max
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 _T->lock

drivers/hid/hid-sensor-hub.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->wait 628928916200407040,1271860255152287744,2694942185957842944
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct sensor_hub_data)->mutex

drivers/hid/intel-ish-hid/ishtp-hid.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->bpf.destroyed 0
PARAM_VALUE 0 hid->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 hid->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 hid->dev.iommu_group->default_domain 0-s64max
PARAM_VALUE 0 hid->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hid->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hid->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hid->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hid->driver_data 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->idle 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hid->ll_driver->may_wakeup 0,4443010138165833728,6534636632079282176
PARAM_VALUE 0 hid->ll_driver->output_report 0,413141862939832320,1442834317192245248,2221293637157601280,3717343193451302912,7818562613356847104
PARAM_VALUE 0 hid->ll_driver->power 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->raw_request 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->start 0,4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->wait 4096-ptr_max
BUF_SIZE 0 hid s32min-(-1),1-s32max
BUF_SIZE 0 hid s32min-(-1),1-s32max
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
CAPPED_DATA 0 hid 1
CAPPED_DATA 0 hid->bpf.srcu.srcu_ctrp 1
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &minors_rwsem
HALF_LOCKED2 0 &hid->driver_input_lock
HALF_LOCKED2 0 &hid->ll_open_lock

drivers/hid/hid-picolcd_fb.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->wait 628928916200407040,1271860255152287744,2694942185957842944
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
NOCHECK_CALL
LOCK2 &fbdefio_state->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fb_deferred_io_state)->lock

drivers/hid/usbhid/hiddev.c hid_hw_wait() -> (struct hid_ll_driver)->wait()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 0 hid->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hid->ll_driver 4096-ptr_max
PARAM_VALUE 0 hid->ll_driver->request 0,5063944467320635392,5622718608058388480,7328449251628552192
PARAM_VALUE 0 hid->ll_driver->wait 628928916200407040,1271860255152287744,2694942185957842944
CAPPED_DATA 0 hid 1
DATA_SOURCE 0 hid $0
CONTAINER 0 -56-8104+0 $(-1)
NOCHECK_CALL
LOCK2 &hiddev->existancelock
TYPE_LOCK (struct hiddev)->existancelock