Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 78) sorted by relevance

1234

/include/linux/
Dkbd_kern.h72 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument
74 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode()
77 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument
79 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led()
82 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument
84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()
87 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument
89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()
92 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument
94 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode()
[all …]
Dthread_info.h87 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument
89 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag()
92 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument
94 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag()
97 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag() argument
101 set_ti_thread_flag(ti, flag); in update_ti_thread_flag()
103 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag()
106 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument
108 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag()
111 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag() argument
[all …]
Dtty_flip.h16 const unsigned char *chars, char flag, size_t size);
20 int __tty_insert_flip_char(struct tty_port *port, unsigned char ch, char flag);
23 unsigned char ch, char flag) in tty_insert_flip_char() argument
28 change = (tb->flags & TTYB_NORMAL) && (flag != TTY_NORMAL); in tty_insert_flip_char()
31 *flag_buf_ptr(tb, tb->used) = flag; in tty_insert_flip_char()
35 return __tty_insert_flip_char(port, ch, flag); in tty_insert_flip_char()
Ddelayacct.h91 static inline void delayacct_set_flag(struct task_struct *p, int flag) in delayacct_set_flag() argument
94 p->delays->flags |= flag; in delayacct_set_flag()
97 static inline void delayacct_clear_flag(struct task_struct *p, int flag) in delayacct_clear_flag() argument
100 p->delays->flags &= ~flag; in delayacct_clear_flag()
173 extern void _trace_android_vh_delayacct_set_flag(struct task_struct *p, int flag);
174 extern void _trace_android_vh_delayacct_clear_flag(struct task_struct *p, int flag);
192 static inline void delayacct_set_flag(struct task_struct *p, int flag) in delayacct_set_flag() argument
195 _trace_android_vh_delayacct_set_flag(p, flag); in delayacct_set_flag()
197 static inline void delayacct_clear_flag(struct task_struct *p, int flag) in delayacct_clear_flag() argument
200 _trace_android_vh_delayacct_clear_flag(p, flag); in delayacct_clear_flag()
Dipv6_route.h13 #define IPV6_EXTRACT_PREF(flag) (((flag) & RTF_PREF_MASK) >> 27) argument
Dkdb.h146 #define KDB_FLAG(flag) (kdb_flags & KDB_FLAG_##flag) argument
147 #define KDB_FLAG_SET(flag) ((void)(kdb_flags |= KDB_FLAG_##flag)) argument
148 #define KDB_FLAG_CLEAR(flag) ((void)(kdb_flags &= ~KDB_FLAG_##flag)) argument
Dcapability.h98 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) argument
99 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) argument
100 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) argument
Dpanic.h89 extern void add_taint(unsigned flag, enum lockdep_ok);
90 extern int test_taint(unsigned flag);
Dfanotify.h10 #define FAN_GROUP_FLAG(group, flag) \ argument
11 ((group)->fanotify_data.flags & (flag))
Dof.h188 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() argument
190 return test_bit(flag, &n->_flags); in of_node_check_flag()
194 unsigned long flag) in of_node_test_and_set_flag() argument
196 return test_and_set_bit(flag, &n->_flags); in of_node_test_and_set_flag()
199 static inline void of_node_set_flag(struct device_node *n, unsigned long flag) in of_node_set_flag() argument
201 set_bit(flag, &n->_flags); in of_node_set_flag()
204 static inline void of_node_clear_flag(struct device_node *n, unsigned long flag) in of_node_clear_flag() argument
206 clear_bit(flag, &n->_flags); in of_node_clear_flag()
210 static inline int of_property_check_flag(struct property *p, unsigned long flag) in of_property_check_flag() argument
212 return test_bit(flag, &p->_flags); in of_property_check_flag()
[all …]
/include/trace/events/
Dmmflags.h69 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument
71 #define IF_HAVE_PG_MLOCK(flag,string) argument
75 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument
77 #define IF_HAVE_PG_UNCACHED(flag,string) argument
81 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument
83 #define IF_HAVE_PG_HWPOISON(flag,string) argument
87 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument
89 #define IF_HAVE_PG_IDLE(flag,string) argument
93 #define IF_HAVE_PG_ARCH_2(flag,string) ,{1UL << flag, string} argument
94 #define IF_HAVE_PG_OEM_RESERVED(flag,string) ,{1UL << flag, string} argument
[all …]
Dalarmtimer.h25 TP_PROTO(ktime_t expires, int flag),
27 TP_ARGS(expires, flag),
36 __entry->alarm_type = flag;
/include/linux/lockd/
Ddebug.h21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag)) argument
23 # define ifdebug(flag) if (0) argument
/include/xen/
Dfeatures.h19 static inline int xen_feature(int flag) in xen_feature() argument
21 return xen_features[flag]; in xen_feature()
/include/uapi/linux/
Dnilfs2_api.h49 #define NILFS_CPINFO_FNS(flag, name) \ argument
53 return !!(cpinfo->ci_flags & (1UL << NILFS_CPINFO_##flag)); \
79 #define NILFS_SUINFO_FNS(flag, name) \ argument
83 return si->sui_flags & (1UL << NILFS_SUINFO_##flag); \
116 #define NILFS_SUINFO_UPDATE_FNS(flag, name) \ argument
120 sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_##flag; \
125 sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_##flag); \
130 return !!(sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_##flag));\
Dnilfs2_ondisk.h532 #define NILFS_CHECKPOINT_FNS(flag, name) \ argument
537 (1UL << NILFS_CHECKPOINT_##flag)); \
543 ~(1UL << NILFS_CHECKPOINT_##flag)); \
549 (1UL << NILFS_CHECKPOINT_##flag)); \
594 #define NILFS_SEGMENT_USAGE_FNS(flag, name) \ argument
599 (1UL << NILFS_SEGMENT_USAGE_##flag));\
606 ~(1UL << NILFS_SEGMENT_USAGE_##flag)); \
612 (1UL << NILFS_SEGMENT_USAGE_##flag)); \
Dkernelcapi.h21 int flag; member
Dif_vlan.h60 unsigned int flag; /* Matches vlan_dev_priv flags */ member
Datmlec.h66 unsigned int flag; /* member
/include/trace/hooks/
Ddelayacct.h21 TP_PROTO(struct task_struct *p, int flag),
22 TP_ARGS(p, flag));
24 TP_PROTO(struct task_struct *p, int flag),
25 TP_ARGS(p, flag));
Dsyscall_check.h24 unsigned long flag, unsigned long ret),
25 TP_ARGS(file, prot, flag, ret));
Dprintk.h13 TP_PROTO(int *flag),
14 TP_ARGS(flag));
/include/uapi/linux/netfilter/
Dxt_HMARK.h25 #define XT_HMARK_FLAG(flag) (1 << flag) argument
/include/net/tc_act/
Dtc_skbedit.h31 static inline bool is_tcf_skbedit_with_flag(const struct tc_action *a, u32 flag) in is_tcf_skbedit_with_flag() argument
40 return flags == flag; in is_tcf_skbedit_with_flag()
/include/linux/clk/
Dtegra.h198 void tegra210_clk_emc_dll_enable(bool flag);
235 static inline void tegra210_clk_emc_dll_enable(bool flag) {} in tegra210_clk_emc_dll_enable() argument

1234