Lines Matching refs:dest_ref
174 key_ref_t dest_ref; in SYSCALL_DEFINE4() local
204 dest_ref = NULL; in SYSCALL_DEFINE4()
206 dest_ref = lookup_user_key(destringid, KEY_LOOKUP_CREATE, in SYSCALL_DEFINE4()
208 if (IS_ERR(dest_ref)) { in SYSCALL_DEFINE4()
209 ret = PTR_ERR(dest_ref); in SYSCALL_DEFINE4()
223 callout_len, NULL, key_ref_to_ptr(dest_ref), in SYSCALL_DEFINE4()
242 key_ref_put(dest_ref); in SYSCALL_DEFINE4()
722 key_ref_t keyring_ref, key_ref, dest_ref; in keyctl_keyring_search() local
745 dest_ref = NULL; in keyctl_keyring_search()
747 dest_ref = lookup_user_key(destringid, KEY_LOOKUP_CREATE, in keyctl_keyring_search()
749 if (IS_ERR(dest_ref)) { in keyctl_keyring_search()
750 ret = PTR_ERR(dest_ref); in keyctl_keyring_search()
774 if (dest_ref) { in keyctl_keyring_search()
779 ret = key_link(key_ref_to_ptr(dest_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_search()
791 key_ref_put(dest_ref); in keyctl_keyring_search()