Home
last modified time | relevance | path

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

12345678910>>...65

/linux/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/include/linux/
A Duio.h134 size_t bytes, struct iov_iter *i);
152 if (unlikely(!check_copy_size(addr, bytes, true))) in copy_to_iter()
155 return _copy_to_iter(addr, bytes, i); in copy_to_iter()
164 return _copy_from_iter(addr, bytes, i); in copy_from_iter()
170 size_t copied = copy_from_iter(addr, bytes, i); in copy_from_iter_full()
171 if (likely(copied == bytes)) in copy_from_iter_full()
183 return _copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_nocache()
190 if (likely(copied == bytes)) in copy_from_iter_full_nocache()
226 if (unlikely(!check_copy_size(addr, bytes, true))) in copy_mc_to_iter()
229 return _copy_mc_to_iter(addr, bytes, i); in copy_mc_to_iter()
[all …]
A Doverflow.h133 size_t bytes; in array_size() local
135 if (check_mul_overflow(a, b, &bytes)) in array_size()
138 return bytes; in array_size()
155 size_t bytes; in array3_size() local
157 if (check_mul_overflow(a, b, &bytes)) in array3_size()
159 if (check_mul_overflow(bytes, c, &bytes)) in array3_size()
162 return bytes; in array3_size()
171 size_t bytes; in __ab_c_size() local
173 if (check_mul_overflow(a, b, &bytes)) in __ab_c_size()
175 if (check_add_overflow(bytes, c, &bytes)) in __ab_c_size()
[all …]
/linux/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/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_cmd.c270 uint32_t bytes) in vmw_local_fifo_reserve() argument
291 fifo_state->reserved_size = bytes; in vmw_local_fifo_reserve()
330 bytes); in vmw_local_fifo_reserve()
388 if (bytes < chunk_size) in vmw_fifo_res_copy()
389 chunk_size = bytes; in vmw_fifo_res_copy()
394 rest = bytes - chunk_size; in vmw_fifo_res_copy()
407 while (bytes > 0) { in vmw_fifo_slow_copy()
415 bytes -= sizeof(uint32_t); in vmw_fifo_slow_copy()
427 BUG_ON((bytes & 3) != 0); in vmw_local_fifo_commit()
435 next_cmd, max, min, bytes); in vmw_local_fifo_commit()
[all …]
/linux/fs/btrfs/
A Dfree-space-cache.c1761 info->bytes -= bytes; in __bitmap_clear_bits()
1800 info->bytes += bytes; in bitmap_set_bits()
2160 bytes = info->bytes; in insert_into_bitmap()
2295 u64 bytes = info->bytes; in try_merge_free_space() local
2359 info->bytes += bytes; in steal_from_bitmap_to_end()
2416 info->bytes += bytes; in steal_from_bitmap_to_front()
2486 info->bytes = bytes; in __btrfs_add_free_space()
3117 if (entry->bytes < bytes) in btrfs_alloc_from_cluster()
3149 entry->bytes -= bytes; in btrfs_alloc_from_cluster()
3612 bytes = entry->bytes; in trim_no_bitmap()
[all …]
A Dspace-info.h73 u64 bytes; member
94 s64 bytes) \
96 const u64 abs_bytes = (bytes < 0) ? -bytes : bytes; \
98 trace_update_##name(fs_info, sinfo, sinfo->name, bytes); \
101 bytes > 0); \
102 if (bytes < 0 && sinfo->name < -bytes) { \
107 sinfo->name += bytes; \
124 struct btrfs_space_info *info, u64 bytes,
133 struct btrfs_space_info *space_info, u64 bytes,
146 int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes,
/linux/drivers/gpu/drm/i915/gvt/
A Dmmio.c76 bytes); in failsafe_emulate_mmio_rw()
79 bytes); in failsafe_emulate_mmio_rw()
84 memcpy(p_data, pt, bytes); in failsafe_emulate_mmio_rw()
86 memcpy(pt, p_data, bytes); in failsafe_emulate_mmio_rw()
103 void *p_data, unsigned int bytes) in intel_vgpu_emulate_mmio_read() argument
125 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
132 p_data, bytes); in intel_vgpu_emulate_mmio_read()
161 offset, bytes); in intel_vgpu_emulate_mmio_read()
201 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_write()
208 p_data, bytes); in intel_vgpu_emulate_mmio_write()
[all …]
/linux/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()
269 if (bytes) in bpf_prog6()
272 if (bytes) in bpf_prog6()
307 int ret = 0, *bytes, zero = 0; in bpf_prog8() local
310 if (bytes) { in bpf_prog8()
324 int ret = 0, *bytes, zero = 0; in bpf_prog9() local
327 if (bytes) { in bpf_prog9()
344 if (bytes) in bpf_prog10()
[all …]
/linux/arch/arm/include/asm/
A Dxor.h49 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_2()
70 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_3()
92 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_4()
111 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_5()
152 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
155 xor_block_neon_inner.do_2(bytes, p1, p2); in xor_neon_2()
165 xor_arm4regs_3(bytes, p1, p2, p3); in xor_neon_3()
168 xor_block_neon_inner.do_3(bytes, p1, p2, p3); in xor_neon_3()
178 xor_arm4regs_4(bytes, p1, p2, p3, p4); in xor_neon_4()
181 xor_block_neon_inner.do_4(bytes, p1, p2, p3, p4); in xor_neon_4()
[all …]
/linux/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/drivers/staging/media/atomisp/pci/hmm/
A Dhmm.c348 while (bytes) { in load_and_flush_by_kmap()
356 bytes -= len; in load_and_flush_by_kmap()
358 len = bytes; in load_and_flush_by_kmap()
359 bytes = 0; in load_and_flush_by_kmap()
480 while (bytes) { in hmm_store()
500 bytes -= len; in hmm_store()
502 len = bytes; in hmm_store()
503 bytes = 0; in hmm_store()
561 while (bytes) { in hmm_set()
571 len = bytes; in hmm_set()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth_sysfs.c62 ssize_t bytes = 0; in dpaa_eth_show_fqids() local
96 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
99 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
119 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr, in dpaa_eth_show_fqids()
122 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr, in dpaa_eth_show_fqids()
126 return bytes; in dpaa_eth_show_fqids()
133 ssize_t bytes = 0; in dpaa_eth_show_bpids() local
135 bytes += snprintf(buf + bytes, PAGE_SIZE - bytes, "%u\n", in dpaa_eth_show_bpids()
138 return bytes; in dpaa_eth_show_bpids()
/linux/drivers/rtc/
A Drtc-dm355evm.c29 u8 bytes[4]; member
48 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time()
50 time.bytes[0] = status; in dm355evm_rtc_read_time()
55 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time()
57 time.bytes[1] = status; in dm355evm_rtc_read_time()
62 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time()
64 time.bytes[2] = status; in dm355evm_rtc_read_time()
69 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time()
71 time.bytes[3] = status; in dm355evm_rtc_read_time()
96 status = dm355evm_msp_write(time.bytes[0], DM355EVM_MSP_RTC_0); in dm355evm_rtc_set_time()
[all …]
/linux/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/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/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/lib/
A Diov_iter.c188 wanted = bytes; in copy_page_to_iter_iovec()
232 bytes -= copy; in copy_page_to_iter_iovec()
316 bytes -= copy; in copy_page_from_iter_iovec()
429 return bytes; in copy_page_to_iter_pipe()
606 bytes = n = push_pipe(i, bytes, &i_head, &off); in copy_pipe_to_iter()
620 return bytes; in copy_pipe_to_iter()
643 bytes = push_pipe(i, bytes, &i_head, &r); in csum_and_copy_to_pipe_iter()
672 return bytes; in _copy_to_iter()
754 return bytes; in _copy_mc_to_iter()
883 bytes -= n; in copy_page_to_iter()
[all …]
/linux/block/
A Dblk-map.c170 bytes = len; in bio_copy_user_iov()
196 len -= bytes; in bio_copy_user_iov()
257 ret = bytes ? bytes : -EFAULT; in bio_map_user_iov()
273 n = bytes; in bio_map_user_iov()
283 bytes -= n; in bio_map_user_iov()
295 if (bytes) in bio_map_user_iov()
368 bytes = len; in bio_map_kern()
382 len -= bytes; in bio_map_kern()
447 bytes = len; in bio_copy_kern()
456 if (bio_add_pc_page(q, bio, page, bytes, 0) < bytes) in bio_copy_kern()
[all …]
/linux/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/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/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/drivers/crypto/vmx/
A Dghash.c42 int bytes; member
49 dctx->bytes = 0; in p8_ghash_init()
123 if (dctx->bytes) { in p8_ghash_update()
127 dctx->bytes += srclen; in p8_ghash_update()
130 memcpy(dctx->buffer + dctx->bytes, src, in p8_ghash_update()
131 GHASH_DIGEST_SIZE - dctx->bytes); in p8_ghash_update()
135 src += GHASH_DIGEST_SIZE - dctx->bytes; in p8_ghash_update()
137 dctx->bytes = 0; in p8_ghash_update()
147 dctx->bytes = srclen; in p8_ghash_update()
158 if (dctx->bytes) { in p8_ghash_final()
[all …]
/linux/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/include/trace/events/
A Drandom.h12 TP_PROTO(int bytes, unsigned long IP),
14 TP_ARGS(bytes, IP),
17 __field( int, bytes )
22 __entry->bytes = bytes;
27 __entry->bytes, (void *)__entry->IP)
33 TP_ARGS(pool_name, bytes, IP),
37 __field( int, bytes )
43 __entry->bytes = bytes;
48 __entry->pool_name, __entry->bytes, (void *)__entry->IP)
54 TP_ARGS(pool_name, bytes, IP)
[all …]

Completed in 85 milliseconds

12345678910>>...65