Home
last modified time | relevance | path

Searched refs:LO_FLAGS_READ_ONLY (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dloop.h17 LO_FLAGS_READ_ONLY = 1, enumerator
30 #define LOOP_CONFIGURE_SETTABLE_FLAGS (LO_FLAGS_READ_ONLY | LO_FLAGS_AUTOCLEAR \
/linux-6.6.21/drivers/block/
Dloop.c588 if (!(lo->lo_flags & LO_FLAGS_READ_ONLY)) in loop_change_fd()
1053 lo->lo_flags |= LO_FLAGS_READ_ONLY; in loop_configure()
1069 set_disk_ro(lo->lo_disk, (lo->lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_configure()
1077 if (!(lo->lo_flags & LO_FLAGS_READ_ONLY) && file->f_op->fsync) in loop_configure()
1896 if (write && (lo->lo_flags & LO_FLAGS_READ_ONLY)) { in loop_handle_cmd()