Lines Matching refs:fscrypt_auth
195 /* if encrypted, just borrow fscrypt_auth from parent */
199 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth,
202 if (ci->fscrypt_auth) {
206 dout("Failed to alloc snapdir fscrypt_auth\n");
656 ci->fscrypt_auth = NULL;
668 kfree(ci->fscrypt_auth);
1020 kfree(ci->fscrypt_auth);
1022 ci->fscrypt_auth = iinfo->fscrypt_auth;
1023 iinfo->fscrypt_auth = NULL;
2471 if (cia && cia->fscrypt_auth) {
2472 u32 len = ceph_fscrypt_auth_len(cia->fscrypt_auth);
2474 if (len > sizeof(*cia->fscrypt_auth)) {
2480 dout("setattr %llx:%llx fscrypt_auth len %u to %u)\n",
2484 WARN_ON_ONCE(ci->fscrypt_auth);
2488 kfree(ci->fscrypt_auth);
2489 ci->fscrypt_auth = (u8 *)cia->fscrypt_auth;
2493 memcmp(ci->fscrypt_auth, cia->fscrypt_auth, len)) {
2494 req->r_fscrypt_auth = cia->fscrypt_auth;
2498 cia->fscrypt_auth = NULL;
2501 if (cia && cia->fscrypt_auth) {