Searched refs:prevent_medium_removal (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.h68 * marked as non-removable or with prevent_medium_removal flag
H A Dstorage_common.h100 unsigned int prevent_medium_removal:1; member in struct:fsg_lun
H A Dstorage_common.c439 if (curlun->prevent_medium_removal && fsg_lun_is_open(curlun)) { fsg_store_file()
H A Df_mass_storage.c1353 if (curlun->prevent_medium_removal) { do_start_stop()
1389 if (curlun->prevent_medium_removal && !prevent) do_prevent_allow()
1391 curlun->prevent_medium_removal = prevent; do_prevent_allow()
2426 curlun->prevent_medium_removal = 0; handle_exception()

Completed in 108 milliseconds