Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hid/hid-generic.c __check_hid_generic() -> hid_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hdrv | 4096-4788965322040455167,4788965322040455169-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hdev | unit_byte |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &core_lock | ||
| HALF_LOCKED2 | global ®istration_lock |
drivers/hid/hid-core.c hid_bus_match() -> hid_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdrv | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/hid/hid-core.c hid_check_device_match() -> hid_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->driver | 0 |
| PARAM_VALUE | 0 | hdev->driver_input_lock.first_waiter | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->driver_input_lock.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | hdev->driver_input_lock.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | hdev->driver_input_lock.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | hdev->driver_input_lock.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->driver_input_lock.lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->driver_input_lock.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->io_started | 0 |
| PARAM_VALUE | 1 | hdrv | 4096-ptr_max |
| BUF_SIZE | 0 | hdev->bpf_rdesc | (-1)-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | hdrv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock |