Lines Matching full:persistent
2 /* General persistent per-UID keyrings register
16 * Create the persistent keyring register for the current user namespace.
36 * Create the persistent keyring for the specified user.
43 struct key *persistent; in key_create_persistent() local
57 persistent = keyring_alloc(index_key->description, in key_create_persistent()
63 if (IS_ERR(persistent)) in key_create_persistent()
64 return ERR_CAST(persistent); in key_create_persistent()
66 return make_key_ref(persistent, true); in key_create_persistent()
70 * Get the persistent keyring for a specific UID and link it to the nominated
77 struct key *persistent; in key_get_persistent() local
113 persistent = key_ref_to_ptr(persistent_ref); in key_get_persistent()
114 ret = key_link(key_ref_to_ptr(dest_ref), persistent); in key_get_persistent()
116 key_set_timeout(persistent, persistent_keyring_expiry); in key_get_persistent()
117 ret = persistent->serial; in key_get_persistent()
126 * Get the persistent keyring for a specific UID and link it to the nominated
144 /* You can only see your own persistent cache if you're not in keyctl_get_persistent()