Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/core/devio.c checkintf() -> claimintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->state | 7 |
| PARAM_VALUE | 1 | ifnum | 0-63 |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ps | $0 |
| DATA_SOURCE | 1 | ifnum | $1 |
| USER_DATA | 1 | ifnum | 0-63 |
| UNITS | 1 | ifnum | unit_array_size |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c proc_claiminterface() -> claimintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->state | 1-u32max |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ps | $0 |
| USER_DATA | 1 | ifnum | 0-u32max |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c proc_disconnect_claim() -> claimintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->actconfig | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | ps->dev->state | 1-u32max |
| PARAM_VALUE | 1 | ifnum | 0-255 |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ps->dev->actconfig->desc.bNumInterfaces | 1 |
| CAPPED_DATA | 1 | ifnum | 1 |
| DATA_SOURCE | 0 | ps | $0 |
| USER_DATA | 1 | ifnum | 0-255 |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |