Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/gadget/function/f_mass_storage.c do_read_header() -> store_cdrom_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 1 | msf | 0,2 |
| PARAM_VALUE | 2 | addr | 0-255 |
| BUF_SIZE | 0 | dest | 16380 |
| CAPPED_DATA | 2 | addr | 1 |
| DATA_SOURCE | 2 | addr | r get_unaligned_be32 |
| BIT_INFO | 1 | msf | 0x0,0x2 |
| NOCHECK_CALL | |||
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/f_mass_storage.c do_read_toc() -> store_cdrom_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 1 | msf | 0,2 |
| PARAM_VALUE | 2 | addr | 0 |
| BUF_SIZE | 0 | dest | 16376 |
| BIT_INFO | 1 | msf | 0x0,0x2 |
| NOCHECK_CALL | |||
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/f_mass_storage.c do_read_toc() -> store_cdrom_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 1 | msf | 0,2 |
| BUF_SIZE | 0 | dest | 16368 |
| BIT_INFO | 1 | msf | 0x0,0x2 |
| NOCHECK_CALL | |||
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/f_mass_storage.c do_read_toc() -> store_cdrom_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 1 | msf | 0,2 |
| BIT_INFO | 1 | msf | 0x0,0x2 |
| NOCHECK_CALL | |||
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |