Lines Matching refs:current_action
57 struct action *current_action; member
125 manager->current_action = manager->actions[1].next = in vdo_make_action_manager()
140 return manager->current_action->in_use ? manager->current_action->context : NULL; in vdo_get_current_action_context()
165 manager->current_action->parent); in prepare_for_next_zone()
172 manager->current_action->parent); in prepare_for_conclusion()
195 manager->current_action->zone_action(manager->context, zone, completion); in apply_to_zone()
207 struct action *action = manager->current_action; in launch_current_action()
227 manager->current_action->parent); in launch_current_action()
255 struct action action = *(manager->current_action); in finish_action_callback()
257 manager->current_action->in_use = false; in finish_action_callback()
258 manager->current_action = manager->current_action->next; in finish_action_callback()
265 (manager->current_action->in_use || vdo_schedule_default_action(manager)); in finish_action_callback()
358 struct action *current_action; in vdo_schedule_operation_with_context() local
362 if (!manager->current_action->in_use) { in vdo_schedule_operation_with_context()
363 current_action = manager->current_action; in vdo_schedule_operation_with_context()
364 } else if (!manager->current_action->next->in_use) { in vdo_schedule_operation_with_context()
365 current_action = manager->current_action->next; in vdo_schedule_operation_with_context()
373 *current_action = (struct action) { in vdo_schedule_operation_with_context()
381 .next = current_action->next, in vdo_schedule_operation_with_context()
384 if (current_action == manager->current_action) in vdo_schedule_operation_with_context()