Searched defs:curlun (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/function/
H A Dstorage_common.c174 void fsg_lun_close(struct fsg_lun *curlun) fsg_lun_close() argument
184 int fsg_lun_open(struct fsg_lun *curlun, const char *filename) fsg_lun_open() argument
290 int fsg_lun_fsync_sub(struct fsg_lun *curlun) fsg_lun_fsync_sub() argument
322 ssize_t fsg_show_ro(struct fsg_lun *curlun, char *buf) fsg_show_ro() argument
330 ssize_t fsg_show_nofua(struct fsg_lun *curlun, char *buf) fsg_show_nofua() argument
336 ssize_t fsg_show_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_show_file() argument
362 ssize_t fsg_show_cdrom(struct fsg_lun *curlun, char *buf) fsg_show_cdrom() argument
368 ssize_t fsg_show_removable(struct fsg_lun *curlun, char *buf) fsg_show_removable() argument
377 static ssize_t _fsg_store_ro(struct fsg_lun *curlun, bool ro) _fsg_store_ro() argument
391 ssize_t fsg_store_ro(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_store_ro() argument
415 ssize_t fsg_store_nofua(struct fsg_lun *curlun, const char *buf, size_t count) fsg_store_nofua() argument
434 ssize_t fsg_store_file(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_store_file() argument
465 ssize_t fsg_store_cdrom(struct fsg_lun *curlun, struct rw_semaphore *filesem, fsg_store_cdrom() argument
488 ssize_t fsg_store_removable(struct fsg_lun *curlun, const char *buf, fsg_store_removable() argument
H A Dstorage_common.h117 static inline bool fsg_lun_is_open(struct fsg_lun *curlun) fsg_lun_is_open() argument
H A Df_mass_storage.c284 struct fsg_lun *curlun; member in struct:fsg_common
642 struct fsg_lun *curlun = common->curlun; do_read() local
773 struct fsg_lun *curlun = common->curlun; do_write() local
963 struct fsg_lun *curlun = common->curlun; do_synchronize_cache() local
977 static void invalidate_sub(struct fsg_lun *curlun) invalidate_sub() argument
989 struct fsg_lun *curlun = common->curlun; do_verify() local
1091 struct fsg_lun *curlun = common->curlun; do_inquiry() local
1116 struct fsg_lun *curlun = common->curlun; do_request_sense() local
1169 struct fsg_lun *curlun = common->curlun; do_read_capacity() local
1188 struct fsg_lun *curlun = common->curlun; do_read_header() local
1210 struct fsg_lun *curlun = common->curlun; do_read_toc() local
1237 struct fsg_lun *curlun = common->curlun; do_mode_sense() local
1323 struct fsg_lun *curlun = common->curlun; do_start_stop() local
1373 struct fsg_lun *curlun = common->curlun; do_prevent_allow() local
1398 struct fsg_lun *curlun = common->curlun; do_read_format_capacities() local
1414 struct fsg_lun *curlun = common->curlun; do_mode_select() local
1628 struct fsg_lun *curlun = common->curlun; send_status() local
1696 struct fsg_lun *curlun; check_command() local
2351 struct fsg_lun *curlun; handle_exception() local
2565 struct fsg_lun *curlun = common->luns[i]; fsg_main_thread() local
2584 struct fsg_lun *curlun = fsg_lun_from_dev(dev); ro_show() local
2592 struct fsg_lun *curlun = fsg_lun_from_dev(dev); nofua_show() local
2600 struct fsg_lun *curlun = fsg_lun_from_dev(dev); file_show() local
2609 struct fsg_lun *curlun = fsg_lun_from_dev(dev); ro_store() local
2618 struct fsg_lun *curlun = fsg_lun_from_dev(dev); nofua_store() local
2626 struct fsg_lun *curlun = fsg_lun_from_dev(dev); file_store() local

Completed in 132 milliseconds