dest_keyring       36 certs/system_keyring.c int restrict_link_by_builtin_trusted(struct key *dest_keyring,
dest_keyring       41 certs/system_keyring.c 	return restrict_link_by_signature(dest_keyring, type, payload,
dest_keyring       55 certs/system_keyring.c 	struct key *dest_keyring,
dest_keyring       64 certs/system_keyring.c 	    dest_keyring == secondary_trusted_keys &&
dest_keyring       69 certs/system_keyring.c 	return restrict_link_by_signature(dest_keyring, type, payload,
dest_keyring       70 crypto/asymmetric_keys/restrict.c int restrict_link_by_signature(struct key *dest_keyring,
dest_keyring      118 crypto/asymmetric_keys/restrict.c static int key_or_keyring_common(struct key *dest_keyring,
dest_keyring      129 crypto/asymmetric_keys/restrict.c 	if (!dest_keyring)
dest_keyring      131 crypto/asymmetric_keys/restrict.c 	else if (dest_keyring->type != &key_type_keyring)
dest_keyring      195 crypto/asymmetric_keys/restrict.c 		key = find_asymmetric_key(dest_keyring, sig->auth_ids[0],
dest_keyring      230 crypto/asymmetric_keys/restrict.c int restrict_link_by_key_or_keyring(struct key *dest_keyring,
dest_keyring      235 crypto/asymmetric_keys/restrict.c 	return key_or_keyring_common(dest_keyring, type, payload, trusted,
dest_keyring      257 crypto/asymmetric_keys/restrict.c int restrict_link_by_key_or_keyring_chain(struct key *dest_keyring,
dest_keyring      262 crypto/asymmetric_keys/restrict.c 	return key_or_keyring_common(dest_keyring, type, payload, trusted,
dest_keyring       57 include/crypto/public_key.h extern int restrict_link_by_signature(struct key *dest_keyring,
dest_keyring       62 include/crypto/public_key.h extern int restrict_link_by_key_or_keyring(struct key *dest_keyring,
dest_keyring       19 include/keys/request_key_auth-type.h 	struct key		*dest_keyring;
dest_keyring      148 include/linux/key.h typedef int (*key_restrict_link_func_t)(struct key *dest_keyring,
dest_keyring      161 security/keys/internal.h 					struct key *dest_keyring,
dest_keyring      199 security/keys/internal.h 					struct key *dest_keyring);
dest_keyring     1129 security/keys/keyctl.c 		*_dest_keyring = key_get(rka->dest_keyring);
dest_keyring     1168 security/keys/keyctl.c 	struct key *instkey, *dest_keyring;
dest_keyring     1209 security/keys/keyctl.c 	ret = get_instantiation_keyring(ringid, rka, &dest_keyring);
dest_keyring     1215 security/keys/keyctl.c 				       dest_keyring, instkey);
dest_keyring     1217 security/keys/keyctl.c 	key_put(dest_keyring);
dest_keyring     1330 security/keys/keyctl.c 	struct key *instkey, *dest_keyring;
dest_keyring     1357 security/keys/keyctl.c 	ret = get_instantiation_keyring(ringid, rka, &dest_keyring);
dest_keyring     1363 security/keys/keyctl.c 				  dest_keyring, instkey);
dest_keyring     1365 security/keys/keyctl.c 	key_put(dest_keyring);
dest_keyring      997 security/keys/keyring.c static bool keyring_detect_restriction_cycle(const struct key *dest_keyring,
dest_keyring     1002 security/keys/keyring.c 		if (keyres->key == dest_keyring)
dest_keyring      735 security/keys/process_keys.c 			key = rka->dest_keyring;
dest_keyring      225 security/keys/request_key.c 			 struct key *dest_keyring)
dest_keyring      235 security/keys/request_key.c 				       dest_keyring);
dest_keyring      266 security/keys/request_key.c 	struct key *dest_keyring = *_dest_keyring, *authkey;
dest_keyring      269 security/keys/request_key.c 	kenter("%p", dest_keyring);
dest_keyring      272 security/keys/request_key.c 	if (dest_keyring) {
dest_keyring      274 security/keys/request_key.c 		key_get(dest_keyring);
dest_keyring      289 security/keys/request_key.c 					dest_keyring =
dest_keyring      290 security/keys/request_key.c 						key_get(rka->dest_keyring);
dest_keyring      292 security/keys/request_key.c 				if (dest_keyring) {
dest_keyring      300 security/keys/request_key.c 			dest_keyring = key_get(cred->thread_keyring);
dest_keyring      301 security/keys/request_key.c 			if (dest_keyring)
dest_keyring      306 security/keys/request_key.c 			dest_keyring = key_get(cred->process_keyring);
dest_keyring      307 security/keys/request_key.c 			if (dest_keyring)
dest_keyring      312 security/keys/request_key.c 			dest_keyring = key_get(cred->session_keyring);
dest_keyring      314 security/keys/request_key.c 			if (dest_keyring)
dest_keyring      319 security/keys/request_key.c 			ret = look_up_user_keyrings(NULL, &dest_keyring);
dest_keyring      325 security/keys/request_key.c 			ret = look_up_user_keyrings(&dest_keyring, NULL);
dest_keyring      344 security/keys/request_key.c 		if (dest_keyring && do_perm_check) {
dest_keyring      345 security/keys/request_key.c 			ret = key_permission(make_key_ref(dest_keyring, 1),
dest_keyring      348 security/keys/request_key.c 				key_put(dest_keyring);
dest_keyring      354 security/keys/request_key.c 	*_dest_keyring = dest_keyring;
dest_keyring      355 security/keys/request_key.c 	kleave(" [dk %d]", key_serial(dest_keyring));
dest_keyring      367 security/keys/request_key.c 			       struct key *dest_keyring,
dest_keyring      400 security/keys/request_key.c 	if (dest_keyring) {
dest_keyring      401 security/keys/request_key.c 		ret = __key_link_lock(dest_keyring, &ctx->index_key);
dest_keyring      404 security/keys/request_key.c 		ret = __key_link_begin(dest_keyring, &ctx->index_key, &edit);
dest_keyring      420 security/keys/request_key.c 	if (dest_keyring)
dest_keyring      424 security/keys/request_key.c 	if (dest_keyring)
dest_keyring      425 security/keys/request_key.c 		__key_link_end(dest_keyring, &ctx->index_key, edit);
dest_keyring      437 security/keys/request_key.c 	if (dest_keyring) {
dest_keyring      438 security/keys/request_key.c 		ret = __key_link_check_live_key(dest_keyring, key);
dest_keyring      441 security/keys/request_key.c 		__key_link_end(dest_keyring, &ctx->index_key, edit);
dest_keyring      457 security/keys/request_key.c 	__key_link_end(dest_keyring, &ctx->index_key, edit);
dest_keyring      477 security/keys/request_key.c 					  struct key *dest_keyring,
dest_keyring      489 security/keys/request_key.c 	ret = construct_get_dest_keyring(&dest_keyring);
dest_keyring      499 security/keys/request_key.c 	ret = construct_alloc_key(ctx, dest_keyring, flags, user, &key);
dest_keyring      504 security/keys/request_key.c 				    dest_keyring);
dest_keyring      515 security/keys/request_key.c 	key_put(dest_keyring);
dest_keyring      523 security/keys/request_key.c 	key_put(dest_keyring);
dest_keyring      564 security/keys/request_key.c 				 struct key *dest_keyring,
dest_keyring      586 security/keys/request_key.c 	       callout_info, callout_len, aux, dest_keyring, flags);
dest_keyring      606 security/keys/request_key.c 		if (dest_keyring) {
dest_keyring      617 security/keys/request_key.c 		if (dest_keyring) {
dest_keyring      618 security/keys/request_key.c 			ret = key_link(dest_keyring, key);
dest_keyring      638 security/keys/request_key.c 					     aux, dest_keyring, flags);
dest_keyring      111 security/keys/request_key_auth.c 	key_put(rka->dest_keyring);
dest_keyring      163 security/keys/request_key_auth.c 				 struct key *dest_keyring)
dest_keyring      211 security/keys/request_key_auth.c 	rka->dest_keyring = key_get(dest_keyring);