Lines Matching refs:new
206 struct user_struct *up, *new; in alloc_uid() local
213 new = kmem_cache_zalloc(uid_cachep, GFP_KERNEL); in alloc_uid()
214 if (!new) in alloc_uid()
217 new->uid = uid; in alloc_uid()
218 refcount_set(&new->__count, 1); in alloc_uid()
219 if (user_epoll_alloc(new)) { in alloc_uid()
220 kmem_cache_free(uid_cachep, new); in alloc_uid()
223 ratelimit_state_init(&new->ratelimit, HZ, 100); in alloc_uid()
224 ratelimit_set_flags(&new->ratelimit, RATELIMIT_MSG_ON_RELEASE); in alloc_uid()
233 user_epoll_free(new); in alloc_uid()
234 kmem_cache_free(uid_cachep, new); in alloc_uid()
236 uid_hash_insert(new, hashent); in alloc_uid()
237 up = new; in alloc_uid()