Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 108) sorted by relevance

12345

/include/linux/
Dseq_file.h33 void * (*start) (struct seq_file *m, loff_t *pos);
34 void (*stop) (struct seq_file *m, void *v);
35 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
36 int (*show) (struct seq_file *m, void *v);
51 static inline bool seq_has_overflowed(struct seq_file *m) in seq_has_overflowed() argument
53 return m->count == m->size; in seq_has_overflowed()
64 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() argument
66 BUG_ON(m->count > m->size); in seq_get_buf()
67 if (m->count < m->size) in seq_get_buf()
68 *bufp = m->buf + m->count; in seq_get_buf()
[all …]
Dwin_minmax.h22 static inline u32 minmax_get(const struct minmax *m) in minmax_get() argument
24 return m->s[0].v; in minmax_get()
27 static inline u32 minmax_reset(struct minmax *m, u32 t, u32 meas) in minmax_reset() argument
31 m->s[2] = m->s[1] = m->s[0] = val; in minmax_reset()
32 return m->s[0].v; in minmax_reset()
35 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas);
36 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas);
Djiffies.h300 extern unsigned long __msecs_to_jiffies(const unsigned int m);
307 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument
309 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies()
318 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument
320 if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
322 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies()
329 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument
331 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
334 return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32) >> MSEC_TO_HZ_SHR32; in _msecs_to_jiffies()
362 static __always_inline unsigned long msecs_to_jiffies(const unsigned int m) in msecs_to_jiffies() argument
[all …]
Dreciprocal_div.h24 u32 m; member
35 u32 t = (u32)(((u64)a * R.m) >> 32); in reciprocal_divide()
40 u32 m; member
Drio_regs.h224 #define RIO_PORT_N_MNT_REQ_CSR(n, m) (0x40 + (n) * (0x20 * (m))) argument
227 #define RIO_PORT_N_MNT_RSP_CSR(n, m) (0x44 + (n) * (0x20 * (m))) argument
236 #define RIO_PORT_N_CTL2_CSR(n, m) (0x54 + (n) * (0x20 * (m))) argument
238 #define RIO_PORT_N_ERR_STS_CSR(n, m) (0x58 + (n) * (0x20 * (m))) argument
246 #define RIO_PORT_N_CTL_CSR(n, m) (0x5c + (n) * (0x20 * (m))) argument
Dlightnvm.h69 } m; member
458 l.ppa = ((u64)r.m.grp) << lbaf->ch_offset; in generic_to_dev_addr()
459 l.ppa |= ((u64)r.m.pu) << lbaf->lun_offset; in generic_to_dev_addr()
460 l.ppa |= ((u64)r.m.chk) << lbaf->chk_offset; in generic_to_dev_addr()
461 l.ppa |= ((u64)r.m.sec) << lbaf->sec_offset; in generic_to_dev_addr()
487 l.m.grp = (r.ppa & lbaf->ch_mask) >> lbaf->ch_offset; in dev_to_generic_addr()
488 l.m.pu = (r.ppa & lbaf->lun_mask) >> lbaf->lun_offset; in dev_to_generic_addr()
489 l.m.chk = (r.ppa & lbaf->chk_mask) >> lbaf->chk_offset; in dev_to_generic_addr()
490 l.m.sec = (r.ppa & lbaf->sec_mask) >> lbaf->sec_offset; in dev_to_generic_addr()
509 caddr = p.m.sec; in dev_to_chunk_addr()
[all …]
Dbch.h38 unsigned int m; member
56 struct bch_control *init_bch(int m, int t, unsigned int prim_poly);
Dconsolemap.h21 extern unsigned short *set_translate(int m, struct vc_data *vc);
28 #define set_translate(m, vc) ((unsigned short *)NULL) argument
Dprandom.h75 static inline u32 __seed(u32 x, u32 m) in __seed() argument
77 return (x < m) ? x + m : x; in __seed()
Dnodemask.h109 static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes() argument
111 return m ? MAX_NUMNODES : 0; in __nodemask_pr_numnodes()
113 static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) in __nodemask_pr_bits() argument
115 return m ? m->bits : NULL; in __nodemask_pr_bits()
289 typeof(_unused_nodemask_arg_) m; \
290 if (sizeof(m) == sizeof(unsigned long)) { \
291 m.bits[0] = 1UL << (node); \
293 init_nodemask_of_node(&m, (node)); \
295 m; \
523 #define NODEMASK_FREE(m) kfree(m) argument
[all …]
Dplist.h191 #define plist_for_each_entry_continue(pos, head, m) \ argument
192 list_for_each_entry_continue(pos, &(head)->node_list, m.node_list)
203 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
204 list_for_each_entry_safe(pos, n, &(head)->node_list, m.node_list)
Dbtf.h47 struct seq_file *m);
51 const struct btf_member *m,
/include/trace/events/
Dmce.h14 TP_PROTO(struct mce *m),
16 TP_ARGS(m),
39 __entry->mcgcap = m->mcgcap;
40 __entry->mcgstatus = m->mcgstatus;
41 __entry->status = m->status;
42 __entry->addr = m->addr;
43 __entry->misc = m->misc;
44 __entry->synd = m->synd;
45 __entry->ipid = m->ipid;
46 __entry->ip = m->ip;
[all …]
/include/linux/ceph/
Dmdsmap.h43 ceph_mdsmap_get_addr(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_addr() argument
45 if (w >= m->m_num_mds) in ceph_mdsmap_get_addr()
47 return &m->m_info[w].addr; in ceph_mdsmap_get_addr()
50 static inline int ceph_mdsmap_get_state(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_state() argument
53 if (w >= m->m_num_mds) in ceph_mdsmap_get_state()
55 return m->m_info[w].state; in ceph_mdsmap_get_state()
58 static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) in ceph_mdsmap_is_laggy() argument
60 if (w >= 0 && w < m->m_num_mds) in ceph_mdsmap_is_laggy()
61 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()
65 extern int ceph_mdsmap_get_random_mds(struct ceph_mdsmap *m);
[all …]
/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument
25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument
26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument
27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
Dmroute.h51 #define VIFM_SET(n,m) ((m)|=(1<<(n))) argument
52 #define VIFM_CLR(n,m) ((m)&=~(1<<(n))) argument
53 #define VIFM_ISSET(n,m) ((m)&(1<<(n))) argument
54 #define VIFM_CLRALL(m) ((m)=0) argument
/include/linux/isdn/
Dcapiutil.h19 #define CAPIMSG_U8(m, off) (m[off]) argument
20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8)) argument
21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)+3]<<24)) argument
22 #define CAPIMSG_LEN(m) CAPIMSG_U16(m,0) argument
23 #define CAPIMSG_APPID(m) CAPIMSG_U16(m,2) argument
24 #define CAPIMSG_COMMAND(m) CAPIMSG_U8(m,4) argument
25 #define CAPIMSG_SUBCOMMAND(m) CAPIMSG_U8(m,5) argument
26 #define CAPIMSG_CMD(m) (((m[4])<<8)|(m[5])) argument
27 #define CAPIMSG_MSGID(m) CAPIMSG_U16(m,6) argument
28 #define CAPIMSG_CONTROLLER(m) (m[8] & 0x7f) argument
[all …]
/include/drm/
Ddrm_modes.h440 #define DRM_MODE_ARG(m) \ argument
441 (m)->name, (m)->vrefresh, (m)->clock, \
442 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \
443 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
444 (m)->type, (m)->flags
/include/net/netfilter/
Dnf_log.h100 __printf(2, 3) int nf_log_buf_add(struct nf_log_buf *m, const char *f, ...);
101 void nf_log_buf_close(struct nf_log_buf *m);
104 int nf_log_dump_udp_header(struct nf_log_buf *m, const struct sk_buff *skb,
106 int nf_log_dump_tcp_header(struct nf_log_buf *m, const struct sk_buff *skb,
109 void nf_log_dump_sk_uid_gid(struct net *net, struct nf_log_buf *m,
111 void nf_log_dump_vlan(struct nf_log_buf *m, const struct sk_buff *skb);
112 void nf_log_dump_packet_common(struct nf_log_buf *m, u_int8_t pf,
/include/net/9p/
Dtransport.h53 void v9fs_register_trans(struct p9_trans_module *m);
54 void v9fs_unregister_trans(struct p9_trans_module *m);
57 void v9fs_put_trans(struct p9_trans_module *m);
/include/drm/ttm/
Dttm_page_alloc.h75 int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
91 int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data);
106 static inline int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data) in ttm_dma_page_alloc_debugfs() argument
/include/asm-generic/
Ddiv64.h175 static inline uint64_t __arch_xprod_64(const uint64_t m, uint64_t n, bool bias) in __arch_xprod_64() argument
177 uint32_t m_lo = m; in __arch_xprod_64()
178 uint32_t m_hi = m >> 32; in __arch_xprod_64()
186 } else if (!(m & ((1ULL << 63) | (1ULL << 31)))) { in __arch_xprod_64()
188 res = (m + (uint64_t)m_lo * n_lo) >> 32; in __arch_xprod_64()
190 res = m + (uint64_t)m_lo * n_lo; in __arch_xprod_64()
196 if (!(m & ((1ULL << 63) | (1ULL << 31)))) { in __arch_xprod_64()
/include/linux/spi/
Dspi.h934 static inline void spi_message_init_no_memset(struct spi_message *m) in spi_message_init_no_memset() argument
936 INIT_LIST_HEAD(&m->transfers); in spi_message_init_no_memset()
937 INIT_LIST_HEAD(&m->resources); in spi_message_init_no_memset()
940 static inline void spi_message_init(struct spi_message *m) in spi_message_init() argument
942 memset(m, 0, sizeof *m); in spi_message_init()
943 spi_message_init_no_memset(m); in spi_message_init()
947 spi_message_add_tail(struct spi_transfer *t, struct spi_message *m) in spi_message_add_tail() argument
949 list_add_tail(&t->transfer_list, &m->transfers); in spi_message_add_tail()
968 spi_message_init_with_transfers(struct spi_message *m, in spi_message_init_with_transfers() argument
973 spi_message_init(m); in spi_message_init_with_transfers()
[all …]
/include/video/
Dtgafb.h256 BT463_WRITE(struct tga_par *par, u32 m, u16 a, u8 v) in BT463_WRITE() argument
259 TGA_WRITE_REG(par, m << 2, TGA_RAMDAC_SETUP_REG); in BT463_WRITE()
260 TGA_WRITE_REG(par, m << 10 | v, TGA_RAMDAC_REG); in BT463_WRITE()
273 BT459_WRITE(struct tga_par *par, u32 m, u16 a, u8 v) in BT459_WRITE() argument
276 TGA_WRITE_REG(par, m << 2, TGA_RAMDAC_SETUP_REG); in BT459_WRITE()
/include/rdma/
Drdmavt_mr.h114 u16 m; /* current index: mr->map[m] */ member
171 if (++sge->m >= sge->mr->mapsz) in rvt_update_sge()
175 sge->vaddr = sge->mr->map[sge->m]->segs[sge->n].vaddr; in rvt_update_sge()
176 sge->length = sge->mr->map[sge->m]->segs[sge->n].length; in rvt_update_sge()

12345