Searched refs:keyring (Results 1 – 3 of 3) sorted by relevance
/fs/cifs/ |
D | cifs_spnego.c | 191 struct key *keyring; in init_cifs_spnego() local 206 keyring = keyring_alloc(".cifs_spnego", in init_cifs_spnego() 211 if (IS_ERR(keyring)) { in init_cifs_spnego() 212 ret = PTR_ERR(keyring); in init_cifs_spnego() 224 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags); in init_cifs_spnego() 225 cred->thread_keyring = keyring; in init_cifs_spnego() 229 cifs_dbg(FYI, "cifs spnego keyring: %d\n", key_serial(keyring)); in init_cifs_spnego() 233 key_put(keyring); in init_cifs_spnego()
|
D | cifsacl.c | 466 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/ |
D | nfs4idmap.c | 190 struct key *keyring; in nfs_idmap_init() local 200 keyring = keyring_alloc(".id_resolver", in nfs_idmap_init() 205 if (IS_ERR(keyring)) { in nfs_idmap_init() 206 ret = PTR_ERR(keyring); in nfs_idmap_init() 218 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags); in nfs_idmap_init() 219 cred->thread_keyring = keyring; in nfs_idmap_init() 227 key_put(keyring); in nfs_idmap_init()
|