/linux-6.3-rc2/net/netfilter/ |
A D | nft_set_pipapo_avx2.c | 223 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_4b_2() local 285 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_4b_4() local 363 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_4b_8() local 459 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_4b_12() local 553 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_4b_32() local 679 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_8b_1() local 736 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_8b_2() local 800 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_8b_4() local 875 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_8b_6() local 960 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_8b_16() local [all …]
|
A D | nft_set_pipapo.h | 124 size_t bsize; member 199 __bitmap_and(dst, dst, lt + v * f->bsize, in pipapo_and_field_buckets_4bit() 200 f->bsize * BITS_PER_LONG); in pipapo_and_field_buckets_4bit() 201 lt += f->bsize * NFT_PIPAPO_BUCKETS(4); in pipapo_and_field_buckets_4bit() 204 __bitmap_and(dst, dst, lt + v * f->bsize, in pipapo_and_field_buckets_4bit() 205 f->bsize * BITS_PER_LONG); in pipapo_and_field_buckets_4bit() 206 lt += f->bsize * NFT_PIPAPO_BUCKETS(4); in pipapo_and_field_buckets_4bit() 224 __bitmap_and(dst, dst, lt + *data * f->bsize, in pipapo_and_field_buckets_8bit() 225 f->bsize * BITS_PER_LONG); in pipapo_and_field_buckets_8bit() 226 lt += f->bsize * NFT_PIPAPO_BUCKETS(8); in pipapo_and_field_buckets_8bit()
|
A D | nft_set_pipapo.c | 637 copy = f->bsize; in pipapo_resize() 678 f->bsize = new_bucket_size; in pipapo_resize() 703 pos += f->bsize * v; in pipapo_bucket_set() 807 for (i = 0; i < bsize; i++) in pipapo_lt_8b_to_4b() 811 new_lt += bsize; in pipapo_lt_8b_to_4b() 821 for (i = 0; i < bsize; i++) in pipapo_lt_8b_to_4b() 825 new_lt += bsize; in pipapo_lt_8b_to_4b() 1237 if (f->bsize > bsize_max) 1238 bsize_max = f->bsize; 1514 pos += f->bsize; [all …]
|
/linux-6.3-rc2/crypto/ |
A D | cbc.c | 38 src += bsize; in crypto_cbc_encrypt_segment() 39 dst += bsize; in crypto_cbc_encrypt_segment() 40 } while ((nbytes -= bsize) >= bsize); in crypto_cbc_encrypt_segment() 65 src += bsize; in crypto_cbc_encrypt_inplace() 66 } while ((nbytes -= bsize) >= bsize); in crypto_cbc_encrypt_inplace() 113 src += bsize; in crypto_cbc_decrypt_segment() 114 dst += bsize; in crypto_cbc_decrypt_segment() 115 } while ((nbytes -= bsize) >= bsize); in crypto_cbc_decrypt_segment() 138 src += nbytes - (nbytes & (bsize - 1)) - bsize; in crypto_cbc_decrypt_inplace() 143 if ((nbytes -= bsize) < bsize) in crypto_cbc_decrypt_inplace() [all …]
|
A D | pcbc.c | 31 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 35 src += bsize; in crypto_pcbc_encrypt_segment() 36 dst += bsize; in crypto_pcbc_encrypt_segment() 37 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment() 58 src += bsize; in crypto_pcbc_encrypt_inplace() 59 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace() 102 src += bsize; in crypto_pcbc_decrypt_segment() 103 dst += bsize; in crypto_pcbc_decrypt_segment() 104 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment() 125 src += bsize; in crypto_pcbc_decrypt_inplace() [all …]
|
A D | cfb.c | 72 src += bsize; in crypto_cfb_encrypt_segment() 73 dst += bsize; in crypto_cfb_encrypt_segment() 74 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_encrypt_segment() 95 src += bsize; in crypto_cfb_encrypt_inplace() 96 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_encrypt_inplace() 142 src += bsize; in crypto_cfb_decrypt_segment() 143 dst += bsize; in crypto_cfb_decrypt_segment() 144 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_decrypt_segment() 162 memcpy(iv, src, bsize); in crypto_cfb_decrypt_inplace() 164 src += bsize; in crypto_cfb_decrypt_inplace() [all …]
|
A D | cts.c | 113 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0); in cts_cbc_encrypt() 115 memset(d, 0, bsize); in cts_cbc_encrypt() 155 if (nbytes < bsize) in crypto_cts_encrypt() 197 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0); in cts_cbc_decrypt() 199 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt() 201 memset(d, 0, bsize); in cts_cbc_decrypt() 208 memcpy(d + lastn, d + bsize + lastn, bsize - lastn); in cts_cbc_decrypt() 250 if (nbytes < bsize) in crypto_cts_decrypt() 270 if (offset <= bsize) in crypto_cts_decrypt() 274 bsize, 0); in crypto_cts_decrypt() [all …]
|
A D | ctr.c | 43 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_final() 60 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment() 63 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_segment() 65 src += bsize; in crypto_ctr_crypt_segment() 66 dst += bsize; in crypto_ctr_crypt_segment() 67 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_segment() 88 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace() 91 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_inplace() 93 src += bsize; in crypto_ctr_crypt_inplace() 94 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_inplace() [all …]
|
A D | ofb.c | 22 const unsigned int bsize = crypto_cipher_blocksize(cipher); in crypto_ofb_crypt() local 28 while (walk.nbytes >= bsize) { in crypto_ofb_crypt() 36 crypto_xor_cpy(dst, src, iv, bsize); in crypto_ofb_crypt() 37 dst += bsize; in crypto_ofb_crypt() 38 src += bsize; in crypto_ofb_crypt() 39 } while ((nbytes -= bsize) >= bsize); in crypto_ofb_crypt()
|
A D | ecb.c | 20 const unsigned int bsize = crypto_cipher_blocksize(cipher); in crypto_ecb_crypt() local 34 src += bsize; in crypto_ecb_crypt() 35 dst += bsize; in crypto_ecb_crypt() 36 } while ((nbytes -= bsize) >= bsize); in crypto_ecb_crypt()
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | des3_ede_glue.c | 85 wsrc += bsize * 3; in ecb_crypt() 86 wdst += bsize * 3; in ecb_crypt() 90 if (nbytes < bsize) in ecb_crypt() 98 wsrc += bsize; in ecb_crypt() 99 wdst += bsize; in ecb_crypt() 100 nbytes -= bsize; in ecb_crypt() 142 nbytes -= bsize; in __cbc_encrypt() 186 nbytes -= bsize * 3 - bsize; in __cbc_decrypt() 198 nbytes -= bsize; in __cbc_decrypt() 212 nbytes -= bsize; in __cbc_decrypt() [all …]
|
A D | sm4_aesni_avx_glue.c | 143 while (nbytes >= bsize) { in sm4_avx_cbc_decrypt() 145 dst += bsize; in sm4_avx_cbc_decrypt() 146 src += bsize; in sm4_avx_cbc_decrypt() 147 nbytes -= bsize; in sm4_avx_cbc_decrypt() 249 while (nbytes >= bsize) { in sm4_avx_cfb_decrypt() 251 dst += bsize; in sm4_avx_cfb_decrypt() 252 src += bsize; in sm4_avx_cfb_decrypt() 253 nbytes -= bsize; in sm4_avx_cfb_decrypt() 320 dst += bsize; in sm4_avx_ctr_crypt() 321 src += bsize; in sm4_avx_ctr_crypt() [all …]
|
A D | ecb_cbc_helpers.h | 14 #define ECB_WALK_START(req, bsize, fpu_blocks) do { \ argument 17 const int __bsize = (bsize); \ 26 u8 __maybe_unused buf[(bsize)]; \ 29 #define CBC_WALK_START(req, bsize, fpu_blocks) \ argument 30 ECB_WALK_START(req, bsize, fpu_blocks)
|
A D | sm4-avx.h | 15 unsigned int bsize, sm4_crypt_func func); 19 unsigned int bsize, sm4_crypt_func func); 22 unsigned int bsize, sm4_crypt_func func);
|
/linux-6.3-rc2/arch/s390/crypto/ |
A D | sha_common.c | 19 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_update() local 23 index = ctx->count % bsize; in s390_sha_update() 26 if ((index + len) < bsize) in s390_sha_update() 31 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update() 32 cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize); in s390_sha_update() 33 data += bsize - index; in s390_sha_update() 34 len -= bsize - index; in s390_sha_update() 39 if (len >= bsize) { in s390_sha_update() 40 n = (len / bsize) * bsize; in s390_sha_update() 75 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_final() local [all …]
|
/linux-6.3-rc2/arch/m68k/emu/ |
A D | nfblock.c | 55 u32 blocks, bsize; member 97 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument 104 blocks, bsize); in nfhd_init_one() 106 if (bsize < 512 || (bsize & (bsize - 1))) { in nfhd_init_one() 117 dev->bsize = bsize; in nfhd_init_one() 118 dev->bshift = ffs(bsize) - 10; in nfhd_init_one() 130 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one() 131 blk_queue_logical_block_size(dev->disk->queue, bsize); in nfhd_init_one() 150 u32 blocks, bsize; in nfhd_init() local 168 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init() [all …]
|
/linux-6.3-rc2/lib/mpi/ |
A D | mpi-pow.c | 31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local 79 bsize = base->nlimbs; in mpi_powm() 87 MPN_COPY(bp, base->d, bsize); in mpi_powm() 91 bsize = msize; in mpi_powm() 94 MPN_NORMALIZE(bp, bsize); in mpi_powm() 98 if (!bsize) { in mpi_powm() 125 MPN_COPY(bp, rp, bsize); in mpi_powm() 144 MPN_COPY(rp, bp, bsize); in mpi_powm() 145 rsize = bsize; in mpi_powm() 220 (xp, rp, rsize, bp, bsize, in mpi_powm() [all …]
|
/linux-6.3-rc2/include/crypto/ |
A D | ctr.h | 48 int bsize = min(nbytes, blocksize); in crypto_ctr_encrypt_walk() local 52 crypto_xor_cpy(dst, src, buf, bsize); in crypto_ctr_encrypt_walk() 55 dst += bsize; in crypto_ctr_encrypt_walk() 56 src += bsize; in crypto_ctr_encrypt_walk() 57 nbytes -= bsize; in crypto_ctr_encrypt_walk()
|
/linux-6.3-rc2/fs/jfs/ |
A D | jfs_mount.c | 297 s32 bsize; in chkSuper() local 313 bsize = le32_to_cpu(j_sb->s_bsize); in chkSuper() 314 if (bsize != PSIZE) { in chkSuper() 328 AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize; in chkSuper() 330 AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize; in chkSuper() 331 AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize; in chkSuper() 332 AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize; in chkSuper() 334 fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize; in chkSuper() 362 sbi->bsize = bsize; in chkSuper() 366 if (sbi->l2bsize != ilog2((u32)bsize) || in chkSuper()
|
/linux-6.3-rc2/fs/freevxfs/ |
A D | vxfs_lookup.c | 59 u_long bsize = ip->i_sb->s_blocksize; in vxfs_find_entry() local 80 if ((pos & (bsize - 1)) < 4) { in vxfs_find_entry() 92 pos += bsize - 1; in vxfs_find_entry() 93 pos &= ~(bsize - 1); in vxfs_find_entry() 195 u_long bsize = sbp->s_blocksize; in vxfs_readdir() local 231 if ((pos & (bsize - 1)) < 4) { in vxfs_readdir() 243 pos += bsize - 1; in vxfs_readdir() 244 pos &= ~(bsize - 1); in vxfs_readdir()
|
A D | vxfs_olt.c | 33 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) in vxfs_oblock() argument 35 BUG_ON(sbp->s_blocksize % bsize); in vxfs_oblock() 36 return (block * (sbp->s_blocksize / bsize)); in vxfs_oblock() 53 vxfs_read_olt(struct super_block *sbp, u_long bsize) in vxfs_read_olt() argument 60 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize)); in vxfs_read_olt()
|
/linux-6.3-rc2/fs/affs/ |
A D | file.c | 538 bidx = tmp / bsize; in affs_do_readpage_ofs() 539 boff = tmp % bsize; in affs_do_readpage_ofs() 562 u32 size, bsize; in affs_extent_file_ofs() local 569 bidx = size / bsize; in affs_extent_file_ofs() 576 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_extent_file_ofs() 615 size += bsize; in affs_extent_file_ofs() 716 bidx = tmp / bsize; in affs_write_end_ofs() 717 boff = tmp % bsize; in affs_write_end_ofs() 725 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_write_end_ofs() 768 written += bsize; in affs_write_end_ofs() [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | mem2node.c | 39 phys_entry__init(struct phys_entry *entry, u64 start, u64 bsize, u64 node) in phys_entry__init() argument 42 entry->end = start + bsize; in phys_entry__init() 51 u64 bsize = env->memory_bsize; in mem2node__init() local 77 start = bit * bsize; in mem2node__init() 88 prev->end += bsize; in mem2node__init() 93 phys_entry__init(&entries[j++], start, bsize, n->node); in mem2node__init()
|
/linux-6.3-rc2/fs/squashfs/ |
A D | file_cache.c | 21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block() argument 25 block, bsize); in squashfs_readpage_block() 30 bsize); in squashfs_readpage_block()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | setup_64.c | 551 u32 bsize, u32 sets) in init_cache_info() argument 556 info->block_size = bsize; in init_cache_info() 557 info->log_block_size = __ilog2(bsize); in init_cache_info() 558 if (bsize) in init_cache_info() 559 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info() 587 u32 size, lsize, bsize, sets; in parse_cache_info() local 592 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info() 608 bsize = be32_to_cpu(*bsizep); in parse_cache_info() 623 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
|