Home
last modified time | relevance | path

Searched refs:prevent_medium_removal (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Dstorage_common.c442 if (curlun->prevent_medium_removal && fsg_lun_is_open(curlun)) { in fsg_store_file()
534 curlun->prevent_medium_removal = 0; in fsg_store_forced_eject()
H A Dstorage_common.h107 unsigned int prevent_medium_removal:1; member
H A Df_mass_storage.c1395 if (curlun->prevent_medium_removal) { in do_start_stop()
1431 if (curlun->prevent_medium_removal && !prevent) in do_prevent_allow()
1433 curlun->prevent_medium_removal = prevent; in do_prevent_allow()
2496 curlun->prevent_medium_removal = 0; in handle_exception()
/openbmc/u-boot/drivers/usb/gadget/
H A Dstorage_common.c283 unsigned int prevent_medium_removal:1; member
H A Df_mass_storage.c1340 if (curlun->prevent_medium_removal && !prevent) in do_prevent_allow()
1342 curlun->prevent_medium_removal = prevent; in do_prevent_allow()