Lines Matching defs:to_keyring
1569 * @to_keyring: The keyring to make the link in.
1572 * Make a link in @to_keyring to a key, such that the keyring holds a reference
1577 * some of the user's key data quota to hold the link on @to_keyring.
1584 * matching key in @to_keyring.
1592 struct key *to_keyring,
1598 kenter("%d,%d,%d", key->serial, from_keyring->serial, to_keyring->serial);
1600 if (from_keyring == to_keyring)
1605 key_check(to_keyring);
1607 ret = __key_move_lock(from_keyring, to_keyring, &key->index_key);
1613 ret = __key_link_begin(to_keyring, &key->index_key, &to_edit);
1621 ret = __key_link_check_restriction(to_keyring, key);
1624 ret = __key_link_check_live_key(to_keyring, key);
1629 __key_link(to_keyring, key, &to_edit);
1631 __key_link_end(to_keyring, &key->index_key, to_edit);