Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_mass_storage.c do_write() -> set_bulk_out_req_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 1 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 0-16384 |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 0 | common | 128 |
| CAPPED_DATA | 0 | common->cmnd_size | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 0 | common | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | length | unit_byte |
| LOCK2 | 0 | &common->filesem | |
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/f_mass_storage.c get_next_command() -> set_bulk_out_req_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 1 | bh | 1-u64max |
| PARAM_VALUE | 2 | length | 31 |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 0 | common | 128 |
| DATA_SOURCE | 0 | common | $0 |
| NOCHECK_CALL |
drivers/usb/gadget/function/f_mass_storage.c throw_away_data() -> set_bulk_out_req_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 1 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 1-16384 |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 0 | common | 128 |
| CAPPED_DATA | 0 | common->cmnd_size | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 0 | common | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | length | unit_byte |