Lines Matching refs:key
29 static void rxrpc_destroy_s(struct key *);
30 static void rxrpc_describe_s(const struct key *, struct seq_file *);
101 static void rxrpc_destroy_s(struct key *key) in rxrpc_destroy_s() argument
103 const struct rxrpc_security *sec = key->payload.data[1]; in rxrpc_destroy_s()
106 sec->destroy_server_key(key); in rxrpc_destroy_s()
109 static void rxrpc_describe_s(const struct key *key, struct seq_file *m) in rxrpc_describe_s() argument
111 const struct rxrpc_security *sec = key->payload.data[1]; in rxrpc_describe_s()
113 seq_puts(m, key->description); in rxrpc_describe_s()
115 sec->describe_server_key(key, m); in rxrpc_describe_s()
123 struct key *key; in rxrpc_server_keyring() local
135 key = request_key(&key_type_keyring, description, NULL); in rxrpc_server_keyring()
136 if (IS_ERR(key)) { in rxrpc_server_keyring()
138 _leave(" = %ld", PTR_ERR(key)); in rxrpc_server_keyring()
139 return PTR_ERR(key); in rxrpc_server_keyring()
142 rx->securities = key; in rxrpc_server_keyring()
144 _leave(" = 0 [key %x]", key->serial); in rxrpc_server_keyring()
156 int rxrpc_sock_set_security_keyring(struct sock *sk, struct key *keyring) in rxrpc_sock_set_security_keyring()