Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/usb/gadget/function/f_mass_storage.c
- drivers/usb/gadget/legacy/acm_ms.c, line 187
- drivers/usb/gadget/legacy/mass_storage.c, line 166
- drivers/usb/gadget/legacy/multi.c, line 389
- drivers/usb/gadget/legacy/nokia.c, line 340
Smatch caller information:
drivers/usb/gadget/function/f_mass_storage.c fsg_bind() -> fsg_common_set_inquiry_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | common->cdev->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | common->gadget | 4096-ptr_max |
| PARAM_VALUE | 1 | vn | 0 |
| PARAM_VALUE | 2 | pn | 0 |
| STR_LEN | 0 | common->cdev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/acm_ms.c acm_ms_bind() -> fsg_common_set_inquiry_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->can_stall | 0-1 |
| PARAM_VALUE | 0 | common->cdev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | common->fsg_num_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | common->sysfs | 1 |
| PARAM_VALUE | 1 | vn | 0 |
| PARAM_VALUE | 2 | pn | 0 |
| BUF_SIZE | 1 | vn | 6 |
| BUF_SIZE | 2 | pn | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/mass_storage.c msg_bind() -> fsg_common_set_inquiry_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->can_stall | 0-1 |
| PARAM_VALUE | 0 | common->cdev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | common->fsg_num_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | common->sysfs | 1 |
| PARAM_VALUE | 1 | vn | 0 |
| PARAM_VALUE | 2 | pn | 0 |
| BUF_SIZE | 1 | vn | 6 |
| BUF_SIZE | 2 | pn | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/nokia.c nokia_bind() -> fsg_common_set_inquiry_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->can_stall | 0-1 |
| PARAM_VALUE | 0 | common->cdev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | common->fsg_num_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | common->sysfs | 1 |
| PARAM_VALUE | 1 | vn | 1074284268671623168 |
| PARAM_VALUE | 2 | pn | 4871562881525374976 |
| BUF_SIZE | 1 | vn | 6 |
| BUF_SIZE | 1 | vn | 6 |
| BUF_SIZE | 2 | pn | 5 |
| BUF_SIZE | 2 | pn | 5 |
| STR_LEN | 0 | common | 5 |
| STR_LEN | 1 | vn | 4 |
| STR_LEN | 1 | vn | 5 |
| STR_LEN | 2 | pn | 4 |
| TERMINATED | 1 | vn | 1 |
| TERMINATED | 2 | pn | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/multi.c multi_bind() -> fsg_common_set_inquiry_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->can_stall | 0-1 |
| PARAM_VALUE | 0 | common->cdev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | common->fsg_num_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | common->sysfs | 1 |
| PARAM_VALUE | 1 | vn | 0 |
| PARAM_VALUE | 2 | pn | 0 |
| BUF_SIZE | 1 | vn | 6 |
| BUF_SIZE | 2 | pn | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |