Searched refs:is_read_only (Results 1 – 5 of 5) sorted by relevance
319 static inline bool is_read_only(struct recovery_journal *journal) in is_read_only() function332 if (is_read_only(journal)) { in check_for_drain_complete()1175 int result = (is_read_only(journal) ? VDO_READ_ONLY : VDO_SUCCESS); in continue_committed_waiter()1219 if (is_read_only(journal)) { in notify_commit_waiters()1244 if (!is_read_only(journal) && in recycle_journal_blocks()1376 is_read_only(journal)) in write_block()1454 if (is_read_only(journal)) { in vdo_add_recovery_journal_entry()1676 if (is_read_only(journal)) { in vdo_resume_recovery_journal()
1050 bool is_read_only = vdo_in_read_only_mode(vdo); in vdo_enable_read_only_entry() local1053 if (is_read_only) { in vdo_enable_read_only_entry()1065 vdo->threads[id].is_read_only = is_read_only; in vdo_enable_read_only_entry()1154 thread->is_read_only = true; in make_thread_read_only()1257 if (thread->is_read_only) { in vdo_enter_read_only_mode()1263 thread->is_read_only = true; in vdo_enter_read_only_mode()1296 return vdo->threads[vdo_get_callback_thread_id()].is_read_only; in vdo_is_read_only()
67 bool is_read_only; member
271 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter273 As soon as it gets fixed is_read_only() will die.297 is_read_only() is gone; use bdev_read_only() instead.
1440 static bool is_read_only(struct pool *pool) in is_read_only() function1457 if (ooms_reason && !is_read_only(pool)) { in check_for_metadata_space()
Completed in 26 milliseconds