Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 1720) sorted by relevance

12345678910>>...69

/linux-6.3-rc2/include/sound/
A Dpcm-indirect.h58 if (hw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
59 bytes = hw_to_end; in snd_pcm_indirect_playback_transfer()
61 bytes = sw_to_end; in snd_pcm_indirect_playback_transfer()
62 if (! bytes) in snd_pcm_indirect_playback_transfer()
86 if (bytes < 0) in snd_pcm_indirect_playback_pointer()
90 rec->sw_io += bytes; in snd_pcm_indirect_playback_pointer()
127 bytes = hw_to_end; in snd_pcm_indirect_capture_transfer()
129 bytes = sw_to_end; in snd_pcm_indirect_capture_transfer()
130 if (! bytes) in snd_pcm_indirect_capture_transfer()
155 if (bytes < 0) in snd_pcm_indirect_capture_pointer()
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-io-rewind.c14 unsigned int bytes) in dm_bvec_iter_rewind() argument
18 iter->bi_size += bytes; in dm_bvec_iter_rewind()
19 if (bytes <= iter->bi_bvec_done) { in dm_bvec_iter_rewind()
20 iter->bi_bvec_done -= bytes; in dm_bvec_iter_rewind()
24 bytes -= iter->bi_bvec_done; in dm_bvec_iter_rewind()
27 while (idx >= 0 && bytes && bytes > bv[idx].bv_len) { in dm_bvec_iter_rewind()
28 bytes -= bv[idx].bv_len; in dm_bvec_iter_rewind()
32 if (WARN_ONCE(idx < 0 && bytes, in dm_bvec_iter_rewind()
34 iter->bi_size -= bytes; in dm_bvec_iter_rewind()
113 iter->bi_sector -= bytes >> 9; in dm_bio_rewind_iter()
[all …]
/linux-6.3-rc2/arch/x86/crypto/
A Dchacha_glue.c49 unsigned int bytes, int nrounds) in chacha_dosimd() argument
56 bytes -= CHACHA_BLOCK_SIZE * 8; in chacha_dosimd()
73 if (bytes) { in chacha_dosimd()
84 bytes -= CHACHA_BLOCK_SIZE * 8; in chacha_dosimd()
99 if (bytes > CHACHA_BLOCK_SIZE) { in chacha_dosimd()
108 bytes -= CHACHA_BLOCK_SIZE * 4; in chacha_dosimd()
113 if (bytes > CHACHA_BLOCK_SIZE) { in chacha_dosimd()
118 if (bytes) { in chacha_dosimd()
146 bytes <= CHACHA_BLOCK_SIZE) in chacha_crypt_arch()
156 bytes -= todo; in chacha_crypt_arch()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/hmm/
A Dhmm.c292 while (bytes) { in load_and_flush_by_kmap()
300 bytes -= len; in load_and_flush_by_kmap()
302 len = bytes; in load_and_flush_by_kmap()
303 bytes = 0; in load_and_flush_by_kmap()
424 while (bytes) { in hmm_store()
441 bytes -= len; in hmm_store()
443 len = bytes; in hmm_store()
444 bytes = 0; in hmm_store()
495 while (bytes) { in hmm_set()
505 len = bytes; in hmm_set()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_cmd.c277 uint32_t bytes) in vmw_local_fifo_reserve() argument
298 fifo_state->reserved_size = bytes; in vmw_local_fifo_reserve()
337 bytes); in vmw_local_fifo_reserve()
395 if (bytes < chunk_size) in vmw_fifo_res_copy()
396 chunk_size = bytes; in vmw_fifo_res_copy()
401 rest = bytes - chunk_size; in vmw_fifo_res_copy()
414 while (bytes > 0) { in vmw_fifo_slow_copy()
422 bytes -= sizeof(uint32_t); in vmw_fifo_slow_copy()
434 BUG_ON((bytes & 3) != 0); in vmw_local_fifo_commit()
442 next_cmd, max, min, bytes); in vmw_local_fifo_commit()
[all …]
/linux-6.3-rc2/include/linux/
A Duio.h156 size_t bytes, struct iov_iter *i);
172 size_t bytes, struct iov_iter *i) in copy_folio_to_iter() argument
180 if (check_copy_size(addr, bytes, true)) in copy_to_iter()
181 return _copy_to_iter(addr, bytes, i); in copy_to_iter()
188 if (check_copy_size(addr, bytes, false)) in copy_from_iter()
189 return _copy_from_iter(addr, bytes, i); in copy_from_iter()
196 size_t copied = copy_from_iter(addr, bytes, i); in copy_from_iter_full()
197 if (likely(copied == bytes)) in copy_from_iter_full()
206 if (check_copy_size(addr, bytes, false)) in copy_from_iter_nocache()
215 if (likely(copied == bytes)) in copy_from_iter_full_nocache()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dmmio.c80 bytes); in failsafe_emulate_mmio_rw()
83 bytes); in failsafe_emulate_mmio_rw()
88 memcpy(p_data, pt, bytes); in failsafe_emulate_mmio_rw()
90 memcpy(pt, p_data, bytes); in failsafe_emulate_mmio_rw()
107 void *p_data, unsigned int bytes) in intel_vgpu_emulate_mmio_read() argument
129 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
136 p_data, bytes); in intel_vgpu_emulate_mmio_read()
165 offset, bytes); in intel_vgpu_emulate_mmio_read()
205 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_write()
212 p_data, bytes); in intel_vgpu_emulate_mmio_write()
[all …]
A Dcfg_space.c70 u8 *src, unsigned int bytes) in vgpu_pci_cfg_mem_write() argument
94 if (i < bytes) in vgpu_pci_cfg_mem_write()
95 memcpy(cfg_base + off + i, src + i, bytes - i); in vgpu_pci_cfg_mem_write()
118 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_read() argument
122 if (drm_WARN_ON(&i915->drm, bytes > 4)) in intel_vgpu_emulate_cfg_read()
129 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
152 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
182 void *p_data, unsigned int bytes) in emulate_pci_bar_write() argument
257 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_write() argument
262 if (drm_WARN_ON(&i915->drm, bytes > 4)) in intel_vgpu_emulate_cfg_write()
[all …]
/linux-6.3-rc2/drivers/soc/tegra/fuse/
A Dfuse-tegra30.c141 .bytes = 4,
147 .bytes = 4,
153 .bytes = 4,
159 .bytes = 4,
165 .bytes = 4,
171 .bytes = 4,
177 .bytes = 4,
183 .bytes = 4,
189 .bytes = 4,
195 .bytes = 4,
[all …]
/linux-6.3-rc2/arch/arm/include/asm/
A Dxor.h50 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_2()
72 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_3()
96 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_4()
118 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_5()
160 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
163 xor_block_neon_inner.do_2(bytes, p1, p2); in xor_neon_2()
174 xor_arm4regs_3(bytes, p1, p2, p3); in xor_neon_3()
177 xor_block_neon_inner.do_3(bytes, p1, p2, p3); in xor_neon_3()
189 xor_arm4regs_4(bytes, p1, p2, p3, p4); in xor_neon_4()
192 xor_block_neon_inner.do_4(bytes, p1, p2, p3, p4); in xor_neon_4()
[all …]
/linux-6.3-rc2/arch/hexagon/mm/
A Dcopy_user_template.S19 p0 = cmp.gtu(bytes,#0)
25 p1 = cmp.gtu(bytes,#15)
32 loopcount = lsr(bytes,#3)
58 p1 = cmp.gtu(bytes,#7)
63 loopcount = lsr(bytes,#2)
84 p1 = cmp.gtu(bytes,#3)
107 p3=sp1loop0(.Loop1,bytes)
125 p0 = cmp.gtu(bytes,#0)
144 if (p0) bytes = add(bytes,#-1)
156 if (p0) bytes = add(bytes,#-2)
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_sockmap_kern.h241 if (bytes) in bpf_prog4()
244 if (bytes) in bpf_prog4()
245 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
273 if (bytes) in bpf_prog6()
276 if (bytes) in bpf_prog6()
314 int ret = 0, *bytes, zero = 0; in bpf_prog8() local
317 if (bytes) { in bpf_prog8()
331 int ret = 0, *bytes, zero = 0; in bpf_prog9() local
334 if (bytes) { in bpf_prog9()
351 if (bytes) in bpf_prog10()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth_sysfs.c36 ssize_t bytes = 0; in dpaa_eth_show_fqids() local
70 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
73 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
93 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr, in dpaa_eth_show_fqids()
96 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr, in dpaa_eth_show_fqids()
100 return bytes; in dpaa_eth_show_fqids()
107 ssize_t bytes = 0; in dpaa_eth_show_bpids() local
109 bytes += snprintf(buf + bytes, PAGE_SIZE - bytes, "%u\n", in dpaa_eth_show_bpids()
112 return bytes; in dpaa_eth_show_bpids()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dcacheflush.h67 unsigned long bytes = l1_dcache_bytes(); in flush_dcache_range() local
68 void *addr = (void *)(start & ~(bytes - 1)); in flush_dcache_range()
69 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in flush_dcache_range()
75 for (i = 0; i < size >> shift; i++, addr += bytes) in flush_dcache_range()
89 unsigned long bytes = l1_dcache_bytes(); in clean_dcache_range() local
90 void *addr = (void *)(start & ~(bytes - 1)); in clean_dcache_range()
91 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in clean_dcache_range()
94 for (i = 0; i < size >> shift; i++, addr += bytes) in clean_dcache_range()
108 unsigned long bytes = l1_dcache_bytes(); in invalidate_dcache_range() local
109 void *addr = (void *)(start & ~(bytes - 1)); in invalidate_dcache_range()
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dfree-space-cache.c1882 info->bytes -= bytes; in bitmap_clear_bits()
1923 info->bytes += bytes; in bitmap_set_bits()
2312 bytes = info->bytes; in insert_into_bitmap()
2447 u64 bytes = info->bytes; in try_merge_free_space() local
2505 info->bytes += bytes; in steal_from_bitmap_to_end()
2559 info->bytes += bytes; in steal_from_bitmap_to_front()
2626 info->bytes = bytes; in __btrfs_add_free_space()
3230 if (entry->bytes < bytes) in btrfs_alloc_from_cluster()
3262 entry->bytes -= bytes; in btrfs_alloc_from_cluster()
3738 bytes = entry->bytes; in trim_no_bitmap()
[all …]
A Dspace-info.h162 u64 bytes; member
183 s64 bytes) \
185 const u64 abs_bytes = (bytes < 0) ? -bytes : bytes; \
187 trace_update_##name(fs_info, sinfo, sinfo->name, bytes); \
190 bytes > 0); \
191 if (bytes < 0 && sinfo->name < -bytes) { \
196 sinfo->name += bytes; \
213 struct btrfs_space_info *info, u64 bytes,
222 struct btrfs_space_info *space_info, u64 bytes,
235 int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes,
/linux-6.3-rc2/tools/include/linux/
A Doverflow.h84 size_t bytes; in array_size() local
86 if (check_mul_overflow(a, b, &bytes)) in array_size()
89 return bytes; in array_size()
106 size_t bytes; in array3_size() local
108 if (check_mul_overflow(a, b, &bytes)) in array3_size()
110 if (check_mul_overflow(bytes, c, &bytes)) in array3_size()
113 return bytes; in array3_size()
118 size_t bytes; in __ab_c_size() local
120 if (check_mul_overflow(n, size, &bytes)) in __ab_c_size()
122 if (check_add_overflow(bytes, c, &bytes)) in __ab_c_size()
[all …]
/linux-6.3-rc2/sound/i2c/other/
A Dpt2258.c34 unsigned char bytes[2]; in snd_pt2258_reset() local
38 bytes[0] = PT2258_CMD_RESET; in snd_pt2258_reset()
40 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
46 bytes[0] = PT2258_CMD_MUTE; in snd_pt2258_reset()
48 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
55 bytes[0] = 0xd0; in snd_pt2258_reset()
56 bytes[1] = 0xe0; in snd_pt2258_reset()
58 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) in snd_pt2258_reset()
97 unsigned char bytes[2]; in pt2258_stereo_volume_put() local
111 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) in pt2258_stereo_volume_put()
[all …]
/linux-6.3-rc2/arch/alpha/lib/
A Dev6-memcpy.S68 ldq $1, 0($17) # L : get 8 bytes
87 ldq $6, 0($17) # L0 : bytes 0..7
91 ldq $4, 8($17) # L : bytes 8..15
92 ldq $5, 16($17) # L : bytes 16..23
96 ldq $3, 24($17) # L : bytes 24..31
102 stq $6, 0($16) # L : bytes 0..7
106 stq $4, 8($16) # L : bytes 8..15
107 stq $5, 16($16) # L : bytes 16..23
116 ldq $6, 0($17) # L : bytes 0..7
117 ldq $4, 8($17) # L : bytes 8..15
[all …]
/linux-6.3-rc2/drivers/media/pci/cobalt/
A Dcobalt-omnitek.c172 unsigned bytes; in descriptor_list_create() local
203 d->bytes = (bytes / 2) & ~3; in descriptor_list_create()
213 bytes -= d->bytes; in descriptor_list_create()
228 d->bytes = bytes; in descriptor_list_create()
230 size -= bytes; in descriptor_list_create()
231 copied += bytes; in descriptor_list_create()
232 offset += bytes; in descriptor_list_create()
238 copied += bytes; in descriptor_list_create()
239 offset += bytes; in descriptor_list_create()
240 size -= bytes; in descriptor_list_create()
[all …]
/linux-6.3-rc2/drivers/crypto/vmx/
A Dghash.c43 int bytes; member
50 dctx->bytes = 0; in p8_ghash_init()
124 if (dctx->bytes) { in p8_ghash_update()
128 dctx->bytes += srclen; in p8_ghash_update()
131 memcpy(dctx->buffer + dctx->bytes, src, in p8_ghash_update()
132 GHASH_DIGEST_SIZE - dctx->bytes); in p8_ghash_update()
136 src += GHASH_DIGEST_SIZE - dctx->bytes; in p8_ghash_update()
138 dctx->bytes = 0; in p8_ghash_update()
148 dctx->bytes = srclen; in p8_ghash_update()
159 if (dctx->bytes) { in p8_ghash_final()
[all …]
/linux-6.3-rc2/crypto/
A Dnhpoly1305.c97 unsigned int bytes; in nhpoly1305_units() local
111 bytes = min(srclen, state->nh_remaining); in nhpoly1305_units()
116 state->nh_remaining -= bytes; in nhpoly1305_units()
120 src += bytes; in nhpoly1305_units()
121 srclen -= bytes; in nhpoly1305_units()
161 unsigned int bytes; in crypto_nhpoly1305_update_helper() local
166 state->buflen += bytes; in crypto_nhpoly1305_update_helper()
172 src += bytes; in crypto_nhpoly1305_update_helper()
173 srclen -= bytes; in crypto_nhpoly1305_update_helper()
179 src += bytes; in crypto_nhpoly1305_update_helper()
[all …]
/linux-6.3-rc2/lib/
A Dmemcpy_kunit.c335 for (int bytes = 1; bytes <= ARRAY_SIZE(large_src); bytes++) { in copy_large_test() local
338 int right_zero_pos = offset + bytes; in copy_large_test()
414 bytes, s_off, d_off); in inner_loop()
421 right_zero_pos = d_off + bytes; in inner_loop()
431 right_zero_pos = s_off + bytes; in inner_loop()
434 src_pos = d_off + bytes; in inner_loop()
443 bytes, s_off, d_off); in inner_loop()
449 bytes, s_off, d_off); in inner_loop()
454 bytes, s_off, d_off); in inner_loop()
480 for (int bytes = bytes_start; bytes < bytes_end; in memmove_overlap_test() local
[all …]
/linux-6.3-rc2/drivers/ps3/
A Dps3-vuart.c426 bytes = bytes ? min(bytes, (unsigned int)bytes_waiting) : bytes_waiting; in ps3_vuart_clear_rx_bytes()
430 if (!bytes) in ps3_vuart_clear_rx_bytes()
435 bytes += 128; in ps3_vuart_clear_rx_bytes()
484 bytes, bytes); in ps3_vuart_write()
550 u64 bytes; in ps3_vuart_queue_rx_bytes() local
560 if (!bytes) in ps3_vuart_queue_rx_bytes()
565 bytes += 128; in ps3_vuart_queue_rx_bytes()
572 ps3_vuart_raw_read(dev, lb->data, bytes, &bytes); in ps3_vuart_queue_rx_bytes()
608 bytes, bytes); in ps3_vuart_read()
698 __LINE__, bytes, bytes); in ps3_vuart_read_async()
[all …]
/linux-6.3-rc2/arch/s390/lib/
A Dxor.c14 static void xor_xc_2(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_2() argument
32 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2()
36 static void xor_xc_3(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_3() argument
59 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) in xor_xc_3()
63 static void xor_xc_4(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_4() argument
91 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) in xor_xc_4()
95 static void xor_xc_5(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_5() argument
128 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4), in xor_xc_5()

Completed in 53 milliseconds

12345678910>>...69