Home
last modified time | relevance | path

Searched refs:bytes (Results 201 - 225 of 3107) sorted by relevance

12345678910>>...125

/kernel/linux/linux-5.10/crypto/
H A Daegis128-core.c106 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u()
117 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init()
189 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
193 memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
203 memcpy(msg.bytes, src, size); in crypto_aegis128_encrypt_chunk()
214 memcpy(dst, msg.bytes, size); in crypto_aegis128_encrypt_chunk()
250 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
254 memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
264 memcpy(msg.bytes, src, size); in crypto_aegis128_decrypt_chunk()
272 memset(msg.bytes in crypto_aegis128_decrypt_chunk()
[all...]
/kernel/linux/linux-5.10/arch/sparc/lib/
H A DM7memset.S32 * For small 6 or fewer bytes stores, bytes will be stored.
34 * For less than 32 bytes stores, align the address on 4 byte boundary.
35 * Then store as many 4-byte chunks, followed by trailing bytes.
37 * For sizes greater than 32 bytes, align the address on 8 byte boundary.
39 * store 8-bytes chunks to align the address on 64 byte boundary
47 * ST_CHUNK cache lines (64 bytes each) before the main
51 * setting the other seven long words (56 bytes) of each
52 * cache line until fewer than ST_CHUNK*64 bytes remain.
57 * 64 bytes remai
[all...]
/kernel/linux/linux-6.6/arch/sparc/lib/
H A DM7memset.S32 * For small 6 or fewer bytes stores, bytes will be stored.
34 * For less than 32 bytes stores, align the address on 4 byte boundary.
35 * Then store as many 4-byte chunks, followed by trailing bytes.
37 * For sizes greater than 32 bytes, align the address on 8 byte boundary.
39 * store 8-bytes chunks to align the address on 64 byte boundary
47 * ST_CHUNK cache lines (64 bytes each) before the main
51 * setting the other seven long words (56 bytes) of each
52 * cache line until fewer than ST_CHUNK*64 bytes remain.
57 * 64 bytes remai
[all...]
/kernel/linux/linux-5.10/fs/crypto/
H A Dfname.c30 * bytes), so we also need to use a strong hash to abbreviate long names.
43 * didn't provide one; up to 149 bytes of the ciphertext name; and for
44 * ciphertexts longer than 149 bytes, also the SHA-256 of the remaining bytes.
53 u8 bytes[149]; member
55 }; /* 189 bytes => 252 bytes base64-encoded, which is <= NAME_MAX (255) */
99 * pad it with the needed number of NUL bytes. in fscrypt_fname_encrypt()
184 * base64_encode() - base64-encode some bytes
185 * @src: the bytes t
[all...]
/kernel/linux/linux-6.6/fs/crypto/
H A Dfname.c22 * The minimum message length (input and output length), in bytes, for all
37 * bytes), so we also need to use a strong hash to abbreviate long names.
50 * didn't provide one; up to 149 bytes of the ciphertext name; and for
51 * ciphertexts longer than 149 bytes, also the SHA-256 of the remaining bytes.
60 u8 bytes[149]; member
62 }; /* 189 bytes => 252 bytes base64url-encoded, which is <= NAME_MAX (255) */
111 * pad it with the needed number of NUL bytes. in fscrypt_fname_encrypt()
199 * @srclen: the length of @src in bytes
[all...]
/kernel/linux/linux-5.10/arch/x86/oprofile/
H A Dbacktrace.c28 unsigned long bytes; in dump_user_backtrace_32() local
30 bytes = copy_from_user_nmi(bufhead, head, sizeof(bufhead)); in dump_user_backtrace_32()
31 if (bytes != 0) in dump_user_backtrace_32()
74 unsigned long bytes; in dump_user_backtrace() local
76 bytes = copy_from_user_nmi(bufhead, head, sizeof(bufhead)); in dump_user_backtrace()
77 if (bytes != 0) in dump_user_backtrace()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A Ddevsynth.c18 size_t bytes; in speakup_file_write() local
25 bytes = min(count, sizeof(buf)); in speakup_file_write()
26 if (copy_from_user(buf, ptr, bytes)) in speakup_file_write()
28 count -= bytes; in speakup_file_write()
29 ptr += bytes; in speakup_file_write()
31 synth_write(buf, bytes); in speakup_file_write()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_noinline.c17 __u64 bytes; in test_xdp_noinline() member
30 __u64 bytes = 0, pkts = 0; in test_xdp_noinline() local
60 bytes += stats[i].bytes; in test_xdp_noinline()
63 CHECK(bytes != MAGIC_BYTES * NUM_ITER * 2 || pkts != NUM_ITER * 2, in test_xdp_noinline()
64 "stats", "bytes %lld pkts %lld\n", in test_xdp_noinline()
65 (unsigned long long)bytes, (unsigned long long)pkts); in test_xdp_noinline()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dmmio.h90 void *p_data, unsigned int bytes);
92 void *p_data, unsigned int bytes);
95 void *p_data, unsigned int bytes);
97 void *p_data, unsigned int bytes);
103 void *pdata, unsigned int bytes, bool is_read);
106 void *p_data, unsigned int bytes);
/kernel/linux/linux-5.10/lib/crypto/
H A Dpoly1305.c33 unsigned int bytes; in poly1305_update_generic() local
36 bytes = min(nbytes, POLY1305_BLOCK_SIZE - desc->buflen); in poly1305_update_generic()
37 memcpy(desc->buf + desc->buflen, src, bytes); in poly1305_update_generic()
38 src += bytes; in poly1305_update_generic()
39 nbytes -= bytes; in poly1305_update_generic()
40 desc->buflen += bytes; in poly1305_update_generic()
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Ddevsynth.c18 size_t bytes; in speakup_file_write() local
25 bytes = min(count, sizeof(buf)); in speakup_file_write()
26 if (copy_from_user(buf, ptr, bytes)) in speakup_file_write()
28 count -= bytes; in speakup_file_write()
29 ptr += bytes; in speakup_file_write()
31 synth_write(buf, bytes); in speakup_file_write()
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dmeson-efuse.c18 void *val, size_t bytes) in meson_efuse_read()
22 return meson_sm_call_read(fw, (u8 *)val, bytes, SM_EFUSE_READ, offset, in meson_efuse_read()
23 bytes, 0, 0, 0); in meson_efuse_read()
27 void *val, size_t bytes) in meson_efuse_write()
31 return meson_sm_call_write(fw, (u8 *)val, bytes, SM_EFUSE_WRITE, offset, in meson_efuse_write()
32 bytes, 0, 0, 0); in meson_efuse_write()
17 meson_efuse_read(void *context, unsigned int offset, void *val, size_t bytes) meson_efuse_read() argument
26 meson_efuse_write(void *context, unsigned int offset, void *val, size_t bytes) meson_efuse_write() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dmmio.h92 void *p_data, unsigned int bytes);
94 void *p_data, unsigned int bytes);
97 void *p_data, unsigned int bytes);
99 void *p_data, unsigned int bytes);
105 void *pdata, unsigned int bytes, bool is_read);
108 void *p_data, unsigned int bytes);
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dnetcnt.c19 unsigned long bytes; in serial_test_netcnt() local
61 bytes = netcnt.bytes; in serial_test_netcnt()
66 bytes += percpu_netcnt[cpu].bytes; in serial_test_netcnt()
72 /* Let's check that bytes counter matches the number of packets in serial_test_netcnt()
75 ASSERT_GE(bytes, packets * 104, "bytes"); in serial_test_netcnt()
/kernel/linux/linux-6.6/lib/raid6/
H A Drecov_neon.c23 static void raid6_2data_recov_neon(int disks, size_t bytes, int faila, in raid6_2data_recov_neon() argument
45 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_neon()
59 __raid6_2data_recov_neon(bytes, p, q, dp, dq, pbmul, qmul); in raid6_2data_recov_neon()
63 static void raid6_datap_recov_neon(int disks, size_t bytes, int faila, in raid6_datap_recov_neon() argument
80 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_datap_recov_neon()
90 __raid6_datap_recov_neon(bytes, p, q, dq, qmul); in raid6_datap_recov_neon()
/kernel/linux/linux-6.6/lib/crypto/
H A Dpoly1305.c33 unsigned int bytes; in poly1305_update_generic() local
36 bytes = min(nbytes, POLY1305_BLOCK_SIZE - desc->buflen); in poly1305_update_generic()
37 memcpy(desc->buf + desc->buflen, src, bytes); in poly1305_update_generic()
38 src += bytes; in poly1305_update_generic()
39 nbytes -= bytes; in poly1305_update_generic()
40 desc->buflen += bytes; in poly1305_update_generic()
/kernel/linux/linux-6.6/lib/
H A Dmemcpy_kunit.c334 /* Copy a growing number of non-overlapping bytes ... */ in copy_large_test()
335 for (int bytes = 1; bytes <= ARRAY_SIZE(large_src); bytes++) { in copy_large_test()
338 int right_zero_pos = offset + bytes; in copy_large_test()
343 memmove(large_dst + offset, large_src, bytes); in copy_large_test()
345 memcpy(large_dst + offset, large_src, bytes); in copy_large_test()
350 "with size %d at offset %d", bytes, offset); in copy_large_test()
354 "with size %d at offset %d", bytes, offset); in copy_large_test()
358 memcmp(large_dst + offset, large_src, bytes), in copy_large_test()
398 inner_loop(struct kunit *test, int bytes, int d_off, int s_off) inner_loop() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/crypto/
H A Dpoly1305-glue.c76 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); in mips_poly1305_update() local
78 memcpy(dctx->buf + dctx->buflen, src, bytes); in mips_poly1305_update()
79 src += bytes; in mips_poly1305_update()
80 len -= bytes; in mips_poly1305_update()
81 dctx->buflen += bytes; in mips_poly1305_update()
106 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); in poly1305_update_arch() local
108 memcpy(dctx->buf + dctx->buflen, src, bytes); in poly1305_update_arch()
109 src += bytes; in poly1305_update_arch()
110 nbytes -= bytes; in poly1305_update_arch()
111 dctx->buflen += bytes; in poly1305_update_arch()
[all...]
/kernel/linux/linux-6.6/arch/mips/crypto/
H A Dpoly1305-glue.c76 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); in mips_poly1305_update() local
78 memcpy(dctx->buf + dctx->buflen, src, bytes); in mips_poly1305_update()
79 src += bytes; in mips_poly1305_update()
80 len -= bytes; in mips_poly1305_update()
81 dctx->buflen += bytes; in mips_poly1305_update()
106 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); in poly1305_update_arch() local
108 memcpy(dctx->buf + dctx->buflen, src, bytes); in poly1305_update_arch()
109 src += bytes; in poly1305_update_arch()
110 nbytes -= bytes; in poly1305_update_arch()
111 dctx->buflen += bytes; in poly1305_update_arch()
[all...]
/kernel/linux/linux-5.10/drivers/nvmem/
H A Dstm32-romem.c38 size_t bytes) in stm32_romem_read()
44 for (i = offset; i < offset + bytes; i++) in stm32_romem_read()
69 size_t bytes) in stm32_bsec_read()
80 rbytes = roundup(bytes + skip_bytes, 4); in stm32_bsec_read()
101 /* skip first bytes in case of unaligned read */ in stm32_bsec_read()
103 size = min(bytes, (size_t)(4 - skip_bytes)); in stm32_bsec_read()
105 size = min(bytes, (size_t)4); in stm32_bsec_read()
107 bytes -= size; in stm32_bsec_read()
116 size_t bytes) in stm32_bsec_write()
124 if ((bytes in stm32_bsec_write()
37 stm32_romem_read(void *context, unsigned int offset, void *buf, size_t bytes) stm32_romem_read() argument
68 stm32_bsec_read(void *context, unsigned int offset, void *buf, size_t bytes) stm32_bsec_read() argument
115 stm32_bsec_write(void *context, unsigned int offset, void *buf, size_t bytes) stm32_bsec_write() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dxor_altivec.h7 void xor_altivec_2(unsigned long bytes, unsigned long *v1_in,
9 void xor_altivec_3(unsigned long bytes, unsigned long *v1_in,
11 void xor_altivec_4(unsigned long bytes, unsigned long *v1_in,
14 void xor_altivec_5(unsigned long bytes, unsigned long *v1_in,
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dcacheflush.c37 unsigned long bytes = l1_icache_bytes(); in invalidate_icache_range() local
38 char *addr = (char *)(start & ~(bytes - 1)); in invalidate_icache_range()
39 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in invalidate_icache_range()
42 for (i = 0; i < size >> shift; i++, addr += bytes) in invalidate_icache_range()
86 unsigned long bytes = l1_dcache_bytes(); in flush_dcache_icache_phys() local
87 unsigned long nb = PAGE_SIZE / bytes; in flush_dcache_icache_phys()
114 : "r" (nb), "r" (msr), "i" (bytes), "r" (msr0) in flush_dcache_icache_phys()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_netcnt.c44 unsigned long bytes; in main() local
113 bytes = netcnt.bytes; in main()
122 bytes += percpu_netcnt[cpu].bytes; in main()
131 /* Let's check that bytes counter matches the number of packets in main()
134 if (bytes != packets * 104) { in main()
135 printf("Unexpected bytes count: %lu\n", bytes); in main()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dtps6507x.c38 int bytes, void *dest) in tps6507x_i2c_read_device()
53 xfer[1].len = bytes; in tps6507x_i2c_read_device()
66 int bytes, void *src) in tps6507x_i2c_write_device()
73 if (bytes > TPS6507X_MAX_REGISTER) in tps6507x_i2c_write_device()
77 memcpy(&msg[1], src, bytes); in tps6507x_i2c_write_device()
79 ret = i2c_master_send(i2c, msg, bytes + 1); in tps6507x_i2c_write_device()
82 if (ret != bytes + 1) in tps6507x_i2c_write_device()
37 tps6507x_i2c_read_device(struct tps6507x_dev *tps6507x, char reg, int bytes, void *dest) tps6507x_i2c_read_device() argument
65 tps6507x_i2c_write_device(struct tps6507x_dev *tps6507x, char reg, int bytes, void *src) tps6507x_i2c_write_device() argument
/kernel/linux/linux-5.10/net/rds/
H A Dpage.c52 * @bytes: the number of bytes needed.
58 * If @bytes is at least a full page then this just returns a page from
61 * If @bytes is a partial page then this stores the unused region of the
68 int rds_page_remainder_alloc(struct scatterlist *scat, unsigned long bytes, in rds_page_remainder_alloc() argument
79 if (bytes >= PAGE_SIZE) { in rds_page_remainder_alloc()
95 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc()
102 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc()
103 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); in rds_page_remainder_alloc()
109 rem->r_offset += ALIGN(bytes, in rds_page_remainder_alloc()
[all...]

Completed in 10 milliseconds

12345678910>>...125