Searched refs:vdo_get_admin_state_code (Results 1 – 8 of 8) 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 …]
160 const struct admin_state_code *code = vdo_get_admin_state_code(state); in get_next_state()199 if (!vdo_get_admin_state_code(state)->operating) in vdo_finish_operation()234 vdo_get_admin_state_code(state)->name); in begin_operation()326 const struct admin_state_code *code = vdo_get_admin_state_code(state); in vdo_start_draining()
900 const struct admin_state_code *code = vdo_get_admin_state_code(&vdo->admin.state); in vdo_map_bio()2006 if (vdo_get_admin_state_code(state)->quiescent) { in suspend_callback()2051 vdo_get_admin_state_code(state), completion); in suspend_callback()2055 vdo_drain_block_map(vdo->block_map, vdo_get_admin_state_code(state), in suspend_callback()2061 vdo_get_admin_state_code(state), completion); in suspend_callback()2065 vdo_drain_slab_depot(vdo->depot, vdo_get_admin_state_code(state), in suspend_callback()
135 return vdo_get_admin_state_code(&manager->state); in vdo_get_current_manager_operation()
185 code = vdo_get_admin_state_code(&slab->state); in check_if_slab_drained()788 operation = vdo_get_admin_state_code(&journal->slab->state); in write_slab_journal_block()2311 const struct admin_state_code *state = vdo_get_admin_state_code(&slab->state); in drain_slab()2601 const struct admin_state_code *operation = vdo_get_admin_state_code(state); in initiate_slab_action()3365 vdo_get_admin_state_code(&allocator->state); in apply_to_slabs()3382 vdo_get_admin_state_code(&allocator->state); in finish_loading_allocator()3442 const struct admin_state_code *operation = vdo_get_admin_state_code(state); in initiate_load()3641 vdo_get_admin_state_code(&scrubber->admin_state)->name, in vdo_dump_block_allocator()4794 vdo_get_admin_state_code(&allocator->state), in do_drain_step()
400 const struct admin_state_code *code = vdo_get_admin_state_code(&flusher->state); in vdo_launch_flush()
773 vdo_get_admin_state_code(&packer->state)->name, in vdo_dump_packer()
891 return vdo_get_admin_state_code(&vdo->admin.state); in vdo_get_admin_state()