Lines Matching refs:obj
98 int (*pre_patch)(struct klp_object *obj);
99 void (*post_patch)(struct klp_object *obj);
100 void (*pre_unpatch)(struct klp_object *obj);
101 void (*post_unpatch)(struct klp_object *obj);
176 #define klp_for_each_object_static(patch, obj) \ argument
177 for (obj = patch->objs; obj->funcs || obj->name; obj++)
179 #define klp_for_each_object_safe(patch, obj, tmp_obj) \ argument
180 list_for_each_entry_safe(obj, tmp_obj, &patch->obj_list, node)
182 #define klp_for_each_object(patch, obj) \ argument
183 list_for_each_entry(obj, &patch->obj_list, node)
185 #define klp_for_each_func_static(obj, func) \ argument
186 for (func = obj->funcs; \
190 #define klp_for_each_func_safe(obj, func, tmp_func) \ argument
191 list_for_each_entry_safe(func, tmp_func, &obj->func_list, node)
193 #define klp_for_each_func(obj, func) \ argument
194 list_for_each_entry(func, &obj->func_list, node)
216 typedef int (*klp_shadow_ctor_t)(void *obj,
219 typedef void (*klp_shadow_dtor_t)(void *obj, void *shadow_data);
221 void *klp_shadow_get(void *obj, unsigned long id);
222 void *klp_shadow_alloc(void *obj, unsigned long id,
225 void *klp_shadow_get_or_alloc(void *obj, unsigned long id,
228 void klp_shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor);