Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dpolicy.c461 int ctxsize; in set_encryption_policy() local
498 ctxsize = fscrypt_new_context(&ctx, policy, nonce); in set_encryption_policy()
500 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
774 int ctxsize; in fscrypt_set_context() local
776 ctxsize = fscrypt_context_for_new_inode(&ctx, inode); in fscrypt_set_context()
777 if (ctxsize < 0) in fscrypt_set_context()
778 return ctxsize; in fscrypt_set_context()
788 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, fs_data); in fscrypt_set_context()
/linux/fs/ceph/
H 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()
H 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()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_iq.h292 u32 ctxsize; member
334 u32 ctxsize);
H A Drequest_manager.c861 u32 ctxsize) in octeon_alloc_soft_command() argument
872 WARN_ON((offset + datasize + rdatasize + ctxsize) > in octeon_alloc_soft_command()
901 if (ctxsize) { in octeon_alloc_soft_command()
903 sc->ctxsize = ctxsize; in octeon_alloc_soft_command()
907 offset = (offset + ctxsize + 127) & 0xffffff80; in octeon_alloc_soft_command()
/linux/drivers/crypto/cavium/zip/
H A Dzip_main.h106 u64 ctxsize; member
H A Dzip_main.c149 zip->ctxsize = constants.s.ctxsize; in zip_init_hw()
152 zip->depth, zip->onfsize, zip->ctxsize); in zip_init_hw()
H A Dzip_regs.h406 u64 ctxsize : 12; member
412 u64 ctxsize : 12;
/linux/include/crypto/
H A Dalgapi.h58 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); member
/linux/arch/x86/crypto/
H A Daesni-intel_glue.c1445 ctxsize, priority) \ argument
1493 .cra_ctxsize = (ctxsize), \
1510 .cra_ctxsize = (ctxsize), \
/linux/crypto/
H A Dapi.c380 return len + type_obj->ctxsize(alg, type, mask); in crypto_ctxsize()