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()
2543 if (cia && cia->fscrypt_auth) { in __ceph_setattr()
2544 u32 len = ceph_fscrypt_auth_len(cia->fscrypt_auth); in __ceph_setattr()
2546 if (len > sizeof(*cia->fscrypt_auth)) { in __ceph_setattr()
2556 WARN_ON_ONCE(ci->fscrypt_auth); in __ceph_setattr()
2560 kfree(ci->fscrypt_auth); in __ceph_setattr()
2561 ci->fscrypt_auth = (u8 *)cia->fscrypt_auth; in __ceph_setattr()
2565 memcmp(ci->fscrypt_auth, cia->fscrypt_auth, len)) { in __ceph_setattr()
2566 req->r_fscrypt_auth = cia->fscrypt_auth; in __ceph_setattr()
2570 cia->fscrypt_auth = NULL; in __ceph_setattr()
2573 if (cia && cia->fscrypt_auth) { in __ceph_setattr()