Home
last modified time | relevance | path

Searched refs:fsg_lun (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/gadget/
Dstorage_common.c123 struct fsg_lun { struct
146 static inline bool fsg_lun_is_open(struct fsg_lun *curlun) in fsg_lun_is_open() argument
151 static inline struct fsg_lun *fsg_lun_from_dev(struct device *dev) in fsg_lun_from_dev()
153 return container_of(dev, struct fsg_lun, dev); in fsg_lun_from_dev()
404 static void fsg_lun_close(struct fsg_lun *curlun) in fsg_lun_close()
414 static int fsg_lun_open(struct fsg_lun *curlun, const char *filename) in fsg_lun_open()
519 static int fsg_lun_fsync_sub(struct fsg_lun *curlun) in fsg_lun_fsync_sub()
553 struct fsg_lun *curlun = fsg_lun_from_dev(dev); in fsg_show_ro()
563 struct fsg_lun *curlun = fsg_lun_from_dev(dev); in fsg_show_nofua()
571 struct fsg_lun *curlun = fsg_lun_from_dev(dev); in fsg_show_file()
[all …]
Df_mass_storage.c277 struct fsg_lun *luns;
278 struct fsg_lun *curlun;
643 struct fsg_lun *curlun = common->curlun; in do_read()
774 struct fsg_lun *curlun = common->curlun; in do_write()
964 struct fsg_lun *curlun = common->curlun; in do_synchronize_cache()
978 static void invalidate_sub(struct fsg_lun *curlun) in invalidate_sub()
990 struct fsg_lun *curlun = common->curlun; in do_verify()
1092 struct fsg_lun *curlun = common->curlun; in do_inquiry()
1117 struct fsg_lun *curlun = common->curlun; in do_request_sense()
1170 struct fsg_lun *curlun = common->curlun; in do_read_capacity()
[all …]