Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 36) sorted by relevance

12

/include/linux/
Dbottom_half.h8 extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
10 static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) in __local_bh_disable_ip() argument
12 preempt_count_add(cnt); in __local_bh_disable_ip()
23 extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
Deventfd.h43 __u64 *cnt);
44 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt);
76 wait_queue_entry_t *wait, __u64 *cnt) in eventfd_ctx_remove_wait_queue() argument
86 static inline void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read() argument
Ddmar.h99 #define for_each_dev_scope(devs, cnt, i, tmp) \ argument
100 for ((i) = 0; ((tmp) = (i) < (cnt) ? \
101 dmar_rcu_dereference((devs)[(i)].dev) : NULL, (i) < (cnt)); \
104 #define for_each_active_dev_scope(devs, cnt, i, tmp) \ argument
105 for_each_dev_scope((devs), (cnt), (i), (tmp)) \
111 extern int dmar_parse_dev_scope(void *start, void *end, int *cnt,
113 extern void *dmar_alloc_dev_scope(void *start, void *end, int *cnt);
114 extern void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt);
Dmbcache.h51 unsigned int cnt = atomic_dec_return(&entry->e_refcnt); in mb_cache_entry_put() local
53 if (cnt > 0) { in mb_cache_entry_put()
54 if (cnt <= 2) in mb_cache_entry_put()
Dblk-cgroup.h77 u64 cnt[BLKG_RWSTAT_NR]; member
620 struct percpu_counter *cnt; in blkg_rwstat_add() local
623 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_DISCARD]; in blkg_rwstat_add()
625 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_WRITE]; in blkg_rwstat_add()
627 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_READ]; in blkg_rwstat_add()
629 percpu_counter_add_batch(cnt, val, BLKG_STAT_CPU_BATCH); in blkg_rwstat_add()
632 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_SYNC]; in blkg_rwstat_add()
634 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_ASYNC]; in blkg_rwstat_add()
636 percpu_counter_add_batch(cnt, val, BLKG_STAT_CPU_BATCH); in blkg_rwstat_add()
651 result->cnt[i] = in blkg_rwstat_read()
[all …]
Dtrace_seq.h84 int cnt);
115 int cnt) in trace_seq_to_user() argument
Dirq.h889 int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node,
894 unsigned int cnt, int node, struct module *owner,
898 #define irq_alloc_descs(irq, from, cnt, node) \ argument
899 __irq_alloc_descs(irq, from, cnt, node, THIS_MODULE, NULL)
910 #define irq_alloc_descs_from(from, cnt, node) \ argument
911 irq_alloc_descs(-1, from, cnt, node)
913 #define devm_irq_alloc_descs(dev, irq, from, cnt, node) \ argument
914 __devm_irq_alloc_descs(dev, irq, from, cnt, node, THIS_MODULE, NULL)
925 #define devm_irq_alloc_descs_from(dev, from, cnt, node) \ argument
926 devm_irq_alloc_descs(dev, -1, from, cnt, node)
[all …]
Dposix-clock.h64 uint flags, char __user *buf, size_t cnt);
Ddcache.h35 #define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) argument
38 #define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) argument
Dbacking-dev-defs.h72 atomic_t cnt; member
77 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
Dtty_flip.h43 const unsigned char *chars, size_t cnt);
Dftrace.h443 size_t cnt, loff_t *ppos);
445 size_t cnt, loff_t *ppos);
648 size_t cnt, loff_t *ppos) { return -ENODEV; } in ftrace_filter_write() argument
650 size_t cnt, loff_t *ppos) { return -ENODEV; } in ftrace_notrace_write() argument
Dseq_buf.h121 int cnt);
Dmemblock.h67 unsigned long cnt; member
526 region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \
531 i < memblock_type->cnt; \
Dstring.h165 const void *src, size_t cnt) in memcpy_mcsafe() argument
167 memcpy(dst, src, cnt); in memcpy_mcsafe()
172 static inline void memcpy_flushcache(void *dst, const void *src, size_t cnt) in memcpy_flushcache() argument
174 memcpy(dst, src, cnt); in memcpy_flushcache()
Dmutex.h186 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
/include/trace/events/
Dnilfs2.h102 unsigned long cnt),
104 TP_ARGS(sufile, segnum, cnt),
109 __field(unsigned long, cnt)
115 __entry->cnt = cnt;
121 __entry->cnt)
Drcu.h730 TP_PROTO(const char *rcuname, const char *s, int cpu, int cnt, unsigned long done),
732 TP_ARGS(rcuname, s, cpu, cnt, done),
738 __field(int, cnt)
746 __entry->cnt = cnt;
751 __entry->rcuname, __entry->s, __entry->cpu, __entry->cnt,
/include/linux/mmc/
Dsh_mmcif.h104 int cnt; in sh_mmcif_boot_cmd_poll() local
106 for (cnt = 0; cnt < 1000000; cnt++) { in sh_mmcif_boot_cmd_poll()
/include/net/
Dxdp_sock.h116 bool xsk_umem_has_addrs(struct xdp_umem *umem, u32 cnt);
171 static inline bool xsk_umem_has_addrs_rq(struct xdp_umem *umem, u32 cnt) in xsk_umem_has_addrs_rq() argument
175 if (rq->length >= cnt) in xsk_umem_has_addrs_rq()
178 return xsk_umem_has_addrs(umem, cnt - rq->length); in xsk_umem_has_addrs_rq()
241 static inline bool xsk_umem_has_addrs(struct xdp_umem *umem, u32 cnt) in xsk_umem_has_addrs() argument
315 static inline bool xsk_umem_has_addrs_rq(struct xdp_umem *umem, u32 cnt) in xsk_umem_has_addrs_rq() argument
/include/linux/netfilter/
Dx_tables.h429 void xt_percpu_counter_free(struct xt_counters *cnt);
432 xt_get_this_cpu_counter(struct xt_counters *cnt) in xt_get_this_cpu_counter() argument
435 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter()
437 return cnt; in xt_get_this_cpu_counter()
441 xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) in xt_get_per_cpu_counter() argument
444 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter()
446 return cnt; in xt_get_per_cpu_counter()
/include/uapi/linux/
Dion.h116 __u32 cnt; /* Total number of heaps to be copied */ member
/include/linux/usb/
Dpd.h89 #define PD_HEADER(type, pwr, data, rev, id, cnt, ext_hdr) \ argument
95 (((cnt) & PD_HEADER_CNT_MASK) << PD_HEADER_CNT_SHIFT) | \
98 #define PD_HEADER_LE(type, pwr, data, rev, id, cnt) \ argument
99 cpu_to_le16(PD_HEADER((type), (pwr), (data), (rev), (id), (cnt), (0)))
Dtypec_altmode.h62 const u32 *vdo, int cnt);
/include/drm/bridge/
Ddw_hdmi.h158 void dw_hdmi_set_channel_count(struct dw_hdmi *hdmi, unsigned int cnt);

12