Lines Matching +full:non +full:- +full:live
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * livepatch.h - Kernel Live Patching Core
21 #define KLP_UNDEFINED -1
26 * struct klp_func - function structure for live patching
83 * struct klp_callbacks - pre/post live-(un)patch callback structure
88 * @post_unpatch_enabled: flag indicating if post-unpatch callback
91 * All callbacks are optional. Only the pre-patch callback, if provided,
93 * patch for any reason, including a non-zero error status returned from
94 * the pre-patch callback, no further callbacks will be executed.
105 * struct klp_object - kernel object structure for live patching
133 * struct klp_state - state of the system modified by the livepatch
134 * @id: system state identifier (non-zero)
145 * struct klp_patch - patch structure for live patching
146 * @mod: reference to the live patch module
155 * @free_work: patch cleanup from workqueue-context
176 for (obj = patch->objs; obj->funcs || obj->name; obj++)
179 list_for_each_entry_safe(obj, tmp_obj, &patch->obj_list, node)
182 list_for_each_entry(obj, &patch->obj_list, node)
185 for (func = obj->funcs; \
186 func->old_name || func->new_func || func->old_sympos; \
190 list_for_each_entry_safe(func, tmp_func, &obj->func_list, node)
193 list_for_each_entry(func, &obj->func_list, node)