Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/core/driver.c usb_device_match() -> is_usb_device_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 4096-ptr_max |
| CAPPED_DATA | 0 | drv->bus | 1 |
| DATA_SOURCE | 0 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/core/driver.c usb_device_match() -> is_usb_device_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 4096-ptr_max |
| CAPPED_DATA | 0 | drv->bus | 1 |
| DATA_SOURCE | 0 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/core/generic.c __check_for_non_generic_match() -> is_usb_device_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 1-u64max |
| DATA_SOURCE | 0 | drv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &core_lock | ||
| HALF_LOCKED2 | global ®istration_lock |