Home
last modified time | relevance | path

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

123456

/include/asm-generic/bitops/
D__ffs.h15 unsigned int num = 0; in generic___ffs() local
19 num += 32; in generic___ffs()
24 num += 16; in generic___ffs()
28 num += 8; in generic___ffs()
32 num += 4; in generic___ffs()
36 num += 2; in generic___ffs()
40 num += 1; in generic___ffs()
41 return num; in generic___ffs()
D__fls.h15 unsigned int num = BITS_PER_LONG - 1; in generic___fls() local
19 num -= 32; in generic___fls()
24 num -= 16; in generic___fls()
28 num -= 8; in generic___fls()
32 num -= 4; in generic___fls()
36 num -= 2; in generic___fls()
40 num -= 1; in generic___fls()
41 return num; in generic___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.h72 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
73 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
81 static inline int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num) in register_fprobe_ips() argument
85 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,
Dseq_buf.h141 static inline void seq_buf_commit(struct seq_buf *s, int num) in seq_buf_commit() argument
143 if (num < 0) { in seq_buf_commit()
147 BUG_ON(s->len + num > s->size); in seq_buf_commit()
148 s->len += num; in seq_buf_commit()
Dstring_choices.h80 static inline const char *str_plural(size_t num) in str_plural() argument
82 return num == 1 ? "" : "s"; in str_plural()
Dscmi_imx_protocol.h53 u32 num, u32 *val);
55 u32 *num, u32 *val);
/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.h103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
104 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
105 int inet_add_offload(const struct net_offload *prot, unsigned char num);
106 int inet_del_offload(const struct net_offload *prot, unsigned char num);
111 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
112 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
116 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
117 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/linux/cdx/
Dcdx_bus.h176 #define cdx_resource_start(dev, num) ((dev)->res[(num)].start) argument
177 #define cdx_resource_end(dev, num) ((dev)->res[(num)].end) argument
178 #define cdx_resource_flags(dev, num) ((dev)->res[(num)].flags) argument
179 #define cdx_resource_len(dev, num) \ argument
180 ((cdx_resource_start((dev), (num)) == 0 && \
181 cdx_resource_end((dev), (num)) == \
182 cdx_resource_start((dev), (num))) ? 0 : \
183 (cdx_resource_end((dev), (num)) - \
184 cdx_resource_start((dev), (num)) + 1))
/include/dt-bindings/interrupt-controller/
Darm-gic.h23 #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/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/linux/firmware/imx/
Dsm.h21 int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val);
24 static inline int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val) in scmi_imx_misc_ctrl_get() argument
/include/sound/
Dtlv.h42 #define TLV_DB_RANGE_HEAD(num) \ argument
43 SNDRV_CTL_TLVT_DB_RANGE, 6 * (num) * sizeof(unsigned int)
/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);

123456