Lines Matching refs:type
31 static int key_get_type_from_user(char *type,
37 ret = strncpy_from_user(type, _type, len);
42 if (type[0] == '.')
44 type[len - 1] = '\0';
52 * If the description is NULL or an empty string, the key type is asked to
67 char type[32], *description;
77 ret = key_get_type_from_user(type, _type, sizeof(type));
92 (strncmp(type, "keyring", 7) == 0)) {
128 key_ref = key_create_or_update(keyring_ref, type, description,
173 char type[32], *description, *callout_info;
176 /* pull the type into kernel space */
177 ret = key_get_type_from_user(type, _type, sizeof(type));
211 /* find the key type */
212 ktype = key_type_lookup(type);
310 * The key must grant the caller Write permission and the key type must support
314 * If successful, 0 will be returned. If the key type does not support
363 * work. The key type should give up its quota claim when revoked. The key
556 * type;uid;gid;perm;description<NUL>
599 key->type->name,
640 char type[32], *description;
643 /* pull the type and description into kernel space */
644 ret = key_get_type_from_user(type, _type, sizeof(type));
672 /* find the key type */
673 ktype = key_type_lookup(type);
763 if (key->type->read) {
767 ret = key->type->read(key, buffer, buflen);