| /include/linux/ |
| D | rcuref.h | 24 static inline void rcuref_init(rcuref_t *ref, unsigned int cnt) in rcuref_init() argument 26 atomic_set(&ref->refcnt, cnt - 1); in rcuref_init() 74 extern __must_check bool rcuref_put_slowpath(rcuref_t *ref, unsigned int cnt); 81 int cnt; in __rcuref_put() local 89 cnt = atomic_sub_return_release(1, &ref->refcnt); in __rcuref_put() 90 if (likely(cnt >= 0)) in __rcuref_put() 97 return rcuref_put_slowpath(ref, cnt); in __rcuref_put()
|
| D | bottom_half.h | 9 extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt); 11 static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) in __local_bh_disable_ip() argument 13 preempt_count_add(cnt); in __local_bh_disable_ip() 24 extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
|
| D | eventfd.h | 40 __u64 *cnt); 41 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt); 70 wait_queue_entry_t *wait, __u64 *cnt) in eventfd_ctx_remove_wait_queue() argument 80 static inline void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read() argument
|
| D | mbcache.h | 51 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()
|
| D | dmar.h | 97 #define for_each_dev_scope(devs, cnt, i, tmp) \ argument 98 for ((i) = 0; ((tmp) = (i) < (cnt) ? \ 99 dmar_rcu_dereference((devs)[(i)].dev) : NULL, (i) < (cnt)); \ 102 #define for_each_active_dev_scope(devs, cnt, i, tmp) \ argument 103 for_each_dev_scope((devs), (cnt), (i), (tmp)) \ 109 extern void *dmar_alloc_dev_scope(void *start, void *end, int *cnt); 110 extern void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt);
|
| D | trace_seq.h | 95 int cnt); 132 int cnt) in trace_seq_to_user() argument
|
| D | ftrace.h | 396 int ftrace_lookup_symbols(const char **sorted_syms, size_t cnt, unsigned long *addrs); 407 static inline int ftrace_lookup_symbols(const char **sorted_syms, size_t cnt, unsigned long *addrs) in ftrace_lookup_symbols() argument 609 unsigned int cnt, int remove, int reset); 679 size_t cnt, loff_t *ppos); 681 size_t cnt, loff_t *ppos); 889 #define ftrace_set_filter_ips(ops, ips, cnt, remove, reset) ({ -ENODEV; }) argument 896 size_t cnt, loff_t *ppos) { return -ENODEV; } in ftrace_filter_write() argument 898 size_t cnt, loff_t *ppos) { return -ENODEV; } in ftrace_notrace_write() argument
|
| D | backing-dev-defs.h | 65 atomic_t cnt; member 70 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
|
| D | irq.h | 937 int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, 942 unsigned int cnt, int node, struct module *owner, 946 #define irq_alloc_descs(irq, from, cnt, node) \ argument 947 __irq_alloc_descs(irq, from, cnt, node, THIS_MODULE, NULL) 958 #define irq_alloc_descs_from(from, cnt, node) \ argument 959 irq_alloc_descs(-1, from, cnt, node) 961 #define devm_irq_alloc_descs(dev, irq, from, cnt, node) \ argument 962 __devm_irq_alloc_descs(dev, irq, from, cnt, node, THIS_MODULE, NULL) 973 #define devm_irq_alloc_descs_from(dev, from, cnt, node) \ argument 974 devm_irq_alloc_descs(dev, -1, from, cnt, node) [all …]
|
| D | posix-clock.h | 65 char __user *buf, size_t cnt);
|
| D | irqdesc.h | 27 unsigned int cnt; member 136 return desc->kstat_irqs ? per_cpu(desc->kstat_irqs->cnt, cpu) : 0; in irq_desc_kstat_cpu()
|
| D | dcache.h | 37 #define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) argument 40 #define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) argument
|
| D | btf_ids.h | 9 u32 cnt; member 17 u32 cnt; member
|
| D | memblock.h | 80 unsigned long cnt; member 553 region < (memblock.memory.regions + memblock.memory.cnt); \ 562 region < (memblock.reserved.regions + memblock.reserved.cnt); \
|
| /include/trace/events/ |
| D | nilfs2.h | 102 unsigned long cnt), 104 TP_ARGS(sufile, segnum, cnt), 109 __field(unsigned long, cnt) 115 __entry->cnt = cnt; 121 __entry->cnt)
|
| D | page_pool.h | 26 __field(u64, cnt) 34 __entry->cnt = pool->destroy_cnt; 39 __entry->release, __entry->cnt)
|
| D | rcu.h | 836 TP_PROTO(const char *rcuname, const char *s, int cpu, int cnt, unsigned long done), 838 TP_ARGS(rcuname, s, cpu, cnt, done), 844 __field(int, cnt) 852 __entry->cnt = cnt; 857 __entry->rcuname, __entry->s, __entry->cpu, __entry->cnt,
|
| /include/linux/platform_data/ |
| D | sh_mmcif.h | 102 int cnt; in sh_mmcif_boot_cmd_poll() local 104 for (cnt = 0; cnt < 1000000; cnt++) { in sh_mmcif_boot_cmd_poll()
|
| /include/trace/hooks/ |
| D | dtask.h | 33 TP_PROTO(struct mutex *lock, bool *time_out, int *cnt), 34 TP_ARGS(lock, time_out, cnt)); 62 TP_PROTO(struct rw_semaphore *sem, bool *time_out, int *cnt, bool chk_only), 63 TP_ARGS(sem, time_out, cnt, chk_only));
|
| /include/linux/netfilter/ |
| D | x_tables.h | 430 void xt_percpu_counter_free(struct xt_counters *cnt); 433 xt_get_this_cpu_counter(struct xt_counters *cnt) in xt_get_this_cpu_counter() argument 436 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter() 438 return cnt; in xt_get_this_cpu_counter() 442 xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) in xt_get_per_cpu_counter() argument 445 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter() 447 return cnt; in xt_get_per_cpu_counter()
|
| /include/linux/usb/ |
| D | typec_altmode.h | 65 const u32 *vdo, int cnt); 92 const u32 hdr, const u32 *vdo, int cnt);
|
| D | pd.h | 94 #define PD_HEADER(type, pwr, data, rev, id, cnt, ext_hdr) \ argument 100 (((cnt) & PD_HEADER_CNT_MASK) << PD_HEADER_CNT_SHIFT) | \ 103 #define PD_HEADER_LE(type, pwr, data, rev, id, cnt) \ argument 104 cpu_to_le16(PD_HEADER((type), (pwr), (data), (rev), (id), (cnt), (0)))
|
| /include/linux/ceph/ |
| D | osd_client.h | 565 int __ceph_alloc_sparse_ext_map(struct ceph_osd_req_op *op, int cnt); 574 static inline int ceph_alloc_sparse_ext_map(struct ceph_osd_req_op *op, int cnt) in ceph_alloc_sparse_ext_map() argument 576 if (!cnt) in ceph_alloc_sparse_ext_map() 577 cnt = CEPH_SPARSE_EXT_ARRAY_INITIAL; in ceph_alloc_sparse_ext_map() 579 return __ceph_alloc_sparse_ext_map(op, cnt); in ceph_alloc_sparse_ext_map()
|
| /include/uapi/drm/ |
| D | panthor_drm.h | 208 #define DRM_PANTHOR_OBJ_ARRAY(cnt, ptr) \ argument 209 { .stride = sizeof((ptr)[0]), .count = (cnt), .array = (__u64)(uintptr_t)(ptr) }
|
| D | pvr_drm.h | 73 #define DRM_PVR_OBJ_ARRAY(cnt, ptr) \ argument 74 { .stride = sizeof((ptr)[0]), .count = (cnt), .array = (__u64)(uintptr_t)(ptr) }
|