Searched refs:bytes (Results 176 - 200 of 1671) sorted by relevance

1234567891011>>

/linux-master/arch/mips/crypto/
H A Dpoly1305-glue.c76 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); local
78 memcpy(dctx->buf + dctx->buflen, src, bytes);
79 src += bytes;
80 len -= bytes;
81 dctx->buflen += bytes;
106 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); local
108 memcpy(dctx->buf + dctx->buflen, src, bytes);
109 src += bytes;
110 nbytes -= bytes;
111 dctx->buflen += bytes;
[all...]
/linux-master/arch/arm64/crypto/
H A Dpoly1305-glue.c85 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); local
87 memcpy(dctx->buf + dctx->buflen, src, bytes);
88 src += bytes;
89 len -= bytes;
90 dctx->buflen += bytes;
129 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); local
131 memcpy(dctx->buf + dctx->buflen, src, bytes);
132 src += bytes;
133 nbytes -= bytes;
134 dctx->buflen += bytes;
[all...]
/linux-master/drivers/soc/fsl/
H A Ddpaa2-console.c196 size_t bytes = dpaa2_console_size(cd); local
208 if (count < bytes)
209 bytes = count;
211 kbuf = kmalloc(bytes, GFP_KERNEL);
215 if (bytes > bytes_end) {
223 bytes -= bytes_end;
227 memcpy_fromio(kbuf, cd->cur_ptr, bytes);
228 if (copy_to_user(buf, kbuf, bytes)) {
232 cd->cur_ptr += bytes;
233 written += bytes;
[all...]
/linux-master/include/linux/
H A Doverflow.h268 size_t bytes; local
270 if (check_mul_overflow(factor1, factor2, &bytes))
273 return bytes;
287 size_t bytes; local
289 if (check_add_overflow(addend1, addend2, &bytes))
292 return bytes;
308 size_t bytes; local
311 check_sub_overflow(minuend, subtrahend, &bytes))
314 return bytes;
324 * Returns: number of bytes neede
[all...]
/linux-master/sound/core/
H A Dpcm_memory.c32 MODULE_PARM_DESC(max_alloc_per_card, "Max total allocation bytes per card.");
34 static void __update_allocated_size(struct snd_card *card, ssize_t bytes) argument
36 card->total_pcm_alloc_bytes += bytes;
39 static void update_allocated_size(struct snd_card *card, ssize_t bytes) argument
42 __update_allocated_size(card, bytes);
45 static void decrease_allocated_size(struct snd_card *card, size_t bytes) argument
48 WARN_ON(card->total_pcm_alloc_bytes < bytes);
49 __update_allocated_size(card, -(ssize_t)bytes);
75 if (dmab->bytes != size)
76 update_allocated_size(card, dmab->bytes
[all...]
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_qp_rx.c27 * @len: number of bytes to place
36 int pg_off, bytes, rv; local
52 bytes = min(len, (int)PAGE_SIZE - pg_off);
54 siw_dbg_qp(rx_qp(srx), "page %pK, bytes=%u\n", p, bytes); local
58 bytes);
73 (u8 *)(dest + pg_off), bytes);
87 siw_crc_skb(srx, bytes);
92 srx->skb_offset += bytes;
93 copied += bytes;
135 int bytes; local
408 siw_rx_data(struct siw_mem *mem_p, struct siw_rx_stream *srx, unsigned int *pbl_idx, u64 addr, int bytes) argument
550 int bytes, rv; local
789 int bytes, rv; local
1002 int bytes; local
[all...]
/linux-master/samples/seccomp/
H A Dbpf-direct.c67 ssize_t bytes; local
84 bytes = write(STDOUT_FILENO, buf, len);
85 ctx->uc_mcontext.gregs[REG_RESULT] = bytes;
167 ssize_t bytes = 0; local
174 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf));
176 syscall(__NR_write, STDOUT_FILENO, buf, bytes);
/linux-master/crypto/
H A Dpoly1305_generic.c76 unsigned int bytes; local
79 bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen);
80 memcpy(dctx->buf + dctx->buflen, src, bytes);
81 src += bytes;
82 srclen -= bytes;
83 dctx->buflen += bytes;
/linux-master/fs/
H A Dkernel_read_file.c31 * Returns number of bytes read (no single read will be bigger
89 ssize_t bytes; local
93 bytes = kernel_read(file, *buf + copied, wanted, &pos);
94 if (bytes < 0) {
95 ret = bytes;
99 if (bytes == 0)
101 copied += bytes;
/linux-master/drivers/vdpa/mlx5/net/
H A Ddebug.c57 u64 bytes; local
60 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes);
72 u64 bytes; local
75 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes);
79 seq_printf(file, "0x%llx\n", bytes);
84 DEFINE_SHOW_ATTRIBUTE(bytes); variable
91 debugfs_create_file("bytes", 0444, parent, counter,
/linux-master/drivers/nvmem/layouts/
H A Dsl28vpd.c26 size_t bytes)
28 if (bytes != ETH_ALEN)
46 .bytes = sizeof_field(struct sl28vpd_v1, serial_number),
51 .bytes = sizeof_field(struct sl28vpd_v1, base_mac_address),
123 info.bytes = pinfo->bytes;
24 sl28vpd_mac_address_pp(void *priv, const char *id, int index, unsigned int offset, void *buf, size_t bytes) argument
/linux-master/arch/powerpc/perf/
H A Dhv-gpci.c46 /* u8, bytes of data (1-8) */
180 *n += sprintf(buf + *n, "%02x", (u8)arg->bytes[j]);
236 u32 starting_index = arg->bytes[last_element + 3] +
237 (arg->bytes[last_element + 2] << 8) +
238 (arg->bytes[last_element + 1] << 16) +
239 (arg->bytes[last_element] << 24) + 1;
304 u32 starting_index = arg->bytes[last_element + 3] +
305 (arg->bytes[last_element + 2] << 8) +
306 (arg->bytes[last_element + 1] << 16) +
307 (arg->bytes[last_elemen
[all...]
/linux-master/drivers/mtd/ubi/
H A Dupd.c68 * @bytes: new data size in bytes
75 long long bytes)
88 vol->used_bytes = bytes;
89 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size,
108 * @bytes: update bytes
110 * This function starts volume update operation. If @bytes is zero, the volume
115 long long bytes)
119 dbg_gen("start update of volume %d, %llu bytes", vo
74 clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) argument
114 ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) argument
[all...]
/linux-master/drivers/crypto/chelsio/
H A Dchcr_algo.h259 int bytes; member in struct:cipher_wr_param
395 u8 bytes[4]; local
397 *(u32 *)(&bytes[0]) = w;
398 bytes[0] = aes_sbox[bytes[0]];
399 bytes[1] = aes_sbox[bytes[1]];
400 bytes[2] = aes_sbox[bytes[2]];
401 bytes[
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_debugfs.c44 u64 packets, bytes, lastuse; local
53 mlx5_fc_query_cached_raw(entry->ingress_counter, &bytes, &packets, &lastuse);
55 entry->dev->name, entry->key.addr, entry->key.vid, packets, bytes, lastuse,
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_ring.c72 /* Discard any unused bytes beyond that submitted to hw. */
195 unsigned int bytes)
200 if (intel_ring_update_space(ring) >= bytes)
209 if (bytes <= __intel_ring_space(target->postfix,
226 GEM_BUG_ON(ring->space < bytes);
234 const unsigned int bytes = num_dwords * sizeof(u32); local
242 total_bytes = bytes + rq->reserved_space;
248 if (bytes > remain_usable) {
300 GEM_BUG_ON(ring->emit > ring->size - bytes);
301 GEM_BUG_ON(ring->space < bytes);
193 wait_for_space(struct intel_ring *ring, struct intel_timeline *tl, unsigned int bytes) argument
[all...]
/linux-master/mm/
H A Dpage_poison.c48 static void check_poison_mem(struct page *page, unsigned char *mem, size_t bytes) argument
54 start = memchr_inv(mem, PAGE_POISON, bytes);
58 for (end = mem + bytes - 1; end > start; end--) {
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dconnect.c9 ssize_t bytes; local
26 bytes = test_server_run(sk, 0, 0);
28 test_fail("server served: %zd", bytes);
/linux-master/include/drm/
H A Ddrm_managed.h83 size_t bytes; local
85 if (unlikely(check_mul_overflow(n, size, &bytes)))
88 return drmm_kmalloc(dev, bytes, flags);
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dpmecc.h46 int bytes; member in struct:atmel_pmecc_user_req::__anon5254
/linux-master/tools/testing/selftests/powerpc/switch_endian/
H A DMakefile15 $(CROSS_COMPILE)objcopy -j .text --reverse-bytes=4 -O binary $< $@
/linux-master/include/uapi/linux/
H A Dgen_stats.h23 * @bytes: number of seen bytes
27 __u64 bytes; member in struct:gnet_stats_basic
/linux-master/arch/x86/include/asm/
H A Dxor.h60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, argument
63 unsigned long lines = bytes >> 8;
112 xor_sse_2_pf64(unsigned long bytes, unsigned long * __restrict p1, argument
115 unsigned long lines = bytes >> 8;
147 xor_sse_3(unsigned long bytes, unsigned long * __restrict p1, argument
151 unsigned long lines = bytes >> 8;
207 xor_sse_3_pf64(unsigned long bytes, unsigned long * __restrict p1, argument
211 unsigned long lines = bytes >> 8;
245 xor_sse_4(unsigned long bytes, unsigned long * __restrict p1, argument
250 unsigned long lines = bytes >>
313 xor_sse_4_pf64(unsigned long bytes, unsigned long * __restrict p1, const unsigned long * __restrict p2, const unsigned long * __restrict p3, const unsigned long * __restrict p4) argument
354 xor_sse_5(unsigned long bytes, unsigned long * __restrict p1, const unsigned long * __restrict p2, const unsigned long * __restrict p3, const unsigned long * __restrict p4, const unsigned long * __restrict p5) argument
430 xor_sse_5_pf64(unsigned long bytes, unsigned long * __restrict p1, const unsigned long * __restrict p2, const unsigned long * __restrict p3, const unsigned long * __restrict p4, const unsigned long * __restrict p5) argument
[all...]
/linux-master/sound/soc/sof/
H A Diomem-utils.c55 void *message, size_t bytes)
59 memcpy_toio(dest, message, bytes);
64 void *message, size_t bytes)
68 memcpy_fromio(message, src, bytes);
101 * bytes, and write back to dest. For unaffected bytes, it
54 sof_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) argument
63 sof_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) argument
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c115 new_stats.rx_bytes - old_stats->bytes,
121 old_stats->bytes = new_stats.rx_bytes;
127 new_stats.tx_bytes - old_stats->bytes,
133 old_stats->bytes = new_stats.tx_bytes;

Completed in 265 milliseconds

1234567891011>>