Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/include/linux/
Dvt_buffer.h29 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) in scr_memsetw() argument
32 count /= 2; in scr_memsetw()
33 while (count--) in scr_memsetw()
36 memset16(s, c, count / 2); in scr_memsetw()
42 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw() argument
45 count /= 2; in scr_memcpyw()
46 while (count--) in scr_memcpyw()
49 memcpy(d, s, count); in scr_memcpyw()
55 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew() argument
59 scr_memcpyw(d, s, count); in scr_memmovew()
[all …]
Dnvram.h81 static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos) in nvram_read_bytes() argument
89 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_read_bytes()
95 static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos) in nvram_write_bytes() argument
103 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_write_bytes()
109 static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos) in nvram_read() argument
113 return ppc_md.nvram_read(buf, count, ppos); in nvram_read()
116 return arch_nvram_ops.read(buf, count, ppos); in nvram_read()
118 return nvram_read_bytes(buf, count, ppos); in nvram_read()
121 static inline ssize_t nvram_write(char *buf, size_t count, loff_t *ppos) in nvram_write() argument
125 return ppc_md.nvram_write(buf, count, ppos); in nvram_write()
[all …]
Dkstrtox.h100 int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigne…
101 int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long lon…
102 int __must_check kstrtoul_from_user(const char __user *s, size_t count, unsigned int base, unsigned…
103 int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res…
104 int __must_check kstrtouint_from_user(const char __user *s, size_t count, unsigned int base, unsign…
105 int __must_check kstrtoint_from_user(const char __user *s, size_t count, unsigned int base, int *re…
106 int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *re…
107 int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *re…
108 int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
109 int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
[all …]
Ddynamic_queue_limits.h75 static inline void dql_queued(struct dql *dql, unsigned int count) in dql_queued() argument
77 BUG_ON(count > DQL_MAX_OBJECT); in dql_queued()
79 dql->last_obj_cnt = count; in dql_queued()
88 dql->num_queued += count; in dql_queued()
98 void dql_completed(struct dql *dql, unsigned int count);
Dpercpu_counter.h22 s64 count; member
72 return fbc->count; in percpu_counter_read()
83 s64 ret = READ_ONCE(fbc->count); in percpu_counter_read_positive()
98 s64 count; member
104 fbc->count = amount; in percpu_counter_init()
114 fbc->count = amount; in percpu_counter_set()
119 if (fbc->count > rhs) in percpu_counter_compare()
121 else if (fbc->count < rhs) in percpu_counter_compare()
137 fbc->count += amount; in percpu_counter_add()
149 return fbc->count; in percpu_counter_read()
[all …]
Dlogic_pio.h35 size_t dwidth, unsigned int count);
37 size_t dwidth, unsigned int count);
50 void logic_insb(unsigned long addr, void *buffer, unsigned int count);
51 void logic_insl(unsigned long addr, void *buffer, unsigned int count);
52 void logic_insw(unsigned long addr, void *buffer, unsigned int count);
53 void logic_outsb(unsigned long addr, const void *buffer, unsigned int count);
54 void logic_outsw(unsigned long addr, const void *buffer, unsigned int count);
55 void logic_outsl(unsigned long addr, const void *buffer, unsigned int count);
Duio.h32 size_t count; member
41 size_t count; member
68 state->count = iter->count; in iov_iter_save_state()
128 .iov_len = min(iter->count, in iov_iter_iovec()
236 unsigned long nr_segs, size_t count);
238 unsigned long nr_segs, size_t count);
240 unsigned long nr_segs, size_t count);
242 size_t count);
243 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count);
245 loff_t start, size_t count);
[all …]
Dregset.h119 unsigned int pos, unsigned int count,
253 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
258 if (*count == 0) in user_regset_copyin()
262 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
263 : min(*count, end_pos - *pos)); in user_regset_copyin()
273 *count -= copy; in user_regset_copyin()
279 unsigned int *count, in user_regset_copyin_ignore() argument
285 if (*count == 0) in user_regset_copyin_ignore()
289 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore()
290 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
[all …]
Dcounter.h143 struct counter_count *count,
148 struct counter_count *count, u8 *val);
154 struct counter_count *count, u32 *val);
160 struct counter_count *count, u64 *val);
166 struct counter_count *count,
171 struct counter_count *count, u8 val);
177 struct counter_count *count, u32 val);
183 struct counter_count *count, u64 val);
273 struct counter_count *count, u64 *value);
275 struct counter_count *count, u64 value);
[all …]
Dvfio_pci_core.h43 int count; member
61 size_t count, loff_t *ppos, bool iswrite);
155 unsigned start, unsigned count, void *data);
158 char __user *buf, size_t count,
162 size_t count, loff_t *ppos, bool iswrite);
166 size_t count, loff_t *ppos, bool iswrite);
169 char __user *buf, size_t count, in vfio_pci_vga_rw() argument
177 uint64_t data, int count, int fd);
235 size_t count, loff_t *ppos);
237 size_t count, loff_t *ppos);
[all …]
Dpage_ref.h173 static inline int page_ref_freeze(struct page *page, int count) in page_ref_freeze() argument
175 int ret = likely(atomic_cmpxchg(&page->_refcount, count, 0) == count); in page_ref_freeze()
178 __page_ref_freeze(page, count, ret); in page_ref_freeze()
182 static inline void page_ref_unfreeze(struct page *page, int count) in page_ref_unfreeze() argument
185 VM_BUG_ON(count == 0); in page_ref_unfreeze()
187 atomic_set_release(&page->_refcount, count); in page_ref_unfreeze()
189 __page_ref_unfreeze(page, count); in page_ref_unfreeze()
/include/trace/events/
Dcma.h14 unsigned long count, unsigned int align),
16 TP_ARGS(name, pfn, page, count, align),
22 __field(unsigned long, count)
30 __entry->count = count;
38 __entry->count,
45 unsigned long count),
47 TP_ARGS(name, pfn, page, count),
53 __field(unsigned long, count)
60 __entry->count = count;
67 __entry->count)
[all …]
Dtegra_apb_dma.h28 TP_PROTO(struct dma_chan *dc, int count, void *ptr),
29 TP_ARGS(dc, count, ptr),
32 __field(int, count)
37 __entry->count = count;
41 __get_str(chan), __entry->count, __entry->ptr)
/include/xen/
Dmem-reservation.h29 void __xenmem_reservation_va_mapping_update(unsigned long count,
33 void __xenmem_reservation_va_mapping_reset(unsigned long count,
37 static inline void xenmem_reservation_va_mapping_update(unsigned long count, in xenmem_reservation_va_mapping_update() argument
43 __xenmem_reservation_va_mapping_update(count, pages, frames); in xenmem_reservation_va_mapping_update()
47 static inline void xenmem_reservation_va_mapping_reset(unsigned long count, in xenmem_reservation_va_mapping_reset() argument
52 __xenmem_reservation_va_mapping_reset(count, pages); in xenmem_reservation_va_mapping_reset()
56 int xenmem_reservation_increase(int count, xen_pfn_t *frames);
58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
/include/asm-generic/
Dide_iops.h9 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() argument
11 while (count--) { in __ide_mm_insw()
17 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() argument
19 while (count--) { in __ide_mm_insl()
25 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) in __ide_mm_outsw() argument
27 while (count--) { in __ide_mm_outsw()
33 static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) in __ide_mm_outsl() argument
35 while (count--) { in __ide_mm_outsl()
Dio.h391 unsigned int count) in readsb() argument
393 if (count) { in readsb()
399 } while (--count); in readsb()
407 unsigned int count) in readsw() argument
409 if (count) { in readsw()
415 } while (--count); in readsw()
423 unsigned int count) in readsl() argument
425 if (count) { in readsl()
431 } while (--count); in readsl()
440 unsigned int count) in readsq() argument
[all …]
Diomap.h82 extern void ioread8_rep(const void __iomem *port, void *buf, unsigned long count);
83 extern void ioread16_rep(const void __iomem *port, void *buf, unsigned long count);
84 extern void ioread32_rep(const void __iomem *port, void *buf, unsigned long count);
86 extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
87 extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
88 extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
/include/sound/
Dsoc-jack.h94 int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
100 int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
104 int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
108 int count, struct snd_soc_jack_gpio *gpios);
109 void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
112 static inline int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count, in snd_soc_jack_add_gpios() argument
120 int count, in snd_soc_jack_add_gpiods() argument
126 static inline void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count, in snd_soc_jack_free_gpios() argument
Drawmidi.h152 const unsigned char *buffer, int count);
155 unsigned char *buffer, int count);
156 int snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream, int count);
158 unsigned char *buffer, int count);
160 unsigned char *buffer, int count);
162 int count);
179 unsigned char *buf, long count);
181 const unsigned char *buf, long count);
/include/crypto/
Dsha512_base.h34 sctx->count[0] = sctx->count[1] = 0; in sha384_base_init()
51 sctx->count[0] = sctx->count[1] = 0; in sha512_base_init()
62 unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; in sha512_base_do_update()
64 sctx->count[0] += len; in sha512_base_do_update()
65 if (sctx->count[0] < len) in sha512_base_do_update()
66 sctx->count[1]++; in sha512_base_do_update()
102 unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; in sha512_base_do_finalize()
113 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in sha512_base_do_finalize()
114 bits[1] = cpu_to_be64(sctx->count[0] << 3); in sha512_base_do_finalize()
/include/drm/
Ddrm_debugfs.h84 int count, struct dentry *root,
87 int count, struct drm_minor *minor);
90 int count, struct dentry *root, in drm_debugfs_create_files() argument
95 int count, struct drm_minor *minor) in drm_debugfs_remove_files() argument
Dtask_barrier.h41 atomic_t count; member
58 atomic_set(&tb->count, 0); in task_barrier_init()
80 if (atomic_inc_return(&tb->count) == tb->n) in task_barrier_enter()
94 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/include/uapi/xen/
Dgntdev.h57 __u32 count; member
79 __u32 count; member
105 __u32 count; member
120 __u32 count; member
195 unsigned int count; member
242 __u32 count; member
285 __u32 count; member
/include/crypto/internal/
Dsimd.h24 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
27 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
42 int simd_register_aeads_compat(struct aead_alg *algs, int count,
45 void simd_unregister_aeads(struct aead_alg *algs, int count,
/include/linux/mfd/da9150/
Dcore.h71 void da9150_read_qif(struct da9150 *da9150, u8 addr, int count, u8 *buf);
72 void da9150_write_qif(struct da9150 *da9150, u8 addr, int count, const u8 *buf);
78 void da9150_bulk_read(struct da9150 *da9150, u16 reg, int count, u8 *buf);
79 void da9150_bulk_write(struct da9150 *da9150, u16 reg, int count, const u8 *buf);

12345678910>>...15