Searched refs:klp_object (Results 1 – 13 of 13) sorted by relevance
88 struct klp_object;105 int (*pre_patch)(struct klp_object *obj);106 void (*post_patch)(struct klp_object *obj);107 void (*pre_unpatch)(struct klp_object *obj);108 void (*post_unpatch)(struct klp_object *obj);122 struct klp_object { struct146 struct klp_object *objs; argument169 struct klp_object *obj);
9 static inline bool klp_is_object_loaded(struct klp_object *obj) in klp_is_object_loaded()14 static inline int klp_pre_patch_callback(struct klp_object *obj) in klp_pre_patch_callback()26 static inline void klp_post_patch_callback(struct klp_object *obj) in klp_post_patch_callback()32 static inline void klp_pre_unpatch_callback(struct klp_object *obj) in klp_pre_unpatch_callback()38 static inline void klp_post_unpatch_callback(struct klp_object *obj) in klp_post_unpatch_callback()
52 static bool klp_is_module(struct klp_object *obj) in klp_is_module()58 static void klp_find_object_module(struct klp_object *obj) in klp_find_object_module()232 struct klp_object *obj) in klp_write_object_relocations()283 struct klp_object *obj; in __klp_disable_patch()352 struct klp_object *obj; in __klp_enable_patch()634 static void klp_free_funcs_limited(struct klp_object *obj, in klp_free_funcs_limited()644 static void klp_free_object_loaded(struct klp_object *obj) in klp_free_object_loaded()659 struct klp_object *limit) in klp_free_objects_limited()661 struct klp_object *obj; in klp_free_objects_limited()676 static int klp_init_func(struct klp_object *obj, struct klp_func *func) in klp_init_func()[all …]
30 int klp_patch_object(struct klp_object *obj);31 void klp_unpatch_object(struct klp_object *obj);
239 void klp_unpatch_object(struct klp_object *obj) in klp_unpatch_object()250 int klp_patch_object(struct klp_object *obj) in klp_patch_object()272 struct klp_object *obj; in klp_unpatch_objects()
81 struct klp_object *obj; in klp_complete_transition()258 struct klp_object *obj; in klp_check_stack()460 struct klp_object *obj; in klp_init_transition()
110 static void callback_info(const char *callback, struct klp_object *obj) in callback_info()120 static int pre_patch_callback(struct klp_object *obj) in pre_patch_callback()127 static void post_patch_callback(struct klp_object *obj) in post_patch_callback()133 static void pre_unpatch_callback(struct klp_object *obj) in pre_unpatch_callback()139 static void post_unpatch_callback(struct klp_object *obj) in post_unpatch_callback()160 static struct klp_object objs[] = {
58 static struct klp_object objs[] = {
118 static struct klp_object objs[] = {
141 static struct klp_object objs[] = {
27 Callbacks are part of the klp_object structure and their implementation28 is specific to that klp_object. Other livepatch objects may or may not29 be patched, irrespective of the target klp_object's current state.33 * Pre-patch - before a klp_object is patched35 * Post-patch - after a klp_object has been patched and is active38 * Pre-unpatch - before a klp_object is unpatched (ie, patched code is42 * Post-unpatch - after a klp_object has been patched, all code has55 A callback is only executed if its host klp_object is loaded. For64 to the livepatching core that patching of the current klp_object is not78 for a given klp_object if the object failed to patch, due to a failed[all …]
279 + struct klp_object defines an array of patched functions (struct290 klp_object).
25 struct klp_object *obj) in arch_klp_init_object_loaded()