Defined in 1 files as a struct:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hid/hid-wiimote-core.c wiiproto_req_drm() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 3 |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 3 |
| DATA_SOURCE | 0 | wdata | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | wdata->state.drm | 1-255 |
| UNITS | 0 | wdata | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &wdata->state.lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_ir1() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 0 | wdata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | wdata | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | wdata | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &wdata->state.lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_ir2() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->queue.worker.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->state.ready.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 0 | wdata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | wdata | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | wdata | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &wdata->state.lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_leds() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->input->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| 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->leds | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata->input | (-1),2480 |
| BUF_SIZE | 0 | wdata->input->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | wdata->input->name | (-1),20 |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | wdata | $0 |
| STR_LEN | 0 | wdata->input->name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | wdata->input->max_vals | |
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &wdata->state.lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_rmem() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->state.cmd | 23 |
| PARAM_VALUE | 0 | wdata->state.cmd_read_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->state.cmd_read_size | 1-16 |
| PARAM_VALUE | 0 | wdata->state.opt | 0-u16max |
| PARAM_VALUE | 0 | wdata->state.ready.done | 0 |
| PARAM_VALUE | 0 | wdata->state.sync.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 7 |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata->input | (-1),2480 |
| BUF_SIZE | 0 | wdata->input->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | wdata->input->name | (-1),20 |
| BUF_SIZE | 0 | wdata->state.cmd_read_buf | 6,12,16,24 |
| BUF_SIZE | 1 | buffer | 7 |
| DATA_SOURCE | 0 | wdata | $0 |
| STR_LEN | 0 | wdata->input->name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | wdata->state.cmd_read_size | 1-16 |
| USER_DATA | 0 | wdata->state.opt | 0-u16max[c] |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &wdata->state.lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_rumble() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->input->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| 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->state.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata->input | (-1),2480 |
| BUF_SIZE | 0 | wdata->input->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | wdata->input->name | (-1),20 |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | wdata | $0 |
| STR_LEN | 0 | wdata->input->name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | wdata->input->max_vals | |
| UNITS | 2 | count | unit_byte |
| LOCK2 | 0 | &wdata->state.lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_status() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| 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->state.cmd | 21-23 |
| 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.sync.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wdata->state.sync.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | wdata | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | wdata->input->max_vals | |
| UNITS | 0 | wdata | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | 0 | &wdata->state.lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &wdata->state.sync | |
| TYPE_LOCK | (struct wiimote_state)->lock |
drivers/hid/hid-wiimote-core.c wiiproto_req_wmem() -> wiimote_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdata | 4096-ptr_max |
| PARAM_VALUE | 0 | wdata->state.cmd | 22 |
| PARAM_VALUE | 0 | wdata->state.opt | 0 |
| PARAM_VALUE | 0 | wdata->state.ready.done | 0 |
| PARAM_VALUE | 0 | wdata->state.sync.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | buffer | 2125781794706989056 |
| PARAM_VALUE | 2 | count | 22 |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdata | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 22 |
| DATA_SOURCE | 0 | wdata | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | wdata | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &wdata->state.lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wdata->state.sync | ||
| TYPE_LOCK | (struct wiimote_state)->lock |