Lines Matching refs:klp_object
48 static bool klp_is_module(struct klp_object *obj) in klp_is_module()
54 static void klp_find_object_module(struct klp_object *obj) in klp_find_object_module()
86 static struct klp_func *klp_find_func(struct klp_object *obj, in klp_find_func()
101 static struct klp_object *klp_find_object(struct klp_patch *patch, in klp_find_object()
102 struct klp_object *old_obj) in klp_find_object()
104 struct klp_object *obj; in klp_find_object()
438 struct klp_object *obj; in patched_show()
440 obj = container_of(kobj, struct klp_object, kobj); in patched_show()
449 ATTRIBUTE_GROUPS(klp_object);
451 static void klp_free_object_dynamic(struct klp_object *obj) in klp_free_object_dynamic()
457 static void klp_init_func_early(struct klp_object *obj,
460 struct klp_object *obj);
462 static struct klp_object *klp_alloc_object_dynamic(const char *name, in klp_alloc_object_dynamic()
465 struct klp_object *obj; in klp_alloc_object_dynamic()
492 struct klp_object *obj) in klp_alloc_func_nop()
520 struct klp_object *old_obj) in klp_add_object_nops()
522 struct klp_object *obj; in klp_add_object_nops()
554 struct klp_object *old_obj; in klp_add_nops()
585 struct klp_object *obj; in klp_kobj_release_object()
587 obj = container_of(kobj, struct klp_object, kobj); in klp_kobj_release_object()
614 static void __klp_free_funcs(struct klp_object *obj, bool nops_only) in __klp_free_funcs()
628 static void klp_free_object_loaded(struct klp_object *obj) in klp_free_object_loaded()
644 struct klp_object *obj, *tmp_obj; in __klp_free_objects()
736 static int klp_init_func(struct klp_object *obj, struct klp_func *func) in klp_init_func()
766 struct klp_object *obj) in klp_apply_object_relocs()
790 struct klp_object *obj) in klp_init_object_loaded()
837 static int klp_init_object(struct klp_patch *patch, struct klp_object *obj) in klp_init_object()
868 static void klp_init_func_early(struct klp_object *obj, in klp_init_func_early()
876 struct klp_object *obj) in klp_init_object_early()
885 struct klp_object *obj; in klp_init_patch_early()
907 struct klp_object *obj; in klp_init_patch()
933 struct klp_object *obj; in __klp_disable_patch()
965 struct klp_object *obj; in __klp_enable_patch()
1034 struct klp_object *obj; in klp_enable_patch()
1157 struct klp_object *obj; in klp_cleanup_module_patches_limited()
1186 struct klp_object *obj; in klp_module_coming()