Lines Matching refs:instkey
648 struct key *key, *instkey; in keyctl_describe_key() local
659 instkey = key_get_instantiation_authkey(keyid); in keyctl_describe_key()
660 if (!IS_ERR(instkey)) { in keyctl_describe_key()
661 key_put(instkey); in keyctl_describe_key()
1179 struct key *instkey, *dest_keyring; in keyctl_instantiate_key_common() local
1196 instkey = cred->request_key_auth; in keyctl_instantiate_key_common()
1197 if (!instkey) in keyctl_instantiate_key_common()
1200 rka = instkey->payload.data[0]; in keyctl_instantiate_key_common()
1226 dest_keyring, instkey); in keyctl_instantiate_key_common()
1340 struct key *instkey, *dest_keyring; in keyctl_reject_key() local
1357 instkey = cred->request_key_auth; in keyctl_reject_key()
1358 if (!instkey) in keyctl_reject_key()
1361 rka = instkey->payload.data[0]; in keyctl_reject_key()
1373 dest_keyring, instkey); in keyctl_reject_key()
1459 struct key *key, *instkey; in keyctl_set_timeout() local
1469 instkey = key_get_instantiation_authkey(id); in keyctl_set_timeout()
1470 if (!IS_ERR(instkey)) { in keyctl_set_timeout()
1471 key_put(instkey); in keyctl_set_timeout()
1565 struct key *key, *instkey; in keyctl_get_security() local
1577 instkey = key_get_instantiation_authkey(keyid); in keyctl_get_security()
1578 if (IS_ERR(instkey)) in keyctl_get_security()
1579 return PTR_ERR(instkey); in keyctl_get_security()
1580 key_put(instkey); in keyctl_get_security()