Searched refs:vdo_get_admin_state_code (Results 1 – 2 of 2) sorted by relevance
70 vdo_get_admin_state_code(const struct admin_state *state) in vdo_get_admin_state_code() function89 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 …]
161 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()