Home
last modified time | relevance | path

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

12345

/include/sound/
Dpcm-indirect.h28 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()
61 bytes = sw_to_end; in snd_pcm_indirect_playback_transfer()
62 if (! bytes) in snd_pcm_indirect_playback_transfer()
64 copy(substream, rec, bytes); in snd_pcm_indirect_playback_transfer()
[all …]
Di2c.h33 int (*sendbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count);
34 int (*readbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count);
84 int snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count);
85 int snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count);
/include/linux/
Duio.h171 size_t bytes, struct iov_iter *i);
172 void iov_iter_advance(struct iov_iter *i, size_t bytes);
173 void iov_iter_revert(struct iov_iter *i, size_t bytes);
174 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t bytes);
175 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t bytes);
177 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
179 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
182 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
183 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
184 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
[all …]
Dtask_io_accounting_ops.h11 static inline void task_io_account_read(size_t bytes) in task_io_account_read() argument
13 current->ioac.read_bytes += bytes; in task_io_account_read()
25 static inline void task_io_account_write(size_t bytes) in task_io_account_write() argument
27 current->ioac.write_bytes += bytes; in task_io_account_write()
39 static inline void task_io_account_cancelled_write(size_t bytes) in task_io_account_cancelled_write() argument
41 current->ioac.cancelled_write_bytes += bytes; in task_io_account_cancelled_write()
59 static inline void task_io_account_read(size_t bytes) in task_io_account_read() argument
68 static inline void task_io_account_write(size_t bytes) in task_io_account_write() argument
77 static inline void task_io_account_cancelled_write(size_t bytes) in task_io_account_cancelled_write() argument
Dalloc_tag.h19 u64 bytes; member
81 s64 bytes; member
133 v.bytes += counter->bytes; in alloc_tag_read()
185 static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag, size_t bytes) in alloc_tag_add() argument
188 this_cpu_add(tag->counters->bytes, bytes); in alloc_tag_add()
191 static inline void alloc_tag_sub(union codetag_ref *ref, size_t bytes) in alloc_tag_sub() argument
206 this_cpu_sub(tag->counters->bytes, bytes); in alloc_tag_sub()
219 size_t bytes) {} in alloc_tag_add() argument
220 static inline void alloc_tag_sub(union codetag_ref *ref, size_t bytes) {} in alloc_tag_sub() argument
Dbvec.h144 struct bvec_iter *iter, unsigned bytes) in bvec_iter_advance() argument
148 if (WARN_ONCE(bytes > iter->bi_size, in bvec_iter_advance()
154 iter->bi_size -= bytes; in bvec_iter_advance()
155 bytes += iter->bi_bvec_done; in bvec_iter_advance()
157 while (bytes && bytes >= bv[idx].bv_len) { in bvec_iter_advance()
158 bytes -= bv[idx].bv_len; in bvec_iter_advance()
163 iter->bi_bvec_done = bytes; in bvec_iter_advance()
172 struct bvec_iter *iter, unsigned int bytes) in bvec_iter_advance_single() argument
174 unsigned int done = iter->bi_bvec_done + bytes; in bvec_iter_advance_single()
181 iter->bi_size -= bytes; in bvec_iter_advance_single()
Doverflow.h268 size_t bytes; in size_mul() local
270 if (check_mul_overflow(factor1, factor2, &bytes)) in size_mul()
273 return bytes; in size_mul()
287 size_t bytes; in size_add() local
289 if (check_add_overflow(addend1, addend2, &bytes)) in size_add()
292 return bytes; in size_add()
308 size_t bytes; in size_sub() local
311 check_sub_overflow(minuend, subtrahend, &bytes)) in size_sub()
314 return bytes; in size_sub()
405 u8 bytes[struct_size_t(type, member, count)]; \
Dnvmem-provider.h20 void *val, size_t bytes);
22 void *val, size_t bytes);
26 size_t bytes);
69 unsigned int bytes; member
Dthread_info.h237 check_copy_size(const void *addr, size_t bytes, bool is_source) in check_copy_size() argument
240 if (unlikely(sz >= 0 && sz < bytes)) { in check_copy_size()
241 if (!__builtin_constant_p(bytes)) in check_copy_size()
242 copy_overflow(sz, bytes); in check_copy_size()
249 if (WARN_ON_ONCE(bytes > INT_MAX)) in check_copy_size()
251 check_object_size(addr, bytes, is_source); in check_copy_size()
Dslab.h920 size_t bytes; in kmalloc_array_noprof() local
922 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_noprof()
925 return kmalloc_noprof(bytes, flags); in kmalloc_array_noprof()
926 return kmalloc_noprof(bytes, flags); in kmalloc_array_noprof()
952 size_t bytes; in krealloc_array_noprof() local
954 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array_noprof()
957 return krealloc_noprof(p, bytes, flags); in krealloc_array_noprof()
992 size_t bytes; in kmalloc_array_node_noprof() local
994 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node_noprof()
997 return kmalloc_node_noprof(bytes, flags, node); in kmalloc_array_node_noprof()
[all …]
/include/uapi/linux/netfilter/
Dxt_sctp.h39 #define bytes(type) (sizeof(type) * 8) macro
43 (chunkmap)[type / bytes(__u32)] |= \
44 1u << (type % bytes(__u32)); \
49 (chunkmap)[type / bytes(__u32)] &= \
50 ~(1u << (type % bytes(__u32))); \
55 ((chunkmap)[type / bytes (__u32)] & \
56 (1u << (type % bytes (__u32)))) ? 1: 0; \
Dxt_set.h71 struct ip_set_counter_match0 bytes; member
90 struct ip_set_counter_match bytes; member
/include/net/
Dnetdev_queues.h9 u64 bytes; member
29 u64 bytes; member
215 unsigned int pkts, unsigned int bytes) in netdev_txq_completed_mb() argument
218 netdev_tx_completed_queue(dev_queue, pkts, bytes); in netdev_txq_completed_mb()
219 else if (bytes) in netdev_txq_completed_mb()
243 #define __netif_txq_completed_wake(txq, pkts, bytes, \ argument
253 netdev_txq_completed_mb(txq, pkts, bytes); \
267 #define netif_txq_completed_wake(txq, pkts, bytes, get_desc, start_thrs) \ argument
268 __netif_txq_completed_wake(txq, pkts, bytes, get_desc, start_thrs, false)
288 #define netif_subqueue_completed_wake(dev, idx, pkts, bytes, \ argument
[all …]
Dstrparser.h19 unsigned long long bytes; member
29 unsigned long long bytes; member
128 SAVE_PSOCK_STATS(bytes); in save_strp_stats()
149 SAVE_PSOCK_STATS(bytes); in aggregate_strp_stats()
/include/rdma/
Diba.h73 bytes) \ argument
76 WARN_ON(bytes * 8 > num_bits); \
77 if (in && bytes) \
80 _in_ptr, bytes); \
82 #define IBA_SET_MEM(field, ptr, in, bytes) _IBA_SET_MEM(field, ptr, in, bytes) argument
94 bytes) \ argument
97 WARN_ON(bytes * 8 > num_bits); \
98 if (out && bytes) \
102 bytes); \
104 #define IBA_GET_MEM(field, ptr, out, bytes) _IBA_GET_MEM(field, ptr, out, bytes) argument
/include/crypto/
Dchacha.h92 unsigned int bytes, int nrounds);
94 unsigned int bytes, int nrounds);
97 unsigned int bytes, int nrounds) in chacha_crypt() argument
100 chacha_crypt_arch(state, dst, src, bytes, nrounds); in chacha_crypt()
102 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt()
106 unsigned int bytes) in chacha20_crypt() argument
108 chacha_crypt(state, dst, src, bytes, 20); in chacha20_crypt()
Dghash.h21 u32 bytes; member
/include/net/netfilter/
Dnf_conntrack_acct.h16 atomic64_t bytes; member
69 unsigned int bytes);
72 unsigned int bytes) in nf_ct_acct_update() argument
75 nf_ct_acct_add(ct, dir, 1, bytes); in nf_ct_acct_update()
/include/asm-generic/
Dxor.h11 xor_8regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_8regs_2() argument
14 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2()
31 xor_8regs_3(unsigned long bytes, unsigned long * __restrict p1, in xor_8regs_3() argument
35 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3()
53 xor_8regs_4(unsigned long bytes, unsigned long * __restrict p1, in xor_8regs_4() argument
58 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4()
77 xor_8regs_5(unsigned long bytes, unsigned long * __restrict p1, in xor_8regs_5() argument
83 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5()
103 xor_32regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_32regs_2() argument
106 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2()
[all …]
/include/linux/ceph/
Dstriper.h34 u32 bytes, void *arg);
55 u64 bytes = 0; in ceph_file_extents_bytes() local
59 bytes += file_extents[i].fe_len; in ceph_file_extents_bytes()
61 return bytes; in ceph_file_extents_bytes()
/include/net/libeth/
Dtx.h56 u32 bytes; member
115 cp->ss->bytes += sqe->bytes; in libeth_tx_complete()
Dtypes.h19 u32 bytes; member
/include/linux/device/
Ddevres.h56 size_t bytes; in devm_kmalloc_array() local
58 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array()
61 return devm_kmalloc(dev, bytes, flags); in devm_kmalloc_array()
70 size_t bytes; in devm_krealloc_array() local
72 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in devm_krealloc_array()
75 return devm_krealloc(dev, p, bytes, flags); in devm_krealloc_array()
/include/drm/
Ddrm_managed.h83 size_t bytes; in drmm_kmalloc_array() local
85 if (unlikely(check_mul_overflow(n, size, &bytes))) in drmm_kmalloc_array()
88 return drmm_kmalloc(dev, bytes, flags); in drmm_kmalloc_array()
/include/uapi/mtd/
Dubi-user.h349 __s64 bytes; member
369 __s64 bytes; member
434 __s32 bytes; member

12345