Searched refs:filesem (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | storage_common.c | 332 ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_show_file() argument 338 down_read(filesem); in fsg_show_file() 353 up_read(filesem); in fsg_show_file() 393 ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_ro() argument 407 down_read(filesem); in fsg_store_ro() 411 up_read(filesem); in fsg_store_ro() 436 ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_file() argument 451 down_write(filesem); in fsg_store_file() 462 up_write(filesem); in fsg_store_file() 467 ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem, in fsg_store_cdrom() argument [all …]
|
| H A D | storage_common.h | 206 ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, 211 ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, 214 ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, 216 ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem,
|
| H A D | f_mass_storage.c | 270 struct rw_semaphore filesem; member 1386 up_read(&common->filesem); in do_start_stop() 1387 down_write(&common->filesem); in do_start_stop() 1389 up_write(&common->filesem); in do_start_stop() 1390 down_read(&common->filesem); in do_start_stop() 1864 down_read(&common->filesem); /* We're using the backing file */ in do_scsi_command() 2102 up_read(&common->filesem); in do_scsi_command() 2546 down_write(&common->filesem); in fsg_main_thread() 2553 up_write(&common->filesem); in fsg_main_thread() 2581 struct rw_semaphore *filesem = dev_get_drvdata(dev); in file_show() local [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 1804 down_read(&common->filesem); /* We're using the backing file */ in do_scsi_command() 2053 up_read(&common->filesem); in do_scsi_command()
|