Searched refs:fsg_lun_is_open (Results 1 – 3 of 3) sorted by relevance
260 if (fsg_lun_is_open(curlun)) in fsg_lun_open()321 return sprintf(buf, "%d\n", fsg_lun_is_open(curlun) in fsg_show_ro()340 if (fsg_lun_is_open(curlun)) { /* Get the complete pathname */ in fsg_show_file()382 if (fsg_lun_is_open(curlun)) { in _fsg_store_ro()442 if (curlun->prevent_medium_removal && fsg_lun_is_open(curlun)) { in fsg_store_file()459 } else if (fsg_lun_is_open(curlun)) { in fsg_store_file()
125 static inline bool fsg_lun_is_open(struct fsg_lun *curlun) in fsg_lun_is_open() function
1387 if (!fsg_lun_is_open(curlun)) { in do_start_stop()1843 if (curlun && !fsg_lun_is_open(curlun) && needs_medium) { in check_command()2609 if (curlun && fsg_lun_is_open(curlun)) in fsg_main_thread()