Home
last modified time | relevance | path

Searched refs:ctxsize (Results 1 – 3 of 3) sorted by relevance

/fs/crypto/
A Dpolicy.c463 int ctxsize; in set_encryption_policy() local
500 ctxsize = fscrypt_new_context(&ctx, policy, nonce); in set_encryption_policy()
502 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
776 int ctxsize; in fscrypt_set_context() local
778 ctxsize = fscrypt_context_for_new_inode(&ctx, inode); in fscrypt_set_context()
779 if (ctxsize < 0) in fscrypt_set_context()
780 return ctxsize; in fscrypt_set_context()
790 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, fs_data); in fscrypt_set_context()
/fs/ceph/
A Dcrypto.c156 int ret, ctxsize; in ceph_fscrypt_prepare_context() local
170 ctxsize = fscrypt_context_for_new_inode(as->fscrypt_auth->cfa_blob, in ceph_fscrypt_prepare_context()
172 if (ctxsize < 0) in ceph_fscrypt_prepare_context()
173 return ctxsize; in ceph_fscrypt_prepare_context()
176 as->fscrypt_auth->cfa_blob_len = cpu_to_le32(ctxsize); in ceph_fscrypt_prepare_context()
A Dcrypto.h59 u32 ctxsize = le32_to_cpu(fa->cfa_blob_len); in ceph_fscrypt_auth_len() local
61 return offsetof(struct ceph_fscrypt_auth, cfa_blob) + ctxsize; in ceph_fscrypt_auth_len()

Completed in 10 milliseconds