Searched refs:bsize (Results 1 - 25 of 127) sorted by relevance

123456

/linux-master/net/netfilter/
H A Dnft_set_pipapo_avx2.c45 #define NFT_PIPAPO_AVX2_BUCKET_LOAD4(reg, lt, group, v, bsize) \
48 (v)) * (bsize)])
49 #define NFT_PIPAPO_AVX2_BUCKET_LOAD8(reg, lt, group, v, bsize) \
52 (v)) * (bsize)])
219 int i, ret = -1, m256_size = f->bsize / NFT_PIPAPO_LONGS_PER_M256, b;
221 unsigned long *lt = f->lt, bsize = f->bsize; local
228 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize);
229 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize);
232 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize);
284 unsigned long *lt = f->lt, bsize = f->bsize; local
363 unsigned long *lt = f->lt, bsize = f->bsize; local
460 unsigned long *lt = f->lt, bsize = f->bsize; local
555 unsigned long *lt = f->lt, bsize = f->bsize; local
682 unsigned long *lt = f->lt, bsize = f->bsize; local
740 unsigned long *lt = f->lt, bsize = f->bsize; local
805 unsigned long *lt = f->lt, bsize = f->bsize; local
881 unsigned long *lt = f->lt, bsize = f->bsize; local
967 unsigned long *lt = f->lt, bsize = f->bsize; local
1059 unsigned long bsize = f->bsize; local
[all...]
H A Dnft_set_pipapo.h108 * @bsize: Size of each bucket in lookup table, in longs
117 unsigned int bsize; member in struct:nft_pipapo_field
202 __bitmap_and(dst, dst, lt + v * f->bsize,
203 f->bsize * BITS_PER_LONG);
204 lt += f->bsize * NFT_PIPAPO_BUCKETS(4);
207 __bitmap_and(dst, dst, lt + v * f->bsize,
208 f->bsize * BITS_PER_LONG);
209 lt += f->bsize * NFT_PIPAPO_BUCKETS(4);
227 __bitmap_and(dst, dst, lt + *data * f->bsize,
228 f->bsize * BITS_PER_LON
[all...]
H A Dnft_set_pipapo.c462 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt,
572 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt,
713 if (new_bucket_size == f->bsize)
716 if (new_bucket_size > f->bsize)
717 copy = f->bsize;
737 if (new_bucket_size > f->bsize)
738 new_p += new_bucket_size - f->bsize;
740 old_p += f->bsize - new_bucket_size;
752 f->bsize = new_bucket_size;
773 pos += f->bsize * NFT_PIPAPO_BUCKET
814 pipapo_lt_4b_to_8b(int old_groups, int bsize, unsigned long *old_lt, unsigned long *new_lt) argument
860 pipapo_lt_8b_to_4b(int old_groups, int bsize, unsigned long *old_lt, unsigned long *new_lt) argument
[all...]
/linux-master/crypto/
H A Dcbc.c19 unsigned int bsize = crypto_lskcipher_blocksize(tfm); local
21 for (; nbytes >= bsize; src += bsize, dst += bsize, nbytes -= bsize) {
22 crypto_xor(iv, src, bsize);
23 crypto_lskcipher_encrypt(tfm, iv, dst, bsize, NULL);
24 memcpy(iv, dst, bsize);
33 unsigned int bsize = crypto_lskcipher_blocksize(tfm); local
36 if (nbytes < bsize)
73 unsigned int bsize = crypto_lskcipher_blocksize(tfm); local
97 unsigned int bsize = crypto_lskcipher_blocksize(tfm); local
[all...]
H A Dpcbc.c24 int bsize = crypto_cipher_blocksize(tfm); local
31 crypto_xor(iv, src, bsize);
33 crypto_xor_cpy(iv, dst, src, bsize);
35 src += bsize;
36 dst += bsize;
37 } while ((nbytes -= bsize) >= bsize);
46 int bsize = crypto_cipher_blocksize(tfm); local
53 memcpy(tmpbuf, src, bsize);
54 crypto_xor(iv, src, bsize);
91 int bsize = crypto_cipher_blocksize(tfm); local
113 int bsize = crypto_cipher_blocksize(tfm); local
[all...]
H A Dcts.c103 int bsize = crypto_skcipher_blocksize(tfm); local
112 sg = scatterwalk_ffwd(rctx->sg, req->dst, offset - bsize);
113 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0);
115 memset(d, 0, bsize);
118 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1);
124 skcipher_request_set_crypt(subreq, sg, sg, bsize, req->iv);
149 int bsize = crypto_skcipher_blocksize(tfm); local
155 if (nbytes < bsize)
158 if (nbytes == bsize) {
184 int bsize = crypto_skcipher_blocksize(tfm); local
243 int bsize = crypto_skcipher_blocksize(tfm); local
290 unsigned bsize; local
[all...]
H A Dctr.c31 unsigned int bsize = crypto_cipher_blocksize(tfm); local
43 crypto_inc(ctrblk, bsize);
51 unsigned int bsize = crypto_cipher_blocksize(tfm); local
60 crypto_xor(dst, src, bsize);
63 crypto_inc(ctrblk, bsize);
65 src += bsize;
66 dst += bsize;
67 } while ((nbytes -= bsize) >= bsize);
77 unsigned int bsize local
103 const unsigned int bsize = crypto_cipher_blocksize(cipher); local
[all...]
H A Decb.c20 const unsigned int bsize = crypto_cipher_blocksize(cipher); local
22 while (nbytes >= bsize) {
25 src += bsize;
26 dst += bsize;
28 nbytes -= bsize;
/linux-master/fs/squashfs/
H A Dfile_cache.c21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) argument
25 block, bsize);
30 bsize);
/linux-master/arch/s390/crypto/
H A Dsha_common.c19 unsigned int bsize = crypto_shash_blocksize(desc->tfm); local
23 index = ctx->count % bsize;
26 if ((index + len) < bsize)
31 memcpy(ctx->buf + index, data, bsize - index);
32 cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize);
33 data += bsize - index;
34 len -= bsize - index;
39 if (len >= bsize) {
40 n = (len / bsize) * bsize;
75 unsigned int bsize = crypto_shash_blocksize(desc->tfm); local
[all...]
/linux-master/arch/x86/crypto/
H A Dsm4-avx.h15 unsigned int bsize, sm4_crypt_func func);
18 unsigned int bsize, sm4_crypt_func func);
H A Ddes3_ede_glue.c68 const unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
80 if (nbytes >= bsize * 3) {
85 wsrc += bsize * 3;
86 wdst += bsize * 3;
87 nbytes -= bsize * 3;
88 } while (nbytes >= bsize * 3);
90 if (nbytes < bsize)
98 wsrc += bsize;
99 wdst += bsize;
100 nbytes -= bsize;
129 unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
170 unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
[all...]
H A Decb_cbc_helpers.h14 #define ECB_WALK_START(req, bsize, fpu_blocks) do { \
17 const int __bsize = (bsize); \
26 u8 __maybe_unused buf[(bsize)]; \
29 #define CBC_WALK_START(req, bsize, fpu_blocks) \
30 ECB_WALK_START(req, bsize, fpu_blocks)
H A Dsm4_aesni_avx_glue.c125 unsigned int bsize, sm4_crypt_func func)
141 while (nbytes >= bsize) {
143 dst += bsize;
144 src += bsize;
145 nbytes -= bsize;
190 unsigned int bsize, sm4_crypt_func func)
206 while (nbytes >= bsize) {
208 dst += bsize;
209 src += bsize;
210 nbytes -= bsize;
124 sm4_avx_cbc_decrypt(struct skcipher_request *req, unsigned int bsize, sm4_crypt_func func) argument
189 sm4_avx_ctr_crypt(struct skcipher_request *req, unsigned int bsize, sm4_crypt_func func) argument
[all...]
/linux-master/include/crypto/
H A Dctr.h48 int bsize = min(nbytes, blocksize); local
52 crypto_xor_cpy(dst, src, buf, bsize);
55 dst += bsize;
56 src += bsize;
57 nbytes -= bsize;
/linux-master/lib/crypto/mpi/
H A Dmpi-pow.c31 mpi_size_t esize, msize, bsize, rsize; local
79 bsize = base->nlimbs;
81 if (bsize > msize) { /* The base is larger than the module. Reduce it. */
83 * (The quotient is (bsize - msize + 1) limbs.) */
84 bp = bp_marker = mpi_alloc_limb_space(bsize + 1);
87 MPN_COPY(bp, base->d, bsize);
90 mpihelp_divrem(bp + msize, 0, bp, bsize, mp, msize);
91 bsize = msize;
94 MPN_NORMALIZE(bp, bsize);
98 if (!bsize) {
[all...]
/linux-master/fs/freevxfs/
H A Dvxfs_olt.c33 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) argument
35 BUG_ON(sbp->s_blocksize % bsize);
36 return (block * (sbp->s_blocksize / bsize));
43 * @bsize: blocksize of the filesystem
53 vxfs_read_olt(struct super_block *sbp, u_long bsize) argument
60 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize));
H A Dvxfs_lookup.c59 u_long bsize = ip->i_sb->s_blocksize; local
80 if ((pos & (bsize - 1)) < 4) {
92 pos += bsize - 1;
93 pos &= ~(bsize - 1);
194 u_long bsize = sbp->s_blocksize; local
230 if ((pos & (bsize - 1)) < 4) {
242 pos += bsize - 1;
243 pos &= ~(bsize - 1);
/linux-master/arch/m68k/emu/
H A Dnfblock.c55 u32 blocks, bsize; member in struct:nfhd_device
97 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) argument
100 .logical_block_size = bsize,
107 blocks, bsize);
109 if (bsize < 512 || (bsize & (bsize - 1))) {
120 dev->bsize = bsize;
121 dev->bshift = ffs(bsize)
154 u32 blocks, bsize; local
[all...]
/linux-master/tools/perf/util/
H A Dmem2node.c39 phys_entry__init(struct phys_entry *entry, u64 start, u64 bsize, u64 node) argument
42 entry->end = start + bsize;
51 u64 bsize = env->memory_bsize; local
77 start = bit * bsize;
88 prev->end += bsize;
93 phys_entry__init(&entries[j++], start, bsize, n->node);
/linux-master/fs/jfs/
H A Djfs_mount.c297 s32 bsize; local
313 bsize = le32_to_cpu(j_sb->s_bsize);
314 if (bsize != PSIZE) {
328 AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize;
330 AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize;
331 AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize;
332 AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize;
334 fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize;
362 sbi->bsize = bsize;
[all...]
/linux-master/include/uapi/linux/
H A Dnfs_mount.h43 unsigned int bsize; /* 3 */ member in struct:nfs_mount_data
/linux-master/include/linux/firmware/meson/
H A Dmeson_sm.h27 unsigned int bsize, unsigned int cmd_index, u32 arg0,
/linux-master/arch/alpha/include/uapi/asm/
H A Da.out.h31 __u64 bsize; member in struct:aouthdr
68 #define a_bss ah.bsize
/linux-master/fs/affs/
H A Dfile.c532 size_t bidx, boff, bsize; local
538 bsize = AFFS_SB(sb)->s_data_blksize;
540 bidx = tmp / bsize;
541 boff = tmp % bsize;
547 tmp = min(bsize - boff, to - pos);
548 BUG_ON(pos + tmp > to || tmp > bsize);
564 u32 size, bsize; local
568 bsize = AFFS_SB(sb)->s_data_blksize;
571 bidx = size / bsize;
572 boff = size % bsize;
697 u32 bidx, boff, bsize; local
[all...]

Completed in 336 milliseconds

123456