/kernel/linux/linux-6.6/fs/crypto/ |
H A D | policy.c | 434 int ctxsize; in set_encryption_policy() local 471 ctxsize = fscrypt_new_context(&ctx, policy, nonce); in set_encryption_policy() 473 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy() 747 int ctxsize; in fscrypt_set_context() local 749 ctxsize = fscrypt_context_for_new_inode(&ctx, inode); in fscrypt_set_context() 750 if (ctxsize < 0) in fscrypt_set_context() 751 return ctxsize; in fscrypt_set_context() 761 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, fs_data); in fscrypt_set_context()
|
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | policy.c | 394 int ctxsize; in set_encryption_policy() local 431 ctxsize = fscrypt_new_context(&ctx, policy, nonce); in set_encryption_policy() 433 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy() 675 int ctxsize; in fscrypt_set_context() local 682 ctxsize = fscrypt_new_context(&ctx, &ci->ci_policy, ci->ci_nonce); in fscrypt_set_context() 692 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, fs_data); in fscrypt_set_context()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | crypto.c | 155 int ret, ctxsize; in ceph_fscrypt_prepare_context() local 169 ctxsize = fscrypt_context_for_new_inode(as->fscrypt_auth->cfa_blob, in ceph_fscrypt_prepare_context() 171 if (ctxsize < 0) in ceph_fscrypt_prepare_context() 172 return ctxsize; in ceph_fscrypt_prepare_context() 175 as->fscrypt_auth->cfa_blob_len = cpu_to_le32(ctxsize); in ceph_fscrypt_prepare_context()
|
H A D | crypto.h | 59 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_iq.h | 292 u32 ctxsize; member 334 u32 ctxsize);
|
H A D | request_manager.c | 858 u32 ctxsize) in octeon_alloc_soft_command() 869 WARN_ON((offset + datasize + rdatasize + ctxsize) > in octeon_alloc_soft_command() 898 if (ctxsize) { in octeon_alloc_soft_command() 900 sc->ctxsize = ctxsize; in octeon_alloc_soft_command() 904 offset = (offset + ctxsize + 127) & 0xffffff80; in octeon_alloc_soft_command() 855 octeon_alloc_soft_command(struct octeon_device *oct, u32 datasize, u32 rdatasize, u32 ctxsize) octeon_alloc_soft_command() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_iq.h | 292 u32 ctxsize; member 334 u32 ctxsize);
|
H A D | request_manager.c | 861 u32 ctxsize) in octeon_alloc_soft_command() 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() 858 octeon_alloc_soft_command(struct octeon_device *oct, u32 datasize, u32 rdatasize, u32 ctxsize) octeon_alloc_soft_command() argument
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/zip/ |
H A D | zip_main.h | 106 u64 ctxsize; member
|
H A D | zip_main.c | 144 zip->ctxsize = constants.s.ctxsize; in zip_init_hw() 146 zip_msg("depth: 0x%016llx , onfsize : 0x%016llx , ctxsize : 0x%016llx", in zip_init_hw() 147 zip->depth, zip->onfsize, zip->ctxsize); in zip_init_hw()
|
H A D | zip_regs.h | 406 u64 ctxsize : 12; member 412 u64 ctxsize : 12;
|
/kernel/linux/linux-6.6/drivers/crypto/cavium/zip/ |
H A D | zip_main.h | 106 u64 ctxsize; member
|
H A D | zip_main.c | 149 zip->ctxsize = constants.s.ctxsize; in zip_init_hw() 151 zip_msg("depth: 0x%016llx , onfsize : 0x%016llx , ctxsize : 0x%016llx", in zip_init_hw() 152 zip->depth, zip->onfsize, zip->ctxsize); in zip_init_hw()
|
H A D | zip_regs.h | 406 u64 ctxsize : 12; member 412 u64 ctxsize : 12;
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | algapi.h | 33 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); member
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | algapi.h | 58 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); member
|
/kernel/linux/linux-5.10/crypto/ |
H A D | api.c | 318 return len + type_obj->ctxsize(alg, type, mask); in crypto_ctxsize()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | api.c | 363 return len + type_obj->ctxsize(alg, type, mask); in crypto_ctxsize()
|