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_prevent_allow() -> fsg_lun_fsync_sub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | curlun | 4096-ptr_max |
| PARAM_VALUE | 0 | curlun->info_valid | 0 |
| PARAM_VALUE | 0 | curlun->prevent_medium_removal | 1 |
| PARAM_VALUE | 0 | curlun->sense_data | 0 |
| PARAM_VALUE | 0 | curlun->sense_data_info | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/f_mass_storage.c do_synchronize_cache() -> fsg_lun_fsync_sub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | curlun | 0,4096-ptr_max |
| PARAM_VALUE | 0 | curlun->info_valid | 0 |
| PARAM_VALUE | 0 | curlun->sense_data | 0 |
| PARAM_VALUE | 0 | curlun->sense_data_info | 0 |
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/f_mass_storage.c do_verify() -> fsg_lun_fsync_sub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | curlun | 4096-ptr_max |
| PARAM_VALUE | 0 | curlun->info_valid | 0 |
| PARAM_VALUE | 0 | curlun->num_sectors | 1-s64max |
| PARAM_VALUE | 0 | curlun->sense_data | 0 |
| PARAM_VALUE | 0 | curlun->sense_data_info | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &common->filesem | ||
| TYPE_LOCK | (struct fsg_common)->filesem |
drivers/usb/gadget/function/storage_common.c fsg_store_nofua() -> fsg_lun_fsync_sub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | curlun | 4096-ptr_max |
| PARAM_VALUE | 0 | curlun->nofua | 1 |
| DATA_SOURCE | 0 | curlun | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |