Home
last modified time | relevance | path

Searched refs:fsg_lun_is_open (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/function/
Dstorage_common.c259 if (fsg_lun_is_open(curlun)) in fsg_lun_open()
320 return sprintf(buf, "%d\n", fsg_lun_is_open(curlun) in fsg_show_ro()
339 if (fsg_lun_is_open(curlun)) { /* Get the complete pathname */ in fsg_show_file()
381 if (fsg_lun_is_open(curlun)) { in _fsg_store_ro()
441 if (curlun->prevent_medium_removal && fsg_lun_is_open(curlun)) { in fsg_store_file()
458 } else if (fsg_lun_is_open(curlun)) { in fsg_store_file()
Dstorage_common.h125 static inline bool fsg_lun_is_open(struct fsg_lun *curlun) in fsg_lun_is_open() function
Df_mass_storage.c1370 if (!fsg_lun_is_open(curlun)) { in do_start_stop()
1826 if (curlun && !fsg_lun_is_open(curlun) && needs_medium) { in check_command()
2592 if (curlun && fsg_lun_is_open(curlun)) in fsg_main_thread()
2913 if (fsg_lun_is_open(lun)) { in fsg_common_create_lun()