Home
last modified time | relevance | path

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

/linux/drivers/md/dm-vdo/
H A Dadmin-state.h70 vdo_get_admin_state_code(const struct admin_state *state) in vdo_get_admin_state_code() function
89 return vdo_get_admin_state_code(state)->normal; in vdo_is_state_normal()
94 return (vdo_get_admin_state_code(state) == VDO_ADMIN_STATE_SUSPENDING); in vdo_is_state_suspending()
99 return (vdo_get_admin_state_code(state) == VDO_ADMIN_STATE_SAVING); in vdo_is_state_saving()
104 return (vdo_get_admin_state_code(state) == VDO_ADMIN_STATE_SAVED); in vdo_is_state_saved()
109 return vdo_get_admin_state_code(state)->draining; in vdo_is_state_draining()
114 return vdo_get_admin_state_code(state)->loading; in vdo_is_state_loading()
119 return (vdo_get_admin_state_code(state) == VDO_ADMIN_STATE_RESUMING); in vdo_is_state_resuming()
124 const struct admin_state_code *code = vdo_get_admin_state_code(state); in vdo_is_state_clean_load()
131 return vdo_get_admin_state_code(state)->quiescing; in vdo_is_state_quiescing()
[all …]
H A Dadmin-state.c161 const struct admin_state_code *code = vdo_get_admin_state_code(state); in get_next_state()
202 if (!vdo_get_admin_state_code(state)->operating) in vdo_finish_operation()
239 vdo_get_admin_state_code(state)->name); in begin_operation()
335 const struct admin_state_code *code = vdo_get_admin_state_code(state); in vdo_start_draining()