/include/linux/ |
D | kbd_kern.h | 72 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 …]
|
D | thread_info.h | 87 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 …]
|
D | tty_flip.h | 16 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()
|
D | ipv6_route.h | 13 #define IPV6_EXTRACT_PREF(flag) (((flag) & RTF_PREF_MASK) >> 27) argument
|
D | kdb.h | 146 #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
|
D | capability.h | 98 #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
|
D | panic.h | 90 extern void add_taint(unsigned flag, enum lockdep_ok); 91 extern int test_taint(unsigned flag);
|
D | fanotify.h | 8 #define FAN_GROUP_FLAG(group, flag) \ argument 9 ((group)->fanotify_data.flags & (flag))
|
D | of.h | 188 static inline int of_node_check_flag(const 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(const 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/ |
D | mmflags.h | 16 #define gfpflag_string(flag) {(__force unsigned long)flag, #flag} argument 72 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument 74 #define IF_HAVE_PG_MLOCK(flag,string) argument 78 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument 80 #define IF_HAVE_PG_UNCACHED(flag,string) argument 84 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument 86 #define IF_HAVE_PG_HWPOISON(flag,string) argument 90 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument 92 #define IF_HAVE_PG_IDLE(flag,string) argument 96 #define IF_HAVE_PG_ARCH_2(flag,string) ,{1UL << flag, string} argument [all …]
|
D | alarmtimer.h | 25 TP_PROTO(ktime_t expires, int flag), 27 TP_ARGS(expires, flag), 36 __entry->alarm_type = flag;
|
/include/linux/lockd/ |
D | debug.h | 21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag)) argument 23 # define ifdebug(flag) if (0) argument
|
/include/xen/ |
D | features.h | 19 static inline int xen_feature(int flag) in xen_feature() argument 21 return xen_features[flag]; in xen_feature()
|
/include/uapi/linux/ |
D | nilfs2_api.h | 49 #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));\
|
D | nilfs2_ondisk.h | 532 #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)); \
|
D | kernelcapi.h | 21 int flag; member
|
D | if_vlan.h | 60 unsigned int flag; /* Matches vlan_dev_priv flags */ member
|
D | atmlec.h | 66 unsigned int flag; /* member
|
/include/trace/hooks/ |
D | printk.h | 13 TP_PROTO(int *flag), 14 TP_ARGS(flag));
|
D | syscall_check.h | 17 unsigned long flag, unsigned long ret), 18 TP_ARGS(file, prot, flag, ret));
|
/include/trace/stages/ |
D | stage3_trace_output.h | 61 #define __print_flags(flag, delim, flag_array...) \ argument 65 trace_print_flags_seq(p, delim, flag, __flags); \ 79 #define __print_flags_u64(flag, delim, flag_array...) \ argument 83 trace_print_flags_seq_u64(p, delim, flag, __flags); \ 93 #define __print_flags_u64(flag, delim, flag_array...) \ argument 94 __print_flags(flag, delim, flag_array)
|
/include/uapi/linux/netfilter/ |
D | xt_HMARK.h | 25 #define XT_HMARK_FLAG(flag) (1 << flag) argument
|
/include/net/tc_act/ |
D | tc_skbedit.h | 32 static inline bool is_tcf_skbedit_with_flag(const struct tc_action *a, u32 flag) in is_tcf_skbedit_with_flag() argument 41 return flags == flag; in is_tcf_skbedit_with_flag()
|
/include/uapi/sound/ |
D | firewire.h | 200 __u8 flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT]; member 222 __u8 flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_ALIGNED_INPUT_COUNT]; member
|
/include/linux/clk/ |
D | tegra.h | 220 void tegra210_clk_emc_dll_enable(bool flag); 257 static inline void tegra210_clk_emc_dll_enable(bool flag) {} in tegra210_clk_emc_dll_enable() argument
|