Lines Matching refs:key
49 * Preparse instantiation data for a dns_resolver key.
55 * one to be an option of the form 'key=value'. The actual data of interest is
96 "Empty option to dns_resolver key\n");
110 * that's to be recorded as the result in this key */
131 "Option '%*.*s' to dns_resolver key:"
179 static bool dns_resolver_cmp(const struct key *key,
183 const char *src = key->description, *dsp = match_data->raw_data;
222 * Describe a DNS key
224 static void dns_resolver_describe(const struct key *key, struct seq_file *m)
226 int err = key->type_data.x[0];
228 seq_puts(m, key->description);
229 if (key_is_instantiated(key)) {
233 seq_printf(m, ": %u", key->datalen);
239 * - the key's semaphore is read-locked
241 static long dns_resolver_read(const struct key *key,
244 if (key->type_data.x[0])
245 return key->type_data.x[0];
247 return user_read(key, buffer, buflen);
265 struct key *keyring;