Searched refs:is_read_only (Results 1 – 5 of 5) sorted by relevance
321 static inline bool is_read_only(struct recovery_journal *journal) in is_read_only() function334 if (is_read_only(journal)) { in check_for_drain_complete()1181 int result = (is_read_only(journal) ? VDO_READ_ONLY : VDO_SUCCESS); in continue_committed_waiter()1225 if (is_read_only(journal)) { in notify_commit_waiters()1250 if (!is_read_only(journal) && in recycle_journal_blocks()1384 is_read_only(journal)) in write_block()1462 if (is_read_only(journal)) { in vdo_add_recovery_journal_entry()1680 if (is_read_only(journal)) { in vdo_resume_recovery_journal()
1044 bool is_read_only = vdo_in_read_only_mode(vdo); in vdo_enable_read_only_entry() local1047 if (is_read_only) { in vdo_enable_read_only_entry()1059 vdo->threads[id].is_read_only = is_read_only; in vdo_enable_read_only_entry()1148 thread->is_read_only = true; in make_thread_read_only()1251 if (thread->is_read_only) { in vdo_enter_read_only_mode()1257 thread->is_read_only = true; in vdo_enter_read_only_mode()1290 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.
1438 static bool is_read_only(struct pool *pool) in is_read_only() function1455 if (ooms_reason && !is_read_only(pool)) { in check_for_metadata_space()