Lines Matching refs:new
197 struct rpc_cred_cache *new;
200 new = kmalloc(sizeof(*new), GFP_KERNEL);
201 if (!new)
203 new->hashbits = auth_hashbits;
204 hashsize = 1U << new->hashbits;
205 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL);
206 if (!new->hashtable)
208 spin_lock_init(&new->lock);
209 auth->au_credcache = new;
212 kfree(new);
356 *entry, *new;
379 new = auth->au_ops->crcreate(auth, acred, flags);
380 if (IS_ERR(new)) {
381 cred = new;
393 cred = new;
397 list_add_tail(&new->cr_lru, &free);
489 struct rpc_cred *new;
495 new = cred->cr_ops->crbind(task, cred, lookupflags);
497 new = rpcauth_bind_root_cred(task, lookupflags);
499 new = rpcauth_bind_new_cred(task, lookupflags);
500 if (IS_ERR(new))
501 return PTR_ERR(new);
504 req->rq_cred = new;