Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/usbhid/hid-core.c hid_irq_in() -> hid_io_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data | 4096-ptr_max |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/usbhid/hid-core.c hid_irq_in() -> hid_io_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data | 4096-ptr_max |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hid | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/usbhid/hid-core.c hid_restart_io() -> hid_io_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data->lock.rlock.dep_map->name | 0-255 |
| 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-32768 |
| 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->status | (-115) |
| PARAM_VALUE | 0 | hid->driver_data->urbin->transfer_buffer->_refcount.counter | s32min-s32max |
| 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->use_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | *hid->driver_data->urbin->setup_packet | 0-255 |
| PARAM_VALUE | 0 | *hid->driver_data->urbin->transfer_buffer | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | hid | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hid | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | hid->driver_data->urbin | 1 |
| DATA_SOURCE | 0 | hid | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hid | unit_byte |
drivers/hid/usbhid/hid-core.c hid_retry_timeout() -> hid_io_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data->lock.rlock.dep_map->name | 0-255 |
| 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-32768 |
| 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->status | (-115) |
| PARAM_VALUE | 0 | hid->driver_data->urbin->transfer_buffer->_refcount.counter | s32min-s32max |
| 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->use_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | *hid->driver_data->urbin->setup_packet | 0-255 |
| PARAM_VALUE | 0 | *hid->driver_data->urbin->transfer_buffer | (-4611686018427387904)-4611686018427387903 |
| CAPPED_DATA | 0 | hid->driver_data->urbin | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/hid/usbhid/hid-core.c usbhid_open() -> hid_io_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hid | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hid->driver_data->lock.rlock.dep_map->name | 0-255 |
| 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-32768 |
| 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->status | (-115) |
| PARAM_VALUE | 0 | hid->driver_data->urbin->transfer_buffer->_refcount.counter | s32min-s32max |
| 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->use_count.counter | 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->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hid->ll_open_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hid->ll_open_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hid->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hid->ll_open_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hid->ll_open_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hid->ll_open_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *hid->driver_data->urbin->setup_packet | 0-255 |
| PARAM_VALUE | 0 | *hid->driver_data->urbin->transfer_buffer | (-4611686018427387904)-4611686018427387903 |
| 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->driver_data->urbin | 1 |
| DATA_SOURCE | 0 | hid | $0 |
| BIT_INFO | 0 | hid->quirks | 0x0,0xfffffbff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &usbhid->mutex | ||
| LOCK2 | 0 | &hid->ll_open_lock | |
| HALF_LOCKED2 | &data->mutex | ||
| HALF_LOCKED2 | &device->readers_lock | ||
| HALF_LOCKED2 | &hiddev->existancelock | ||
| HALF_LOCKED2 | global &devices_lock | ||
| HALF_LOCKED2 | global &minors_rwsem | ||
| HALF_LOCKED2 | 0 | &hid->driver_input_lock | |
| TYPE_LOCK | (struct hid_device)->ll_open_lock | ||
| TYPE_LOCK | (struct usbhid_device)->mutex |