Searched refs:LO_FLAGS_READ_ONLY (Results 1 – 2 of 2) sorted by relevance
17 LO_FLAGS_READ_ONLY = 1, enumerator30 #define LOOP_CONFIGURE_SETTABLE_FLAGS (LO_FLAGS_READ_ONLY | LO_FLAGS_AUTOCLEAR \
588 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()