Lines Matching refs:callback
6 to execute callback functions when a kernel object is (un)patched. They
48 active), used to clean up post-patch callback
54 used to cleanup pre-patch callback resources
59 Each callback is optional, omitting one does not preclude specifying any
63 callback will only be executed if its corresponding patch callback was
68 A callback is only executed if its host klp_object is loaded. For
75 The pre-patch callback, if specified, is expected to return a status
79 callback is provided, the transition is assumed to be safe.) If a
80 pre-patch callback returns failure, the kernel's module loader will:
92 pre_patch callback or for any other reason.
96 will only occur if their corresponding post-patch callback executed).
100 only the post-unpatch callback will be called.
105 Sample livepatch modules demonstrating the callback API can be found in
112 A pre-patch callback can be useful to update a global variable. For
118 patch the data *after* patching is complete with a post-patch callback,
131 pre/post-patch callback could iterate over all such devices, making a