Searched refs:from_ref (Results 1 – 2 of 2) sorted by relevance
598 key_ref_t key_ref, from_ref, to_ref; in keyctl_keyring_move() local608 from_ref = lookup_user_key(from_ringid, 0, KEY_NEED_WRITE); in keyctl_keyring_move()609 if (IS_ERR(from_ref)) { in keyctl_keyring_move()610 ret = PTR_ERR(from_ref); in keyctl_keyring_move()620 ret = key_move(key_ref_to_ptr(key_ref), key_ref_to_ptr(from_ref), in keyctl_keyring_move()625 key_ref_put(from_ref); in keyctl_keyring_move()
51 pub use core::slice::{from_mut, from_ref};