Lines Matching defs:cred
988 struct cred *new;
1030 const struct cred *cred = current_cred();
1046 instkey = cred->request_key_auth;
1204 const struct cred *cred = current_cred();
1223 instkey = cred->request_key_auth;
1261 struct cred *new;
1492 const struct cred *mycred, *pcred;
1495 struct cred *cred;
1504 /* our parent is going to need a new cred struct, a new tgcred struct
1507 cred = cred_alloc_blank();
1508 if (!cred)
1510 newwork = &cred->rcu;
1512 cred->session_keyring = key_ref_to_ptr(keyring_r);
1570 put_cred(container_of(oldwork, struct cred, rcu));
1572 put_cred(cred);