Lines Matching refs:new
975 struct cred *new; in keyctl_change_reqkey_auth() local
977 new = prepare_creds(); in keyctl_change_reqkey_auth()
978 if (!new) in keyctl_change_reqkey_auth()
981 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
982 new->request_key_auth = key_get(key); in keyctl_change_reqkey_auth()
984 return commit_creds(new); in keyctl_change_reqkey_auth()
1248 struct cred *new; in keyctl_set_reqkey_keyring() local
1256 new = prepare_creds(); in keyctl_set_reqkey_keyring()
1257 if (!new) in keyctl_set_reqkey_keyring()
1262 ret = install_thread_keyring_to_cred(new); in keyctl_set_reqkey_keyring()
1268 ret = install_process_keyring_to_cred(new); in keyctl_set_reqkey_keyring()
1291 new->jit_keyring = reqkey_defl; in keyctl_set_reqkey_keyring()
1292 commit_creds(new); in keyctl_set_reqkey_keyring()
1295 abort_creds(new); in keyctl_set_reqkey_keyring()