Home
last modified time | relevance | path

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

1234

/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.h134 size_t bytes, struct iov_iter *i);
135 void iov_iter_advance(struct iov_iter *i, size_t bytes);
136 void iov_iter_revert(struct iov_iter *i, size_t bytes);
137 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t bytes);
138 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t bytes);
140 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
142 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
145 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
146 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
147 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
Doverflow.h142 size_t bytes; in size_mul() local
144 if (check_mul_overflow(factor1, factor2, &bytes)) in size_mul()
147 return bytes; in size_mul()
162 size_t bytes; in size_add() local
164 if (check_add_overflow(addend1, addend2, &bytes)) in size_add()
167 return bytes; in size_add()
184 size_t bytes; in size_sub() local
187 check_sub_overflow(minuend, subtrahend, &bytes)) in size_sub()
190 return bytes; in size_sub()
Dbvec.h102 struct bvec_iter *iter, unsigned bytes) in bvec_iter_advance() argument
106 if (WARN_ONCE(bytes > iter->bi_size, in bvec_iter_advance()
112 iter->bi_size -= bytes; in bvec_iter_advance()
113 bytes += iter->bi_bvec_done; in bvec_iter_advance()
115 while (bytes && bytes >= bv[idx].bv_len) { in bvec_iter_advance()
116 bytes -= bv[idx].bv_len; in bvec_iter_advance()
121 iter->bi_bvec_done = bytes; in bvec_iter_advance()
130 struct bvec_iter *iter, unsigned int bytes) in bvec_iter_advance_single() argument
132 unsigned int done = iter->bi_bvec_done + bytes; in bvec_iter_advance_single()
139 iter->bi_size -= bytes; in bvec_iter_advance_single()
Ddim.h252 dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s) in dim_update_sample() argument
256 s->byte_ctr = bytes; in dim_update_sample()
270 dim_update_sample_with_comps(u16 event_ctr, u64 packets, u64 bytes, u64 comps, in dim_update_sample_with_comps() argument
273 dim_update_sample(event_ctr, packets, bytes, s); in dim_update_sample_with_comps()
Dthread_info.h218 check_copy_size(const void *addr, size_t bytes, bool is_source) in check_copy_size() argument
221 if (unlikely(sz >= 0 && sz < bytes)) { in check_copy_size()
222 if (!__builtin_constant_p(bytes)) in check_copy_size()
223 copy_overflow(sz, bytes); in check_copy_size()
230 if (WARN_ON_ONCE(bytes > INT_MAX)) in check_copy_size()
232 check_object_size(addr, bytes, is_source); in check_copy_size()
Dslab.h637 size_t bytes; in kmalloc_array() local
639 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array()
642 return kmalloc(bytes, flags); in kmalloc_array()
643 return __kmalloc(bytes, flags); in kmalloc_array()
656 size_t bytes; in krealloc_array() local
658 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array()
661 return krealloc(p, bytes, flags); in krealloc_array()
690 size_t bytes; in kmalloc_array_node() local
692 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node()
695 return kmalloc_node(bytes, flags, node); in kmalloc_array_node()
[all …]
Dnvmem-consumer.h25 unsigned int bytes; member
80 size_t bytes, void *buf);
82 size_t bytes, void *buf);
203 unsigned int offset, size_t bytes, in nvmem_device_read() argument
210 unsigned int offset, size_t bytes, in nvmem_device_write() argument
/include/trace/events/
Dandroid_fs_template.h7 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
9 TP_ARGS(inode, offset, bytes, pid, pathname, command),
13 __field(int, bytes)
29 __entry->bytes = bytes;
39 __get_str(pathbuf), __entry->offset, __entry->bytes,
45 TP_PROTO(struct inode *inode, loff_t offset, int bytes),
46 TP_ARGS(inode, offset, bytes),
50 __field(int, bytes)
56 __entry->bytes = bytes;
61 __entry->offset, __entry->bytes)
Dandroid_fs.h12 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
14 TP_ARGS(inode, offset, bytes, pid, pathname, command));
17 TP_PROTO(struct inode *inode, loff_t offset, int bytes),
18 TP_ARGS(inode, offset, bytes));
21 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
23 TP_ARGS(inode, offset, bytes, pid, pathname, command));
26 TP_PROTO(struct inode *inode, loff_t offset, int bytes),
27 TP_ARGS(inode, offset, bytes));
/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/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 *p1, unsigned long *p2) in xor_8regs_2() argument
13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2()
30 xor_8regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_8regs_3() argument
33 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3()
51 xor_8regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_8regs_4() argument
54 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4()
73 xor_8regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_8regs_5() argument
76 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5()
96 xor_32regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_32regs_2() argument
98 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/drm/
Ddrm_managed.h78 size_t bytes; in drmm_kmalloc_array() local
80 if (unlikely(check_mul_overflow(n, size, &bytes))) in drmm_kmalloc_array()
83 return drmm_kmalloc(dev, bytes, flags); in drmm_kmalloc_array()
/include/net/
Dstrparser.h19 unsigned long long bytes; member
29 unsigned long long bytes; member
119 SAVE_PSOCK_STATS(bytes); in save_strp_stats()
140 SAVE_PSOCK_STATS(bytes); in aggregate_strp_stats()
/include/uapi/mtd/
Dubi-user.h341 __s64 bytes; member
361 __s64 bytes; member
426 __s32 bytes; member
/include/linux/raid/
Dxor.h7 extern void xor_blocks(unsigned int count, unsigned int bytes,
/include/linux/platform_data/
Dcros_ec_chardev.h29 uint32_t bytes; member

1234