| /include/sound/ |
| A D | pcm-indirect.h | 58 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() 88 if (bytes < 0) in snd_pcm_indirect_playback_pointer() 92 rec->sw_io += bytes; in snd_pcm_indirect_playback_pointer() 132 bytes = hw_to_end; in snd_pcm_indirect_capture_transfer() 134 bytes = sw_to_end; in snd_pcm_indirect_capture_transfer() 135 if (! bytes) in snd_pcm_indirect_capture_transfer() 162 if (bytes < 0) in snd_pcm_indirect_capture_pointer() [all …]
|
| A D | i2c.h | 33 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/ |
| A D | uio.h | 195 size_t bytes, struct iov_iter *i); 202 size_t bytes, struct iov_iter *i) in copy_folio_to_iter() argument 208 size_t bytes, struct iov_iter *i) in copy_folio_from_iter() argument 214 size_t bytes, struct iov_iter *i); 219 if (check_copy_size(addr, bytes, true)) in copy_to_iter() 220 return _copy_to_iter(addr, bytes, i); in copy_to_iter() 227 if (check_copy_size(addr, bytes, false)) in copy_from_iter() 228 return _copy_from_iter(addr, bytes, i); in copy_from_iter() 236 if (likely(copied == bytes)) in copy_to_iter_full() 246 if (likely(copied == bytes)) in copy_from_iter_full() [all …]
|
| A D | task_io_accounting_ops.h | 11 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
|
| A D | ucopysize.h | 45 check_copy_size(const void *addr, size_t bytes, bool is_source) in check_copy_size() argument 48 if (unlikely(sz >= 0 && sz < bytes)) { in check_copy_size() 49 if (!__builtin_constant_p(bytes)) in check_copy_size() 50 copy_overflow(sz, bytes); in check_copy_size() 57 if (WARN_ON_ONCE(bytes > INT_MAX)) in check_copy_size() 59 check_object_size(addr, bytes, is_source); in check_copy_size()
|
| A D | alloc_tag.h | 19 u64 bytes; member 81 s64 bytes; member 145 v.bytes += counter->bytes; in alloc_tag_read() 197 static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag, size_t bytes) in alloc_tag_add() argument 200 this_cpu_add(tag->counters->bytes, bytes); in alloc_tag_add() 203 static inline void alloc_tag_sub(union codetag_ref *ref, size_t bytes) in alloc_tag_sub() argument 218 this_cpu_sub(tag->counters->bytes, bytes); in alloc_tag_sub() 231 size_t bytes) {} in alloc_tag_add() argument 232 static inline void alloc_tag_sub(union codetag_ref *ref, size_t bytes) {} in alloc_tag_sub() argument
|
| A D | bvec.h | 144 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()
|
| A D | overflow.h | 268 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)]; \
|
| A D | nvmem-provider.h | 20 void *val, size_t bytes); 22 void *val, size_t bytes); 26 size_t bytes); 69 unsigned int bytes; member
|
| A D | slab.h | 944 size_t bytes; in kmalloc_array_noprof() local 946 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_noprof() 948 return kmalloc_noprof(bytes, flags); in kmalloc_array_noprof() 974 size_t bytes; in krealloc_array_noprof() local 979 return krealloc_noprof(p, bytes, flags); in krealloc_array_noprof() 1014 size_t bytes; in kmalloc_array_node_noprof() local 1016 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node_noprof() 1019 return kmalloc_node_noprof(bytes, flags, node); in kmalloc_array_node_noprof() 1060 size_t bytes; in kvmalloc_array_node_noprof() local 1062 if (unlikely(check_mul_overflow(n, size, &bytes))) in kvmalloc_array_node_noprof() [all …]
|
| A D | dim.h | 366 dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s) in dim_update_sample() argument 370 s->byte_ctr = bytes; in dim_update_sample() 384 dim_update_sample_with_comps(u16 event_ctr, u64 packets, u64 bytes, u64 comps, in dim_update_sample_with_comps() argument 387 dim_update_sample(event_ctr, packets, bytes, s); in dim_update_sample_with_comps()
|
| /include/net/ |
| A D | netdev_queues.h | 19 u64 bytes; member 40 u64 bytes; member 232 unsigned int pkts, unsigned int bytes) in netdev_txq_completed_mb() argument 235 netdev_tx_completed_queue(dev_queue, pkts, bytes); in netdev_txq_completed_mb() 236 else if (bytes) in netdev_txq_completed_mb() 260 #define __netif_txq_completed_wake(txq, pkts, bytes, \ argument 270 netdev_txq_completed_mb(txq, pkts, bytes); \ 298 unsigned int idx, unsigned int bytes) in netif_subqueue_sent() argument 303 netdev_tx_sent_queue(txq, bytes); in netif_subqueue_sent() 314 #define netif_subqueue_completed_wake(dev, idx, pkts, bytes, \ argument [all …]
|
| A D | strparser.h | 19 unsigned long long bytes; member 29 unsigned long long bytes; member 126 SAVE_PSOCK_STATS(bytes); in save_strp_stats() 147 SAVE_PSOCK_STATS(bytes); in aggregate_strp_stats()
|
| /include/uapi/linux/netfilter/ |
| A D | xt_sctp.h | 39 #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; \
|
| A D | xt_set.h | 71 struct ip_set_counter_match0 bytes; member 90 struct ip_set_counter_match bytes; member
|
| /include/rdma/ |
| A D | iba.h | 73 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/ |
| A D | chacha.h | 97 unsigned int bytes, int nrounds); 99 unsigned int bytes, int nrounds); 103 unsigned int bytes, int nrounds) in chacha_crypt() argument 106 chacha_crypt_arch(state, dst, src, bytes, nrounds); in chacha_crypt() 108 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt() 112 u8 *dst, const u8 *src, unsigned int bytes) in chacha20_crypt() argument 114 chacha_crypt(state, dst, src, bytes, 20); in chacha20_crypt()
|
| /include/net/netfilter/ |
| A D | nf_conntrack_acct.h | 16 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/ |
| A D | xor.h | 14 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() 35 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() 58 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() 83 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() 106 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() 144 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_3() 192 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_4() 250 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_5() 314 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_2() 342 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_3() [all …]
|
| /include/net/libeth/ |
| A D | types.h | 23 u32 bytes; member 41 u32 bytes; member 59 u32 bytes; member
|
| A D | tx.h | 75 u32 bytes; member 143 cp->ss->bytes += sqe->bytes; in libeth_tx_complete()
|
| /include/linux/ceph/ |
| A D | striper.h | 34 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/ |
| A D | drm_managed.h | 83 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/linux/device/ |
| A D | devres.h | 57 size_t bytes; in devm_kmalloc_array() local 59 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array() 62 return devm_kmalloc(dev, bytes, flags); in devm_kmalloc_array() 71 size_t bytes; in devm_krealloc_array() local 73 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in devm_krealloc_array() 76 return devm_krealloc(dev, p, bytes, flags); in devm_krealloc_array()
|
| /include/uapi/mtd/ |
| A D | ubi-user.h | 351 __s64 bytes; member 371 __s64 bytes; member 467 __s32 bytes; member
|