Lines Matching refs:id
58 unsigned long id; member
71 unsigned long id) in klp_shadow_match() argument
73 return shadow->obj == obj && shadow->id == id; in klp_shadow_match()
83 void *klp_shadow_get(void *obj, unsigned long id) in klp_shadow_get() argument
92 if (klp_shadow_match(shadow, obj, id)) { in klp_shadow_get()
104 static void *__klp_shadow_get_or_alloc(void *obj, unsigned long id, in __klp_shadow_get_or_alloc() argument
114 shadow_data = klp_shadow_get(obj, id); in __klp_shadow_get_or_alloc()
129 shadow_data = klp_shadow_get(obj, id); in __klp_shadow_get_or_alloc()
141 new_shadow->id = id; in __klp_shadow_get_or_alloc()
151 obj, id, err); in __klp_shadow_get_or_alloc()
165 WARN(1, "Duplicate shadow variable <%p, %lx>\n", obj, id); in __klp_shadow_get_or_alloc()
196 void *klp_shadow_alloc(void *obj, unsigned long id, in klp_shadow_alloc() argument
200 return __klp_shadow_get_or_alloc(obj, id, size, gfp_flags, in klp_shadow_alloc()
225 void *klp_shadow_get_or_alloc(void *obj, unsigned long id, in klp_shadow_get_or_alloc() argument
229 return __klp_shadow_get_or_alloc(obj, id, size, gfp_flags, in klp_shadow_get_or_alloc()
253 void klp_shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor) in klp_shadow_free() argument
264 if (klp_shadow_match(shadow, obj, id)) { in klp_shadow_free()
283 void klp_shadow_free_all(unsigned long id, klp_shadow_dtor_t dtor) in klp_shadow_free_all() argument
293 if (klp_shadow_match(shadow, shadow->obj, id)) in klp_shadow_free_all()