Lines Matching refs:fscrypt_auth
205 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir()
208 if (ci->fscrypt_auth) { in ceph_get_snapdir()
668 ci->fscrypt_auth = NULL; in ceph_alloc_inode()
680 kfree(ci->fscrypt_auth); in ceph_free_inode()
1047 kfree(ci->fscrypt_auth); in ceph_fill_inode()
1049 ci->fscrypt_auth = iinfo->fscrypt_auth; in ceph_fill_inode()
1050 iinfo->fscrypt_auth = NULL; in ceph_fill_inode()
2547 if (cia && cia->fscrypt_auth) { in __ceph_setattr()
2548 u32 len = ceph_fscrypt_auth_len(cia->fscrypt_auth); in __ceph_setattr()
2550 if (len > sizeof(*cia->fscrypt_auth)) { in __ceph_setattr()
2560 WARN_ON_ONCE(ci->fscrypt_auth); in __ceph_setattr()
2564 kfree(ci->fscrypt_auth); in __ceph_setattr()
2565 ci->fscrypt_auth = (u8 *)cia->fscrypt_auth; in __ceph_setattr()
2569 memcmp(ci->fscrypt_auth, cia->fscrypt_auth, len)) { in __ceph_setattr()
2570 req->r_fscrypt_auth = cia->fscrypt_auth; in __ceph_setattr()
2574 cia->fscrypt_auth = NULL; in __ceph_setattr()
2577 if (cia && cia->fscrypt_auth) { in __ceph_setattr()