Lines Matching +full:non +full:- +full:live
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * livepatch.h - Kernel Live Patching Core
22 #define KLP_UNDEFINED -1
27 * struct klp_func - function structure for live patching
84 * struct klp_callbacks - pre/post live-(un)patch callback structure
89 * @post_unpatch_enabled: flag indicating if post-unpatch callback
92 * All callbacks are optional. Only the pre-patch callback, if provided,
94 * patch for any reason, including a non-zero error status returned from
95 * the pre-patch callback, no further callbacks will be executed.
106 * struct klp_object - kernel object structure for live patching
134 * struct klp_state - state of the system modified by the livepatch
135 * @id: system state identifier (non-zero)
146 * struct klp_patch - patch structure for live patching
147 * @mod: reference to the live patch module
156 * @free_work: patch cleanup from workqueue-context
177 for (obj = patch->objs; obj->funcs || obj->name; obj++)
180 list_for_each_entry_safe(obj, tmp_obj, &patch->obj_list, node)
183 list_for_each_entry(obj, &patch->obj_list, node)
186 for (func = obj->funcs; \
187 func->old_name || func->new_func || func->old_sympos; \
191 list_for_each_entry_safe(func, tmp_func, &obj->func_list, node)
194 list_for_each_entry(func, &obj->func_list, node)