Lines Matching refs:vdo_get_admin_state_code
70 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()
136 return vdo_get_admin_state_code(state)->quiescent; in vdo_is_state_quiescent()