Lines Matching +full:per +full:- +full:context
1 /* SPDX-License-Identifier: GPL-2.0-only */
9 #include "admin-state.h"
13 * An action_manager provides a generic mechanism for applying actions to multi-zone entities (such
14 * as the block map or slab depot). Each action manager is tied to a specific context for which it
15 * manages actions. The manager ensures that only one action is active on that context at a time,
28 * an optional method to be run on the initiator thread once the per-zone method has been
38 * @context: The object which holds the per-zone context for the action
42 typedef void (*vdo_zone_action_fn)(void *context, zone_count_t zone_number,
48 * @context: The object which holds the per-zone context for the action
51 typedef void (*vdo_action_preamble_fn)(void *context, struct vdo_completion *parent);
56 * @context: The object which holds the per-zone context for the action
60 typedef int (*vdo_action_conclusion_fn)(void *context);
64 * @context: The object which holds the per-zone context for the action
68 typedef bool (*vdo_action_scheduler_fn)(void *context);
72 * @context: The action context
75 typedef thread_id_t (*vdo_zone_thread_getter_fn)(void *context, zone_count_t zone_number);
81 thread_id_t initiator_thread_id, void *context,
108 void *context, struct vdo_completion *parent);