Home
last modified time | relevance | path

Searched refs:is_read_only (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Drecovery-journal.c321 static inline bool is_read_only(struct recovery_journal *journal) in is_read_only() function
334 if (is_read_only(journal)) { in check_for_drain_complete()
1176 int result = (is_read_only(journal) ? VDO_READ_ONLY : VDO_SUCCESS);
1220 if (is_read_only(journal)) { in notify_commit_waiters()
1245 if (!is_read_only(journal) && in recycle_journal_blocks()
1379 is_read_only(journal)) in write_block()
1457 if (is_read_only(journal)) { in vdo_add_recovery_journal_entry()
1675 if (is_read_only(journal)) { in vdo_resume_recovery_journal()
H A Dvdo.c1177 bool is_read_only = vdo_in_read_only_mode(vdo); in make_thread_read_only()
1180 if (is_read_only) { in make_thread_read_only()
1192 vdo->threads[id].is_read_only = is_read_only;
1281 thread->is_read_only = true;
1384 if (thread->is_read_only) {
1390 thread->is_read_only = true;
1423 return vdo->threads[vdo_get_callback_thread_id()].is_read_only; in get_vdo_error_statistics()
1044 bool is_read_only = vdo_in_read_only_mode(vdo); vdo_enable_read_only_entry() local
H A Dvdo.h67 bool is_read_only; member
/linux/drivers/md/
H A Ddm-thin.c1438 static bool is_read_only(struct pool *pool) in is_read_only() function
1455 if (ooms_reason && !is_read_only(pool)) { in check_for_metadata_space()