Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/core/devio.c check_ctrlrecip() -> checkintf()
| 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 | 4,6-7 |
| PARAM_VALUE | 1 | ifnum | 0-255 |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ps | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ps | $0 |
| BIT_INFO | 0 | ps->dev->state | 0x4,0x7 |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c check_ctrlrecip() -> checkintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->dev->state | 4,6-7 |
| PARAM_VALUE | 1 | ifnum | 0-255 |
| 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 | $3 [m] |
| BIT_INFO | 0 | ps->dev->state | 0x4,0x7 |
| USER_DATA | 1 | ifnum | 0-255[c] |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c do_proc_bulk() -> checkintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 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 |
| DATA_SOURCE | 0 | ps | $0 |
| DATA_SOURCE | 1 | ifnum | r findintfep |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c parse_usbdevfs_streams() -> checkintf()
| 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 | 1 | ifnum | 1 |
| DATA_SOURCE | 0 | ps | $0 |
| DATA_SOURCE | 1 | ifnum | r findintfep |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c proc_clearhalt() -> checkintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 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 |
| DATA_SOURCE | 0 | ps | $0 |
| DATA_SOURCE | 1 | ifnum | r findintfep |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c proc_resetep() -> checkintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 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 |
| DATA_SOURCE | 0 | ps | $0 |
| DATA_SOURCE | 1 | ifnum | r findintfep |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c proc_setintf() -> checkintf()
| 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 |