Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/iio/common/hid-sensors/hid-sensor-trigger.c _hid_sensor_power_state() -> sensor_hub_device_close()

Type Parameter Key Value
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fsm->lock

drivers/hid/hid-sensor-custom.c enable_sensor_store() -> sensor_hub_device_close()

Type Parameter Key Value
PARAM_VALUE 0 hsdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data->ref_cnt s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.deferred_resume 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.idle_notification 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.request 0-4
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.request_pending 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.runtime_status 0,2
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->head 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->io_retry.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->retry_delay 2-198
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->unlinked s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->actual_length 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->urbnum.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->interval s32min-32768
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->num_mapped_sgs 0-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->status (-4095)-0
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->transfer_flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->unlinked s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->use_count.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->unlinked s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 *hsdev->hdev->driver_data->urbin->hcpriv (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hsdev->hdev->driver_data->urbin->setup_packet 0-255
PARAM_VALUE 0 *hsdev->hdev->driver_data->urbin->transfer_buffer (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 hsdev->hdev 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 &sensor_inst->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hid_sensor_custom)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-sensor-custom.c enable_sensor_store() -> sensor_hub_device_close()

Type Parameter Key Value
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 &sensor_inst->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hid_sensor_custom)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/rtc/rtc-hid-sensor-time.c hid_time_probe() -> sensor_hub_device_close()

Type Parameter Key Value
PARAM_VALUE 0 hsdev 4096-ptr_max
PARAM_VALUE 0 hsdev->end_collection_index s32min-(-1),1-s32max
PARAM_VALUE 0 hsdev->hdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data->dyn_callback_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->dev.driver_data->ref_cnt s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.deferred_resume 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.idle_notification 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.request 0-4
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.request_pending 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.runtime_status 0,2
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->cli_data->cur_hid_dev 0-2147483646
PARAM_VALUE 0 hsdev->hdev->driver_data->client_data->hid_ishtp_cl->err_send_msg 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->ctrlhead 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->head 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.deferred_resume 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.idle_notification 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.request 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.request_pending 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.runtime_error s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.runtime_status s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->io_retry.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->outhead 0-63
PARAM_VALUE 0 hsdev->hdev->driver_data->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->request_done 0
PARAM_VALUE 0 hsdev->hdev->driver_data->retry_delay 2-198
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->dev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->reject.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbctrl->unlinked s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->actual_length 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->urbnum.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->interval s32min-32768
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->num_mapped_sgs 0-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->status (-4095)-0
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->transfer_flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->unlinked s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->use_count.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->dev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->reject.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbout->unlinked s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.lock.owner (-1)
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.lock.owner_cpu u32max
PARAM_VALUE 0 hsdev->hdev->io_started 0
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 *hsdev->hdev->driver_data->urbin->hcpriv (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hsdev->hdev->driver_data->urbin->setup_packet 0-255
PARAM_VALUE 0 *hsdev->hdev->driver_data->urbin->transfer_buffer (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 hsdev s32min-(-2),1-s32max
BUF_SIZE 0 hsdev s32min-(-2),1-s32max
CAPPED_DATA 0 hsdev 1
CAPPED_DATA 0 hsdev->end_collection_index 1
CAPPED_DATA 0 hsdev->hdev 1
CAPPED_DATA 0 hsdev->start_collection_index 1
PARAM_COMPARE 0 hsdev->end_collection_index > $0->start_collection_index
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &hsdev->hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/rtc/rtc-hid-sensor-time.c hid_time_remove() -> sensor_hub_device_close()

Type Parameter Key Value
BUF_SIZE 0 hsdev s32min-(-2),1-s32max
BUF_SIZE 0 hsdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex