Lines Matching refs:ENOKEY
416 * successful, -EAGAIN if we didn't find any matching key or -ENOKEY if we only
428 /* we want to return -EAGAIN or -ENOKEY if any of the keyrings were
433 * in terms of priority: success > -ENOKEY > -EAGAIN > other error
448 case -ENOKEY: /* negative key */
469 case -ENOKEY: /* negative key */
491 case -ENOKEY: /* negative key */
513 case -ENOKEY: /* negative key */
574 if (err == ERR_PTR(-ENOKEY) || ret == ERR_PTR(-ENOKEY))
575 key_ref = ERR_PTR(-ENOKEY);
602 * -EINVAL if the key ID is invalid; -ENOKEY if the key ID does not correspond
627 key_ref = ERR_PTR(-ENOKEY);
867 if (PTR_ERR(keyring) == -ENOKEY) {