Symbol: klp_object
include/linux/livepatch.h
138
struct klp_object *objs;
include/linux/livepatch_external.h
24
struct klp_object;
include/linux/livepatch_external.h
26
typedef int (*klp_pre_patch_t)(struct klp_object *obj);
include/linux/livepatch_external.h
27
typedef void (*klp_post_patch_t)(struct klp_object *obj);
include/linux/livepatch_external.h
28
typedef void (*klp_pre_unpatch_t)(struct klp_object *obj);
include/linux/livepatch_external.h
29
typedef void (*klp_post_unpatch_t)(struct klp_object *obj);
kernel/livepatch/core.c
1010
struct klp_object *obj;
kernel/livepatch/core.c
1042
struct klp_object *obj;
kernel/livepatch/core.c
106
static struct klp_object *klp_find_object(struct klp_patch *patch,
kernel/livepatch/core.c
107
struct klp_object *old_obj)
kernel/livepatch/core.c
109
struct klp_object *obj;
kernel/livepatch/core.c
1111
struct klp_object *obj;
kernel/livepatch/core.c
1234
struct klp_object *obj;
kernel/livepatch/core.c
1263
struct klp_object *obj;
kernel/livepatch/core.c
49
static bool klp_is_module(struct klp_object *obj)
kernel/livepatch/core.c
499
struct klp_object *obj;
kernel/livepatch/core.c
501
obj = container_of(kobj, struct klp_object, kobj);
kernel/livepatch/core.c
510
ATTRIBUTE_GROUPS(klp_object);
kernel/livepatch/core.c
512
static void klp_free_object_dynamic(struct klp_object *obj)
kernel/livepatch/core.c
518
static void klp_init_func_early(struct klp_object *obj,
kernel/livepatch/core.c
521
struct klp_object *obj);
kernel/livepatch/core.c
523
static struct klp_object *klp_alloc_object_dynamic(const char *name,
kernel/livepatch/core.c
526
struct klp_object *obj;
kernel/livepatch/core.c
55
static void klp_find_object_module(struct klp_object *obj)
kernel/livepatch/core.c
553
struct klp_object *obj)
kernel/livepatch/core.c
581
struct klp_object *old_obj)
kernel/livepatch/core.c
583
struct klp_object *obj;
kernel/livepatch/core.c
618
struct klp_object *old_obj;
kernel/livepatch/core.c
649
struct klp_object *obj;
kernel/livepatch/core.c
651
obj = container_of(kobj, struct klp_object, kobj);
kernel/livepatch/core.c
678
static void __klp_free_funcs(struct klp_object *obj, bool nops_only)
kernel/livepatch/core.c
692
static void klp_free_object_loaded(struct klp_object *obj)
kernel/livepatch/core.c
708
struct klp_object *obj, *tmp_obj;
kernel/livepatch/core.c
800
static int klp_init_func(struct klp_object *obj, struct klp_func *func)
kernel/livepatch/core.c
830
struct klp_object *obj,
kernel/livepatch/core.c
85
static struct klp_func *klp_find_func(struct klp_object *obj,
kernel/livepatch/core.c
854
struct klp_object *obj)
kernel/livepatch/core.c
860
struct klp_object *obj)
kernel/livepatch/core.c
867
struct klp_object *obj)
kernel/livepatch/core.c
914
static int klp_init_object(struct klp_patch *patch, struct klp_object *obj)
kernel/livepatch/core.c
945
static void klp_init_func_early(struct klp_object *obj,
kernel/livepatch/core.c
953
struct klp_object *obj)
kernel/livepatch/core.c
962
struct klp_object *obj;
kernel/livepatch/core.c
984
struct klp_object *obj;
kernel/livepatch/core.h
21
static inline bool klp_is_object_loaded(struct klp_object *obj)
kernel/livepatch/core.h
26
static inline int klp_pre_patch_callback(struct klp_object *obj)
kernel/livepatch/core.h
38
static inline void klp_post_patch_callback(struct klp_object *obj)
kernel/livepatch/core.h
44
static inline void klp_pre_unpatch_callback(struct klp_object *obj)
kernel/livepatch/core.h
50
static inline void klp_post_unpatch_callback(struct klp_object *obj)
kernel/livepatch/patch.c
230
static void __klp_unpatch_object(struct klp_object *obj, bool nops_only)
kernel/livepatch/patch.c
247
void klp_unpatch_object(struct klp_object *obj)
kernel/livepatch/patch.c
252
int klp_patch_object(struct klp_object *obj)
kernel/livepatch/patch.c
274
struct klp_object *obj;
kernel/livepatch/patch.h
30
int klp_patch_object(struct klp_object *obj);
kernel/livepatch/patch.h
31
void klp_unpatch_object(struct klp_object *obj);
kernel/livepatch/transition.c
257
struct klp_object *obj;
kernel/livepatch/transition.c
556
struct klp_object *obj;
kernel/livepatch/transition.c
83
struct klp_object *obj;
samples/livepatch/livepatch-callbacks-demo.c
108
static int pre_patch_callback(struct klp_object *obj)
samples/livepatch/livepatch-callbacks-demo.c
115
static void post_patch_callback(struct klp_object *obj)
samples/livepatch/livepatch-callbacks-demo.c
121
static void pre_unpatch_callback(struct klp_object *obj)
samples/livepatch/livepatch-callbacks-demo.c
127
static void post_unpatch_callback(struct klp_object *obj)
samples/livepatch/livepatch-callbacks-demo.c
148
static struct klp_object objs[] = {
samples/livepatch/livepatch-callbacks-demo.c
98
static void callback_info(const char *callback, struct klp_object *obj)
samples/livepatch/livepatch-sample.c
46
static struct klp_object objs[] = {
samples/livepatch/livepatch-shadow-fix1.c
146
static struct klp_object objs[] = {
samples/livepatch/livepatch-shadow-fix2.c
106
static struct klp_object objs[] = {
scripts/livepatch/init.c
18
struct klp_object *objs;
scripts/livepatch/init.c
37
objs = kzalloc(sizeof(struct klp_object) * (nr_objs + 1), GFP_KERNEL);
scripts/livepatch/init.c
48
struct klp_object *obj = objs + i;
scripts/livepatch/init.c
93
struct klp_object *obj;
tools/include/linux/livepatch_external.h
24
struct klp_object;
tools/include/linux/livepatch_external.h
26
typedef int (*klp_pre_patch_t)(struct klp_object *obj);
tools/include/linux/livepatch_external.h
27
typedef void (*klp_post_patch_t)(struct klp_object *obj);
tools/include/linux/livepatch_external.h
28
typedef void (*klp_pre_unpatch_t)(struct klp_object *obj);
tools/include/linux/livepatch_external.h
29
typedef void (*klp_post_unpatch_t)(struct klp_object *obj);
tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.c
29
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo.c
21
static void callback_info(const char *callback, struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo.c
31
static int pre_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo.c
38
static void post_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo.c
44
static void pre_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo.c
50
static void post_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo.c
71
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo2.c
21
static void callback_info(const char *callback, struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo2.c
31
static int pre_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo2.c
38
static void post_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo2.c
44
static void pre_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo2.c
50
static void post_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_demo2.c
59
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_livepatch.c
25
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_mod_patch.c
26
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_state.c
104
static void pre_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state.c
111
static void post_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state.c
121
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_state.c
23
static void callback_info(const char *callback, struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state.c
90
static int pre_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state.c
97
static void post_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state2.c
119
static int pre_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state2.c
126
static void post_patch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state2.c
133
static void pre_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state2.c
140
static void post_unpatch_callback(struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_state2.c
150
static struct klp_object objs[] = {
tools/testing/selftests/livepatch/test_modules/test_klp_state2.c
23
static void callback_info(const char *callback, struct klp_object *obj)
tools/testing/selftests/livepatch/test_modules/test_klp_syscall.c
80
static struct klp_object objs[] = {