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_id() -> usb_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | id | (-1),128 |
| BUF_SIZE | 1 | id | (-1),128 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | id | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/usb/core/driver.c usb_match_one_id() -> usb_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u64max |
| BUF_SIZE | 1 | id | (-1),1696,11776 |
| BUF_SIZE | 1 | id | (-1),1696,11776 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chain->ctrl_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/usb/core/quirks.c usb_detect_static_quirks() -> usb_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 765835934269689856-ptr_max |
| PARAM_VALUE | 1 | id->match_flags | 1-u16max |
| BUF_SIZE | 1 | id | (-1),64,224,4672 |
| BUF_SIZE | 1 | id | (-1),64,224,4672 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | id | $1 [m] |
drivers/usb/core/quirks.c usb_endpoint_is_ignored() -> usb_match_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 5525616530110423040-ptr_max |
| PARAM_VALUE | 1 | id->match_flags | 1-u16max |
| BUF_SIZE | 1 | id | (-1),160 |
| BUF_SIZE | 1 | id | (-1),160 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->quirks | 0x8000,0xffffffff |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |