Home
last modified time | relevance | path

Searched refs:keyring (Results 1 – 3 of 3) sorted by relevance

/fs/cifs/
Dcifs_spnego.c193 struct key *keyring; in init_cifs_spnego() local
208 keyring = keyring_alloc(".cifs_spnego", in init_cifs_spnego()
213 if (IS_ERR(keyring)) { in init_cifs_spnego()
214 ret = PTR_ERR(keyring); in init_cifs_spnego()
226 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags); in init_cifs_spnego()
227 cred->thread_keyring = keyring; in init_cifs_spnego()
231 cifs_dbg(FYI, "cifs spnego keyring: %d\n", key_serial(keyring)); in init_cifs_spnego()
235 key_put(keyring); in init_cifs_spnego()
Dcifsacl.c466 struct key *keyring; in init_cifs_idmap() local
482 keyring = keyring_alloc(".cifs_idmap", in init_cifs_idmap()
487 if (IS_ERR(keyring)) { in init_cifs_idmap()
488 ret = PTR_ERR(keyring); in init_cifs_idmap()
498 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags); in init_cifs_idmap()
499 cred->thread_keyring = keyring; in init_cifs_idmap()
503 cifs_dbg(FYI, "cifs idmap keyring: %d\n", key_serial(keyring)); in init_cifs_idmap()
507 key_put(keyring); in init_cifs_idmap()
/fs/nfs/
Dnfs4idmap.c191 struct key *keyring; in nfs_idmap_init() local
201 keyring = keyring_alloc(".id_resolver", in nfs_idmap_init()
206 if (IS_ERR(keyring)) { in nfs_idmap_init()
207 ret = PTR_ERR(keyring); in nfs_idmap_init()
219 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags); in nfs_idmap_init()
220 cred->thread_keyring = keyring; in nfs_idmap_init()
228 key_put(keyring); in nfs_idmap_init()