Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 123) sorted by relevance

12345

/include/asm-generic/bitops/
D__ffs.h15 int num = 0; in __ffs() local
19 num += 32; in __ffs()
24 num += 16; in __ffs()
28 num += 8; in __ffs()
32 num += 4; in __ffs()
36 num += 2; in __ffs()
40 num += 1; in __ffs()
41 return num; in __ffs()
D__fls.h15 int num = BITS_PER_LONG - 1; in __fls() local
19 num -= 32; in __fls()
24 num -= 16; in __fls()
28 num -= 8; in __fls()
32 num -= 4; in __fls()
36 num -= 2; in __fls()
40 num -= 1; in __fls()
41 return num; in __fls()
/include/uapi/linux/hsi/
Dhsi_char.h16 #define HSC_IOW(num, dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) argument
17 #define HSC_IOR(num, dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) argument
18 #define HSC_IOWR(num, dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype) argument
19 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num) argument
Dcs-protocol.h96 #define CS_IOW(num, dtype) _IOW(CS_IO_MAGIC, num, dtype) argument
97 #define CS_IOR(num, dtype) _IOR(CS_IO_MAGIC, num, dtype) argument
98 #define CS_IOWR(num, dtype) _IOWR(CS_IO_MAGIC, num, dtype) argument
99 #define CS_IO(num) _IO(CS_IO_MAGIC, num) argument
/include/linux/
Dbsearch.h8 void *__inline_bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in __inline_bsearch() argument
13 while (num > 0) { in __inline_bsearch()
14 pivot = base + (num >> 1) * size; in __inline_bsearch()
22 num--; in __inline_bsearch()
24 num >>= 1; in __inline_bsearch()
30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
Dfprobe.h66 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
67 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
75 static inline int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num) in register_fprobe_ips() argument
79 static inline int register_fprobe_syms(struct fprobe *fp, const char **syms, int num) in register_fprobe_syms() argument
Dsort.h7 void sort_r(void *base, size_t num, size_t size,
12 void sort(void *base, size_t num, size_t size,
Dvringh.h127 unsigned int num, bool weak_barriers,
133 struct iovec *iovec, unsigned num) in vringh_iov_init() argument
137 iov->max_num = num; in vringh_iov_init()
179 void vringh_abandon_user(struct vringh *vrh, unsigned int num);
189 unsigned int num, bool weak_barriers,
195 struct kvec *kvec, unsigned num) in vringh_kiov_init() argument
199 kiov->max_num = num; in vringh_kiov_init()
241 void vringh_abandon_kern(struct vringh *vrh, unsigned int num);
298 unsigned int num, bool weak_barriers,
304 unsigned int num, bool weak_barriers,
[all …]
Dvirtio_ring.h70 unsigned int num,
85 unsigned int num,
101 unsigned int num,
Dgpio.h117 int gpio_request_array(const struct gpio *array, size_t num);
118 void gpio_free_array(const struct gpio *array, size_t num);
149 static inline int gpio_request_array(const struct gpio *array, size_t num) in gpio_request_array() argument
162 static inline void gpio_free_array(const struct gpio *array, size_t num) in gpio_free_array() argument
Dslab_def.h25 unsigned int num; /* # of objs per slab */ member
95 void *last_object = slab->s_mem + (cache->num - 1) * cache->size; in nearest_obj()
121 return cache->num; in objs_per_slab()
Dseq_buf.h129 static inline void seq_buf_commit(struct seq_buf *s, int num) in seq_buf_commit() argument
131 if (num < 0) { in seq_buf_commit()
135 BUG_ON(s->len + num > s->size); in seq_buf_commit()
136 s->len += num; in seq_buf_commit()
Dseq_file.h84 static inline void seq_commit(struct seq_file *m, int num) in seq_commit() argument
86 if (num < 0) { in seq_commit()
89 BUG_ON(m->count + num > m->size); in seq_commit()
90 m->count += num; in seq_commit()
123 unsigned long long num, unsigned int width);
125 unsigned long long num);
126 void seq_put_decimal_ll(struct seq_file *m, const char *delimiter, long long num);
/include/uapi/linux/
Dvirtio_ring.h159 unsigned int num; member
196 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
197 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
199 static inline void vring_init(struct vring *vr, unsigned int num, void *p, in vring_init() argument
202 vr->num = num; in vring_init()
204 vr->avail = (struct vring_avail *)((char *)p + num * sizeof(struct vring_desc)); in vring_init()
205 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
209 static inline unsigned vring_size(unsigned int num, unsigned long align) in vring_size() argument
211 return ((sizeof(struct vring_desc) * num + sizeof(__virtio16) * (3 + num) in vring_size()
213 + sizeof(__virtio16) * 3 + sizeof(struct vring_used_elem) * num; in vring_size()
Domapfb.h34 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) argument
35 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) argument
36 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) argument
37 #define OMAP_IO(num) _IO('O', num) argument
/include/net/
Dprotocol.h100 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
101 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
102 int inet_add_offload(const struct net_offload *prot, unsigned char num);
103 int inet_del_offload(const struct net_offload *prot, unsigned char num);
108 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
109 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
113 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
114 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/include/trace/events/
Di2c.h27 int num),
28 TP_ARGS(adap, msg, num),
38 __entry->msg_nr = num;
60 int num),
61 TP_ARGS(adap, msg, num),
71 __entry->msg_nr = num;
91 int num),
92 TP_ARGS(adap, msg, num),
102 __entry->msg_nr = num;
123 TP_PROTO(const struct i2c_adapter *adap, int num, int ret),
[all …]
/include/uapi/xen/
Dprivcmd.h57 int num; member
63 int num; /* number of pages to populate */ member
74 unsigned int num; /* number of pages to populate */ member
88 __u16 num; member
97 __u64 num; member
/include/dt-bindings/interrupt-controller/
Darm-gic.h21 #define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1) argument
/include/xen/arm/
Dhypervisor.h17 static inline void xen_arch_register_cpu(int num) in xen_arch_register_cpu() argument
21 static inline void xen_arch_unregister_cpu(int num) in xen_arch_unregister_cpu() argument
/include/sound/
Dtlv.h42 #define TLV_DB_RANGE_HEAD(num) \ argument
43 SNDRV_CTL_TLVT_DB_RANGE, 6 * (num) * sizeof(unsigned int)
Dsimple_card_utils.h64 struct prop_nums num; member
94 ((i) < (props)->num.cpus) && \
99 ((i) < (props)->num.codecs) && \
104 ((i) < (props)->num.platforms) && \
109 ((i) < (props)->num.codecs) && \
116 ((i) < (props)->num.cpus) && \
121 ((i) < (props)->num.codecs) && \
130 struct prop_nums num[SNDRV_MAX_LINKS]; member
/include/uapi/linux/dvb/
Dca.h37 int num; member
66 unsigned int num; member
/include/misc/
Dcxl.h97 int cxl_allocate_afu_irqs(struct cxl_context *cxl, int num);
106 int cxl_map_afu_irq(struct cxl_context *cxl, int num,
109 void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
/include/soc/fsl/
Dbman.h114 int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num);
127 int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num);

12345