Searched refs:new_shadow (Results 1 – 1 of 1) sorted by relevance
109 struct klp_shadow *new_shadow; in __klp_shadow_get_or_alloc() local123 new_shadow = kzalloc(size + sizeof(*new_shadow), gfp_flags); in __klp_shadow_get_or_alloc()124 if (!new_shadow) in __klp_shadow_get_or_alloc()136 kfree(new_shadow); in __klp_shadow_get_or_alloc()140 new_shadow->obj = obj; in __klp_shadow_get_or_alloc()141 new_shadow->id = id; in __klp_shadow_get_or_alloc()146 err = ctor(obj, new_shadow->data, ctor_data); in __klp_shadow_get_or_alloc()149 kfree(new_shadow); in __klp_shadow_get_or_alloc()157 hash_add_rcu(klp_shadow_hash, &new_shadow->node, in __klp_shadow_get_or_alloc()158 (unsigned long)new_shadow->obj); in __klp_shadow_get_or_alloc()[all …]