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 227
- drivers/usb/gadget/legacy/mass_storage.c, line 200
- drivers/usb/gadget/legacy/multi.c, line 431
- drivers/usb/gadget/legacy/nokia.c, line 369
Smatch caller information:
drivers/usb/gadget/function/f_mass_storage.c fsg_common_create_luns() -> fsg_common_remove_luns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | common->sysfs | 1 |
| DATA_SOURCE | 0 | common | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | common->fsg_num_buffers |
drivers/usb/gadget/legacy/acm_ms.c acm_ms_bind() -> fsg_common_remove_luns()
| 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 | 0 | *common->inquiry_string | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/mass_storage.c msg_bind() -> fsg_common_remove_luns()
| 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 | 0 | *common->inquiry_string | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/nokia.c nokia_bind() -> fsg_common_remove_luns()
| 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 | 0 | *common->inquiry_string | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/multi.c multi_bind() -> fsg_common_remove_luns()
| 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 | 0 | *common->inquiry_string | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |