fsg_lun 287 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *luns[FSG_MAX_LUNS]; fsg_lun 288 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun; fsg_lun 621 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 749 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 935 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 949 drivers/usb/gadget/function/f_mass_storage.c static void invalidate_sub(struct fsg_lun *curlun) fsg_lun 961 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1062 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1092 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1145 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1164 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1186 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1213 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1299 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1349 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1374 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1390 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1599 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->curlun; fsg_lun 1665 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun; fsg_lun 2315 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun; fsg_lun 2491 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = common->luns[i]; fsg_lun 2507 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = fsg_lun_from_dev(dev); fsg_lun 2515 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = fsg_lun_from_dev(dev); fsg_lun 2523 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = fsg_lun_from_dev(dev); fsg_lun 2532 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = fsg_lun_from_dev(dev); fsg_lun 2541 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = fsg_lun_from_dev(dev); fsg_lun 2549 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *curlun = fsg_lun_from_dev(dev); fsg_lun 2646 drivers/usb/gadget/function/f_mass_storage.c void fsg_common_remove_lun(struct fsg_lun *lun) fsg_lun 2719 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *lun = fsg_lun_from_dev(dev); fsg_lun 2742 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *lun; fsg_lun 2877 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun *lun = common->luns[i]; fsg_lun 66 drivers/usb/gadget/function/f_mass_storage.h struct fsg_lun *lun; fsg_lun 127 drivers/usb/gadget/function/f_mass_storage.h void fsg_common_remove_lun(struct fsg_lun *lun); fsg_lun 168 drivers/usb/gadget/function/storage_common.c void fsg_lun_close(struct fsg_lun *curlun) fsg_lun 178 drivers/usb/gadget/function/storage_common.c int fsg_lun_open(struct fsg_lun *curlun, const char *filename) fsg_lun 284 drivers/usb/gadget/function/storage_common.c int fsg_lun_fsync_sub(struct fsg_lun *curlun) fsg_lun 316 drivers/usb/gadget/function/storage_common.c ssize_t fsg_show_ro(struct fsg_lun *curlun, char *buf) fsg_lun 324 drivers/usb/gadget/function/storage_common.c ssize_t fsg_show_nofua(struct fsg_lun *curlun, char *buf) fsg_lun 330 drivers/usb/gadget/function/storage_common.c ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 356 drivers/usb/gadget/function/storage_common.c ssize_t fsg_show_cdrom(struct fsg_lun *curlun, char *buf) fsg_lun 362 drivers/usb/gadget/function/storage_common.c ssize_t fsg_show_removable(struct fsg_lun *curlun, char *buf) fsg_lun 368 drivers/usb/gadget/function/storage_common.c ssize_t fsg_show_inquiry_string(struct fsg_lun *curlun, char *buf) fsg_lun 377 drivers/usb/gadget/function/storage_common.c static ssize_t _fsg_store_ro(struct fsg_lun *curlun, bool ro) fsg_lun 391 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 415 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_nofua(struct fsg_lun *curlun, const char *buf, size_t count) fsg_lun 434 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 465 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 488 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_removable(struct fsg_lun *curlun, const char *buf, fsg_lun 504 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_inquiry_string(struct fsg_lun *curlun, const char *buf, fsg_lun 125 drivers/usb/gadget/function/storage_common.h static inline bool fsg_lun_is_open(struct fsg_lun *curlun) fsg_lun 180 drivers/usb/gadget/function/storage_common.h static inline struct fsg_lun *fsg_lun_from_dev(struct device *dev) fsg_lun 182 drivers/usb/gadget/function/storage_common.h return container_of(dev, struct fsg_lun, dev); fsg_lun 205 drivers/usb/gadget/function/storage_common.h void fsg_lun_close(struct fsg_lun *curlun); fsg_lun 206 drivers/usb/gadget/function/storage_common.h int fsg_lun_open(struct fsg_lun *curlun, const char *filename); fsg_lun 207 drivers/usb/gadget/function/storage_common.h int fsg_lun_fsync_sub(struct fsg_lun *curlun); fsg_lun 209 drivers/usb/gadget/function/storage_common.h ssize_t fsg_show_ro(struct fsg_lun *curlun, char *buf); fsg_lun 210 drivers/usb/gadget/function/storage_common.h ssize_t fsg_show_nofua(struct fsg_lun *curlun, char *buf); fsg_lun 211 drivers/usb/gadget/function/storage_common.h ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 213 drivers/usb/gadget/function/storage_common.h ssize_t fsg_show_inquiry_string(struct fsg_lun *curlun, char *buf); fsg_lun 214 drivers/usb/gadget/function/storage_common.h ssize_t fsg_show_cdrom(struct fsg_lun *curlun, char *buf); fsg_lun 215 drivers/usb/gadget/function/storage_common.h ssize_t fsg_show_removable(struct fsg_lun *curlun, char *buf); fsg_lun 216 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 218 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_nofua(struct fsg_lun *curlun, const char *buf, size_t count); fsg_lun 219 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 221 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_lun 223 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_removable(struct fsg_lun *curlun, const char *buf, fsg_lun 225 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_inquiry_string(struct fsg_lun *curlun, const char *buf,