| /include/sound/ |
| D | pcm-indirect.h | 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() 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 …]
|
| 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/ |
| D | uio.h | 171 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 …]
|
| 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
|
| D | alloc_tag.h | 19 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
|
| 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()
|
| 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)]; \
|
| 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
|
| D | thread_info.h | 237 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()
|
| D | slab.h | 920 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/ |
| 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; \
|
| D | xt_set.h | 71 struct ip_set_counter_match0 bytes; member 90 struct ip_set_counter_match bytes; member
|
| /include/net/ |
| D | netdev_queues.h | 9 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 …]
|
| D | strparser.h | 19 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/ |
| 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/ |
| D | chacha.h | 92 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()
|
| D | ghash.h | 21 u32 bytes; member
|
| /include/net/netfilter/ |
| 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/ |
| D | xor.h | 11 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/ |
| 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/net/libeth/ |
| D | tx.h | 56 u32 bytes; member 115 cp->ss->bytes += sqe->bytes; in libeth_tx_complete()
|
| D | types.h | 19 u32 bytes; member
|
| /include/linux/device/ |
| D | devres.h | 56 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/ |
| 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/uapi/mtd/ |
| D | ubi-user.h | 349 __s64 bytes; member 369 __s64 bytes; member 434 __s32 bytes; member
|