Home
last modified time | relevance | path

Searched full:bytes (Results 1 – 25 of 7104) sorted by relevance

12345678910>>...285

/kernel/linux/linux-5.10/drivers/scsi/
Dmyrs.h172 unsigned short bus_speed_mhz; /* Bytes 4-5 */
176 unsigned char rsvd3[7]; /* Bytes 9-15 */
177 unsigned char bus_name[16]; /* Bytes 16-31 */
178 unsigned char ctlr_name[16]; /* Bytes 32-47 */
179 unsigned char rsvd4[16]; /* Bytes 48-63 */
191 unsigned char rsvd5[3]; /* Bytes 73-75 */
207 unsigned short nvram_size_kb; /* Bytes 90-91 */
209 unsigned char rsvd8[3]; /* Bytes 93-95 */
211 unsigned char serial_number[16]; /* Bytes 96-111 */
212 unsigned char rsvd9[16]; /* Bytes 112-127 */
[all …]
Dmyrb.h164 unsigned int rsvd1:24; /* Bytes 1-3 */
165 unsigned int ldev_sizes[32]; /* Bytes 4-131 */
166 unsigned short flash_age; /* Bytes 132-133 */
189 unsigned short ev_seq; /* Bytes 142-143 */
191 unsigned int rsvd5:24; /* Bytes 145-147 */
203 } dead_drives[21]; /* Bytes 152-194 */
204 unsigned char rsvd9[62]; /* Bytes 195-255 */
237 } hw; /* Bytes 0-3 */
244 } fw; /* Bytes 4-7 */
254 unsigned int rsvd3; /* Bytes 20-23 */
[all …]
/kernel/linux/linux-5.10/include/sound/
Dpcm-indirect.h19 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */
22 unsigned int sw_io; /* Current software pointer in bytes */
23 int sw_ready; /* Bytes ready to be transferred to/from hw */
28 struct snd_pcm_indirect *rec, size_t bytes);
55 unsigned int bytes = qsize - rec->hw_ready; in snd_pcm_indirect_playback_transfer() local
56 if (rec->sw_ready < (int)bytes) in snd_pcm_indirect_playback_transfer()
57 bytes = rec->sw_ready; in snd_pcm_indirect_playback_transfer()
58 if (hw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
59 bytes = hw_to_end; in snd_pcm_indirect_playback_transfer()
60 if (sw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
[all …]
/kernel/linux/linux-4.19/include/sound/
Dpcm-indirect.h32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */
35 unsigned int sw_io; /* Current software pointer in bytes */
36 int sw_ready; /* Bytes ready to be transferred to/from hw */
41 struct snd_pcm_indirect *rec, size_t bytes);
68 unsigned int bytes = qsize - rec->hw_ready; in snd_pcm_indirect_playback_transfer() local
69 if (rec->sw_ready < (int)bytes) in snd_pcm_indirect_playback_transfer()
70 bytes = rec->sw_ready; in snd_pcm_indirect_playback_transfer()
71 if (hw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
72 bytes = hw_to_end; in snd_pcm_indirect_playback_transfer()
73 if (sw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
[all …]
/kernel/linux/linux-4.19/sound/drivers/
Dpcm-indirect2.c57 snd_printk(KERN_DEBUG "STAT: bytes2hw: %u Bytes => (by runtime->rate) " in snd_pcm_indirect2_stat()
61 "rate: %d Bytes/s = %d Frames/s|Hz\n", in snd_pcm_indirect2_stat()
139 unsigned int bytes) in snd_pcm_indirect2_increase_min_periods() argument
143 rec->sw_io += bytes; in snd_pcm_indirect2_increase_min_periods()
185 * the first zeros means, the last bytes were played. in snd_pcm_indirect2_increase_min_periods()
195 if (bytes >= diff) in snd_pcm_indirect2_increase_min_periods()
198 rec->sw_io += bytes; in snd_pcm_indirect2_increase_min_periods()
205 rec->min_period_count += bytes; in snd_pcm_indirect2_increase_min_periods()
255 * diff: obviously ALSA wrote that much bytes into the intermediate in snd_pcm_indirect2_playback_transfer()
266 /* number of bytes "added" by ALSA increases the number of in snd_pcm_indirect2_playback_transfer()
[all …]
/kernel/linux/linux-4.19/drivers/block/
DDAC960.h147 unsigned char VendorIdentification[8]; /* Bytes 8-15 */
148 unsigned char ProductIdentification[16]; /* Bytes 16-31 */
149 unsigned char ProductRevisionLevel[4]; /* Bytes 32-35 */
165 unsigned char ProductSerialNumber[28]; /* Bytes 4-31 */
211 unsigned char Information[4]; /* Bytes 3-6 */
213 unsigned char CommandSpecificInformation[4]; /* Bytes 8-11 */
366 unsigned int :24; /* Bytes 1-3 */
367 unsigned int LogicalDriveSizes[32]; /* Bytes 4-131 */
368 unsigned short FlashAge; /* Bytes 132-133 */
391 unsigned short EventLogSequenceNumber; /* Bytes 142-143 */
[all …]
/kernel/linux/linux-4.19/include/linux/
Duio.h51 * Total number of bytes covered by an iovec.
84 struct iov_iter *i, unsigned long offset, size_t bytes);
85 void iov_iter_advance(struct iov_iter *i, size_t bytes);
86 void iov_iter_revert(struct iov_iter *i, size_t bytes);
87 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes);
89 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
91 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
94 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
95 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
96 bool _copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i);
[all …]
Dccp.h152 * @key_len: length in bytes of key
154 * @iv_len: length in bytes of iv
157 * @src_len: length in bytes of data used for this operation
160 * @cmac_key_len: length in bytes of cmac_key
179 u32 key_len; /* In bytes */
182 u32 iv_len; /* In bytes */
185 u64 src_len; /* In bytes */
190 u32 cmac_key_len; /* In bytes */
192 u32 aad_len; /* In bytes */
199 * @CCP_XTS_AES_UNIT_SIZE_16: Unit size of 16 bytes
[all …]
/kernel/linux/linux-5.10/include/linux/
Duio.h89 * Total number of bytes covered by an iovec.
115 struct iov_iter *i, unsigned long offset, size_t bytes);
116 void iov_iter_advance(struct iov_iter *i, size_t bytes);
117 void iov_iter_revert(struct iov_iter *i, size_t bytes);
118 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes);
120 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
122 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
125 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
126 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
127 bool _copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i);
[all …]
Dccp.h149 * @key_len: length in bytes of key
151 * @iv_len: length in bytes of iv
154 * @src_len: length in bytes of data used for this operation
157 * @cmac_key_len: length in bytes of cmac_key
176 u32 key_len; /* In bytes */
179 u32 iv_len; /* In bytes */
182 u64 src_len; /* In bytes */
187 u32 cmac_key_len; /* In bytes */
189 u32 aad_len; /* In bytes */
196 * @CCP_XTS_AES_UNIT_SIZE_16: Unit size of 16 bytes
[all …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dchacha_glue.c49 unsigned int bytes, int nrounds) in chacha_dosimd() argument
53 while (bytes >= CHACHA_BLOCK_SIZE * 8) { in chacha_dosimd()
54 chacha_8block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
56 bytes -= CHACHA_BLOCK_SIZE * 8; in chacha_dosimd()
61 if (bytes > CHACHA_BLOCK_SIZE * 4) { in chacha_dosimd()
62 chacha_8block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
64 state[12] += chacha_advance(bytes, 8); in chacha_dosimd()
67 if (bytes > CHACHA_BLOCK_SIZE * 2) { in chacha_dosimd()
68 chacha_4block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
70 state[12] += chacha_advance(bytes, 4); in chacha_dosimd()
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/bpf/
Dtest_sockmap_kern.h184 int *bytes, zero = 0, one = 1; in bpf_prog4() local
187 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
188 if (bytes) in bpf_prog4()
189 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4()
190 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
191 if (bytes) in bpf_prog4()
192 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
204 int *bytes, *start, *end, len1, len2; in bpf_prog5() local
206 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog5()
207 if (bytes) in bpf_prog5()
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dspace-info.h9 u64 total_bytes; /* total bytes in the space,
11 u64 bytes_used; /* total bytes used,
13 u64 bytes_pinned; /* total bytes pinned, will be freed when the
15 u64 bytes_reserved; /* total bytes the allocator has reserved for
17 u64 bytes_may_use; /* number of bytes that may be used for
19 u64 bytes_readonly; /* total bytes that are read only */
34 u64 disk_used; /* total bytes used on disk */
35 u64 disk_total; /* total bytes on disk, takes mirrors into
44 * bytes_pinned does not reflect the bytes that will be pinned once the
79 u64 bytes; member
[all …]
Dfree-space-cache.c32 u64 bytes; member
516 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry() argument
526 put_unaligned_le64(bytes, &entry->bytes); in io_ctl_add_entry()
600 entry->bytes = get_unaligned_le64(&e->bytes); in io_ctl_read_entry()
650 if (prev->offset + prev->bytes == e->offset) { in merge_space_tree()
653 prev->bytes += e->bytes; in merge_space_tree()
768 if (!e->bytes) { in __load_free_space_cache()
827 ctl->discardable_bytes[BTRFS_STAT_CURR] += e->bytes; in __load_free_space_cache()
974 ret = io_ctl_add_entry(io_ctl, e->offset, e->bytes, in write_cache_extent_entries()
1004 trim_entry->bytes, NULL); in write_cache_extent_entries()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c206 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full() argument
214 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full()
218 uint32_t bytes, bool interruptible, in vmw_fifo_wait_noirq() argument
231 if (!vmw_fifo_is_full(dev_priv, bytes)) in vmw_fifo_wait_noirq()
251 uint32_t bytes, bool interruptible, in vmw_fifo_wait() argument
256 if (likely(!vmw_fifo_is_full(dev_priv, bytes))) in vmw_fifo_wait()
261 return vmw_fifo_wait_noirq(dev_priv, bytes, in vmw_fifo_wait()
270 !vmw_fifo_is_full(dev_priv, bytes), timeout); in vmw_fifo_wait()
274 !vmw_fifo_is_full(dev_priv, bytes), timeout); in vmw_fifo_wait()
288 * Reserve @bytes number of bytes in the fifo.
[all …]
/kernel/linux/linux-5.10/lib/
Diov_iter.c164 static size_t copy_page_to_iter_iovec(struct page *page, size_t offset, size_t bytes, in copy_page_to_iter_iovec() argument
172 if (unlikely(bytes > i->count)) in copy_page_to_iter_iovec()
173 bytes = i->count; in copy_page_to_iter_iovec()
175 if (unlikely(!bytes)) in copy_page_to_iter_iovec()
179 wanted = bytes; in copy_page_to_iter_iovec()
183 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec()
194 bytes -= copy; in copy_page_to_iter_iovec()
196 while (unlikely(!left && bytes)) { in copy_page_to_iter_iovec()
199 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec()
204 bytes -= copy; in copy_page_to_iter_iovec()
[all …]
/kernel/linux/linux-5.10/arch/hexagon/mm/
Dcopy_user_template.S8 * W: width in bytes
19 p0 = cmp.gtu(bytes,#0)
25 p1 = cmp.gtu(bytes,#15)
32 loopcount = lsr(bytes,#3)
46 bytes -= asl(loopcount,#3)
58 p1 = cmp.gtu(bytes,#7)
63 loopcount = lsr(bytes,#2)
76 bytes -= asl(loopcount,#2)
84 p1 = cmp.gtu(bytes,#3)
89 loopcount = lsr(bytes,#1)
[all …]
/kernel/linux/linux-4.19/lib/
Diov_iter.c151 static size_t copy_page_to_iter_iovec(struct page *page, size_t offset, size_t bytes, in copy_page_to_iter_iovec() argument
159 if (unlikely(bytes > i->count)) in copy_page_to_iter_iovec()
160 bytes = i->count; in copy_page_to_iter_iovec()
162 if (unlikely(!bytes)) in copy_page_to_iter_iovec()
166 wanted = bytes; in copy_page_to_iter_iovec()
170 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec()
181 bytes -= copy; in copy_page_to_iter_iovec()
183 while (unlikely(!left && bytes)) { in copy_page_to_iter_iovec()
186 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec()
191 bytes -= copy; in copy_page_to_iter_iovec()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c206 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full() argument
214 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full()
218 uint32_t bytes, bool interruptible, in vmw_fifo_wait_noirq() argument
231 if (!vmw_fifo_is_full(dev_priv, bytes)) in vmw_fifo_wait_noirq()
251 uint32_t bytes, bool interruptible, in vmw_fifo_wait() argument
256 if (likely(!vmw_fifo_is_full(dev_priv, bytes))) in vmw_fifo_wait()
261 return vmw_fifo_wait_noirq(dev_priv, bytes, in vmw_fifo_wait()
270 !vmw_fifo_is_full(dev_priv, bytes), timeout); in vmw_fifo_wait()
274 !vmw_fifo_is_full(dev_priv, bytes), timeout); in vmw_fifo_wait()
288 * Reserve @bytes number of bytes in the fifo.
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h121 * @rsvd0: reserved bytes
123 * @rsvd1: reserved bytes
125 * @rsvd2: reserved bytes
128 * @rsvd3: reserved bytes
131 * @rsvd4: reserved bytes
158 * @rsvd0: reserved bytes
165 * @rsvd1: reserved bytes
175 * @rsvd2: reserved bytes
178 * @rsvd3: reserved bytes
282 * @tx_bytes: transmit bytes
[all …]
/kernel/linux/linux-4.19/fs/btrfs/
Dfree-space-cache.c27 u64 bytes; member
515 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry() argument
525 entry->bytes = cpu_to_le64(bytes); in io_ctl_add_entry()
599 entry->bytes = le64_to_cpu(e->bytes); in io_ctl_read_entry()
649 if (prev->offset + prev->bytes == e->offset) { in merge_space_tree()
652 prev->bytes += e->bytes; in merge_space_tree()
755 if (!e->bytes) { in __load_free_space_cache()
952 ret = io_ctl_add_entry(io_ctl, e->offset, e->bytes, in write_cache_extent_entries()
982 trim_entry->bytes, NULL); in write_cache_extent_entries()
1432 static inline unsigned long bytes_to_bits(u64 bytes, u32 unit) in bytes_to_bits() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dmmio.c61 void *p_data, unsigned int bytes, bool read) in failsafe_emulate_mmio_rw() argument
76 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()
97 * @bytes: access data length
103 void *p_data, unsigned int bytes) in intel_vgpu_emulate_mmio_read() argument
111 failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true); in intel_vgpu_emulate_mmio_read()
118 if (drm_WARN_ON(&i915->drm, bytes > 8)) in intel_vgpu_emulate_mmio_read()
125 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/gvt/
Dmmio.c60 void *p_data, unsigned int bytes, bool read) in failsafe_emulate_mmio_rw() argument
75 bytes); in failsafe_emulate_mmio_rw()
78 bytes); in failsafe_emulate_mmio_rw()
83 memcpy(p_data, pt, bytes); in failsafe_emulate_mmio_rw()
85 memcpy(pt, p_data, bytes); in failsafe_emulate_mmio_rw()
96 * @bytes: access data length
102 void *p_data, unsigned int bytes) in intel_vgpu_emulate_mmio_read() argument
109 failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true); in intel_vgpu_emulate_mmio_read()
116 if (WARN_ON(bytes > 8)) in intel_vgpu_emulate_mmio_read()
122 if (WARN_ON(bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
[all …]
/kernel/linux/linux-4.19/arch/hexagon/mm/
Dcopy_user_template.S21 * W: width in bytes
32 p0 = cmp.gtu(bytes,#0)
38 p1 = cmp.gtu(bytes,#15)
45 loopcount = lsr(bytes,#3)
59 bytes -= asl(loopcount,#3)
71 p1 = cmp.gtu(bytes,#7)
76 loopcount = lsr(bytes,#2)
89 bytes -= asl(loopcount,#2)
97 p1 = cmp.gtu(bytes,#3)
102 loopcount = lsr(bytes,#1)
[all …]
/kernel/linux/linux-5.10/drivers/ps3/
Dps3-vuart.c352 const void *buf, unsigned int bytes, u64 *bytes_written) in ps3_vuart_raw_write() argument
358 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_written); in ps3_vuart_raw_write()
369 *bytes_written, bytes, priv->stats.bytes_written); in ps3_vuart_raw_write()
382 unsigned int bytes, u64 *bytes_read) in ps3_vuart_raw_read() argument
387 dev_dbg(&dev->core, "%s:%d: %xh\n", __func__, __LINE__, bytes); in ps3_vuart_raw_read()
390 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_read); in ps3_vuart_raw_read()
401 *bytes_read, bytes, priv->stats.bytes_read); in ps3_vuart_raw_read()
407 * ps3_vuart_clear_rx_bytes - Discard bytes received.
409 * @bytes: Max byte count to discard, zero = all pending.
415 unsigned int bytes) in ps3_vuart_clear_rx_bytes() argument
[all …]

12345678910>>...285