Lines Matching defs:new
167 struct ucounts *ucounts, *new;
175 new = kzalloc(sizeof(*new), GFP_KERNEL);
176 if (!new)
179 new->ns = ns;
180 new->uid = uid;
181 atomic_set(&new->count, 1);
186 kfree(new);
188 hlist_add_head(&new->node, hashent);
189 get_user_ns(new->ns);
191 return new;
269 long new = atomic_long_add_return(v, &iter->rlimit[type]);
270 if (new < 0 || new > max)
273 ret = new;
282 long new = -1; /* Silence compiler warning */
287 new = dec;
289 return (new == 0);
318 long new = atomic_long_add_return(1, &iter->rlimit[type]);
319 if (new < 0 || new > max)
322 ret = new;
328 if (new != 1)