Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/hid/hid-wiimote-core.c wiimote_init_detect() -> wiiproto_req_status()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 21
PARAM_VALUE 0 wdata->state.devtype 1
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
DATA_SOURCE 0 wdata $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &wdata->state.lock
LOCK2 0 &wdata->state.sync
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wiimote_state)->lock
TYPE_LOCK (struct wiimote_state)->sync

drivers/hid/hid-wiimote-core.c wiimote_init_hotplug() -> wiiproto_req_status()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 wdata->input->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 wdata->input->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 wdata->input->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 wdata->input->poller->poll_interval 0-4294967295
PARAM_VALUE 0 wdata->input->poller->poll_interval_max 0-4294967295
PARAM_VALUE 0 wdata->queue.worker.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 22-23
PARAM_VALUE 0 wdata->state.cmd_read_buf 0
PARAM_VALUE 0 wdata->state.cmd_read_size 6
PARAM_VALUE 0 wdata->state.devtype 1-255
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0,36,48,250
PARAM_VALUE 0 wdata->state.ready.done 0-4294967293,u32max
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.ready.wait.lock.owner (-1)
PARAM_VALUE 0 wdata->state.ready.wait.lock.owner_cpu u32max
PARAM_VALUE 0 wdata->state.ready.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 wdata->state.ready.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 *wdata->input->rep s32min-s32max
DATA_SOURCE 0 wdata $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 wdata->input->max_vals
LOCK2 irq
LOCK2 0 &wdata->state.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wiimote_state)->lock

drivers/hid/hid-wiimote-modules.c wiimod_battery_get_property() -> wiiproto_req_status()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 21
PARAM_VALUE 0 wdata->state.opt 0
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 wdata unit_byte
LOCK2 _T->lock
LOCK2 flags
LOCK2 0 &wdata->state.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wiimote_state)->lock