Home
last modified time | relevance | path

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

1234

/include/uapi/linux/
Dstat.h19 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument
20 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument
21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument
22 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument
23 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument
24 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument
25 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
Dmroute.h42 #define VIFM_SET(n,m) ((m)|=(1<<(n))) argument
43 #define VIFM_CLR(n,m) ((m)&=~(1<<(n))) argument
44 #define VIFM_ISSET(n,m) ((m)&(1<<(n))) argument
45 #define VIFM_CLRALL(m) ((m)=0) argument
/include/linux/
Dseq_file.h32 void * (*start) (struct seq_file *m, loff_t *pos);
33 void (*stop) (struct seq_file *m, void *v);
34 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
35 int (*show) (struct seq_file *m, void *v);
50 static inline bool seq_has_overflowed(struct seq_file *m) in seq_has_overflowed() argument
52 return m->count == m->size; in seq_has_overflowed()
63 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() argument
65 BUG_ON(m->count > m->size); in seq_get_buf()
66 if (m->count < m->size) in seq_get_buf()
67 *bufp = m->buf + m->count; in seq_get_buf()
[all …]
Dwin_minmax.h21 static inline u32 minmax_get(const struct minmax *m) in minmax_get() argument
23 return m->s[0].v; in minmax_get()
26 static inline u32 minmax_reset(struct minmax *m, u32 t, u32 meas) in minmax_reset() argument
30 m->s[2] = m->s[1] = m->s[0] = val; in minmax_reset()
31 return m->s[0].v; in minmax_reset()
34 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas);
35 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas);
Djiffies.h295 extern unsigned long __msecs_to_jiffies(const unsigned int m);
302 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument
304 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies()
313 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument
315 if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
317 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies()
324 static inline unsigned long _msecs_to_jiffies(const unsigned int m) in _msecs_to_jiffies() argument
326 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
329 return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32) >> MSEC_TO_HZ_SHR32; in _msecs_to_jiffies()
357 static __always_inline unsigned long msecs_to_jiffies(const unsigned int m) in msecs_to_jiffies() argument
[all …]
Drio_regs.h228 #define RIO_PORT_N_MNT_REQ_CSR(n, m) (0x40 + (n) * (0x20 * (m))) argument
231 #define RIO_PORT_N_MNT_RSP_CSR(n, m) (0x44 + (n) * (0x20 * (m))) argument
240 #define RIO_PORT_N_CTL2_CSR(n, m) (0x54 + (n) * (0x20 * (m))) argument
242 #define RIO_PORT_N_ERR_STS_CSR(n, m) (0x58 + (n) * (0x20 * (m))) argument
250 #define RIO_PORT_N_CTL_CSR(n, m) (0x5c + (n) * (0x20 * (m))) argument
Dreciprocal_div.h23 u32 m; member
31 u32 t = (u32)(((u64)a * R.m) >> 32); in reciprocal_divide()
Dconsolemap.h20 extern unsigned short *set_translate(int m, struct vc_data *vc);
27 #define set_translate(m, vc) ((unsigned short *)NULL) argument
Dbch.h50 unsigned int m; member
68 struct bch_control *init_bch(int m, int t, unsigned int prim_poly);
Dplist.h193 #define plist_for_each_entry_continue(pos, head, m) \ argument
194 list_for_each_entry_continue(pos, &(head)->node_list, m.node_list)
205 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
206 list_for_each_entry_safe(pos, n, &(head)->node_list, m.node_list)
Drandom.h85 static inline u32 __seed(u32 x, u32 m) in __seed() argument
87 return (x < m) ? x + m : x; in __seed()
Dfilter.h331 #define __BPF_MAP_0(m, v, ...) v argument
332 #define __BPF_MAP_1(m, v, t, a, ...) m(t, a) argument
333 #define __BPF_MAP_2(m, v, t, a, ...) m(t, a), __BPF_MAP_1(m, v, __VA_ARGS__) argument
334 #define __BPF_MAP_3(m, v, t, a, ...) m(t, a), __BPF_MAP_2(m, v, __VA_ARGS__) argument
335 #define __BPF_MAP_4(m, v, t, a, ...) m(t, a), __BPF_MAP_3(m, v, __VA_ARGS__) argument
336 #define __BPF_MAP_5(m, v, t, a, ...) m(t, a), __BPF_MAP_4(m, v, __VA_ARGS__) argument
Dtorture.h89 int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m,
91 void _torture_stop_kthread(char *m, struct task_struct **tp);
/include/trace/events/
Dmce.h13 TP_PROTO(struct mce *m),
15 TP_ARGS(m),
38 __entry->mcgcap = m->mcgcap;
39 __entry->mcgstatus = m->mcgstatus;
40 __entry->status = m->status;
41 __entry->addr = m->addr;
42 __entry->misc = m->misc;
43 __entry->synd = m->synd;
44 __entry->ipid = m->ipid;
45 __entry->ip = m->ip;
[all …]
/include/linux/ceph/
Dmdsmap.h37 ceph_mdsmap_get_addr(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_addr() argument
39 if (w >= m->m_max_mds) in ceph_mdsmap_get_addr()
41 return &m->m_info[w].addr; in ceph_mdsmap_get_addr()
44 static inline int ceph_mdsmap_get_state(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_state() argument
47 if (w >= m->m_max_mds) in ceph_mdsmap_get_state()
49 return m->m_info[w].state; in ceph_mdsmap_get_state()
52 static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) in ceph_mdsmap_is_laggy() argument
54 if (w >= 0 && w < m->m_max_mds) in ceph_mdsmap_is_laggy()
55 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()
59 extern int ceph_mdsmap_get_random_mds(struct ceph_mdsmap *m);
[all …]
/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/net/9p/
Dtransport.h67 void v9fs_register_trans(struct p9_trans_module *m);
68 void v9fs_unregister_trans(struct p9_trans_module *m);
71 void v9fs_put_trans(struct p9_trans_module *m);
/include/net/netfilter/
Dnf_log.h96 __printf(2, 3) int nf_log_buf_add(struct nf_log_buf *m, const char *f, ...);
97 void nf_log_buf_close(struct nf_log_buf *m);
100 int nf_log_dump_udp_header(struct nf_log_buf *m, const struct sk_buff *skb,
102 int nf_log_dump_tcp_header(struct nf_log_buf *m, const struct sk_buff *skb,
105 void nf_log_dump_sk_uid_gid(struct nf_log_buf *m, struct sock *sk);
106 void nf_log_dump_packet_common(struct nf_log_buf *m, u_int8_t pf,
/include/drm/ttm/
Dttm_page_alloc.h64 extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
81 extern int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data);
95 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.h160 static inline uint64_t __arch_xprod_64(const uint64_t m, uint64_t n, bool bias) in __arch_xprod_64() argument
162 uint32_t m_lo = m; in __arch_xprod_64()
163 uint32_t m_hi = m >> 32; in __arch_xprod_64()
170 } else if (!(m & ((1ULL << 63) | (1ULL << 31)))) { in __arch_xprod_64()
172 res = (m + (uint64_t)m_lo * n_lo) >> 32; in __arch_xprod_64()
174 res = m + (uint64_t)m_lo * n_lo; in __arch_xprod_64()
175 tmp = (res < m) ? (1ULL << 32) : 0; in __arch_xprod_64()
179 if (!(m & ((1ULL << 63) | (1ULL << 31)))) { in __arch_xprod_64()
/include/linux/spi/
Dspi.h834 static inline void spi_message_init_no_memset(struct spi_message *m) in spi_message_init_no_memset() argument
836 INIT_LIST_HEAD(&m->transfers); in spi_message_init_no_memset()
837 INIT_LIST_HEAD(&m->resources); in spi_message_init_no_memset()
840 static inline void spi_message_init(struct spi_message *m) in spi_message_init() argument
842 memset(m, 0, sizeof *m); in spi_message_init()
843 spi_message_init_no_memset(m); in spi_message_init()
847 spi_message_add_tail(struct spi_transfer *t, struct spi_message *m) in spi_message_add_tail() argument
849 list_add_tail(&t->transfer_list, &m->transfers); in spi_message_add_tail()
868 spi_message_init_with_transfers(struct spi_message *m, in spi_message_init_with_transfers() argument
873 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/media/i2c/
Dmt9t112.h18 u8 m, n; member
/include/keys/
Dbig_key-type.h23 extern void big_key_describe(const struct key *big_key, struct seq_file *m);
Dasymmetric-subtype.h32 void (*describe)(const struct key *key, struct seq_file *m);

1234