Lines Matching refs:fscrypt_auth
199 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir()
202 if (ci->fscrypt_auth) { in ceph_get_snapdir()
656 ci->fscrypt_auth = NULL; in ceph_alloc_inode()
668 kfree(ci->fscrypt_auth); in ceph_free_inode()
1020 kfree(ci->fscrypt_auth); in ceph_fill_inode()
1022 ci->fscrypt_auth = iinfo->fscrypt_auth; in ceph_fill_inode()
1023 iinfo->fscrypt_auth = NULL; in ceph_fill_inode()
2471 if (cia && cia->fscrypt_auth) { in __ceph_setattr()
2472 u32 len = ceph_fscrypt_auth_len(cia->fscrypt_auth); in __ceph_setattr()
2474 if (len > sizeof(*cia->fscrypt_auth)) { in __ceph_setattr()
2484 WARN_ON_ONCE(ci->fscrypt_auth); in __ceph_setattr()
2488 kfree(ci->fscrypt_auth); in __ceph_setattr()
2489 ci->fscrypt_auth = (u8 *)cia->fscrypt_auth; in __ceph_setattr()
2493 memcmp(ci->fscrypt_auth, cia->fscrypt_auth, len)) { in __ceph_setattr()
2494 req->r_fscrypt_auth = cia->fscrypt_auth; in __ceph_setattr()
2498 cia->fscrypt_auth = NULL; in __ceph_setattr()
2501 if (cia && cia->fscrypt_auth) { in __ceph_setattr()