| /include/linux/ |
| A D | kbd_kern.h | 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() 84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 94 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode() 99 kbd->ledflagstate &= ~(1 << flag); in clr_vc_kbd_led() 104 kbd->lockstate ^= 1 << flag; in chg_vc_kbd_lock() 109 kbd->slockstate ^= 1 << flag; in chg_vc_kbd_slock() 114 kbd->modeflags ^= 1 << flag; in chg_vc_kbd_mode() [all …]
|
| A D | thread_info.h | 97 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag() 102 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag() 109 set_ti_thread_flag(ti, flag); in update_ti_thread_flag() 111 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag() 138 #define set_thread_flag(flag) \ argument 139 set_ti_thread_flag(current_thread_info(), flag) 140 #define clear_thread_flag(flag) \ argument 142 #define update_thread_flag(flag, value) \ argument 144 #define test_and_set_thread_flag(flag) \ argument 146 #define test_and_clear_thread_flag(flag) \ argument [all …]
|
| A D | tty_flip.h | 32 const u8 *chars, u8 flag, in tty_insert_flip_string_fixed_flag() argument 35 return __tty_insert_flip_string_flags(port, chars, &flag, false, size); in tty_insert_flip_string_fixed_flag() 65 static inline size_t tty_insert_flip_char(struct tty_port *port, u8 ch, u8 flag) in tty_insert_flip_char() argument 70 change = !tb->flags && (flag != TTY_NORMAL); in tty_insert_flip_char() 73 *flag_buf_ptr(tb, tb->used) = flag; in tty_insert_flip_char() 77 return __tty_insert_flip_string_flags(port, &ch, &flag, false, 1); in tty_insert_flip_char()
|
| A D | ipv6_route.h | 13 #define IPV6_EXTRACT_PREF(flag) (((flag) & RTF_PREF_MASK) >> 27) argument
|
| A D | kdb.h | 143 #define KDB_FLAG(flag) (kdb_flags & KDB_FLAG_##flag) argument 144 #define KDB_FLAG_SET(flag) ((void)(kdb_flags |= KDB_FLAG_##flag)) argument 145 #define KDB_FLAG_CLEAR(flag) ((void)(kdb_flags &= ~KDB_FLAG_##flag)) argument
|
| A D | capability.h | 73 #define cap_raise(c, flag) ((c).val |= BIT_ULL(flag)) argument 74 #define cap_lower(c, flag) ((c).val &= ~BIT_ULL(flag)) argument 75 #define cap_raised(c, flag) (((c).val & BIT_ULL(flag)) != 0) argument
|
| A D | panic.h | 96 extern void add_taint(unsigned flag, enum lockdep_ok); 97 extern int test_taint(unsigned flag);
|
| A D | bio-integrity.h | 49 static inline bool bio_integrity_flagged(struct bio *bio, enum bip_flags flag) in bio_integrity_flagged() argument 54 return bip->bip_flags & flag; in bio_integrity_flagged() 125 static inline bool bio_integrity_flagged(struct bio *bio, enum bip_flags flag) in bio_integrity_flagged() argument
|
| A D | of.h | 192 return test_bit(flag, &n->_flags); in of_node_check_flag() 196 unsigned long flag) in of_node_test_and_set_flag() argument 198 return test_and_set_bit(flag, &n->_flags); in of_node_test_and_set_flag() 201 static inline void of_node_set_flag(struct device_node *n, unsigned long flag) in of_node_set_flag() argument 203 set_bit(flag, &n->_flags); in of_node_set_flag() 208 clear_bit(flag, &n->_flags); in of_node_clear_flag() 214 return test_bit(flag, &p->_flags); in of_property_check_flag() 219 set_bit(flag, &p->_flags); in of_property_set_flag() 224 clear_bit(flag, &p->_flags); in of_property_clear_flag() 874 unsigned long flag) in of_node_test_and_set_flag() argument [all …]
|
| A D | fanotify.h | 8 #define FAN_GROUP_FLAG(group, flag) \ argument 9 ((group)->fanotify_data.flags & (flag))
|
| /include/linux/lockd/ |
| A D | debug.h | 21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag)) argument 23 # define ifdebug(flag) if (0) argument
|
| /include/xen/ |
| A 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/ |
| A 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));\
|
| A D | nilfs2_ondisk.h | 533 #define NILFS_CHECKPOINT_FNS(flag, name) \ argument 538 (1UL << NILFS_CHECKPOINT_##flag)); \ 544 ~(1UL << NILFS_CHECKPOINT_##flag)); \ 550 (1UL << NILFS_CHECKPOINT_##flag)); \ 595 #define NILFS_SEGMENT_USAGE_FNS(flag, name) \ argument 600 (1UL << NILFS_SEGMENT_USAGE_##flag));\ 607 ~(1UL << NILFS_SEGMENT_USAGE_##flag)); \ 613 (1UL << NILFS_SEGMENT_USAGE_##flag)); \
|
| A D | kernelcapi.h | 21 int flag; member
|
| A D | if_vlan.h | 60 unsigned int flag; /* Matches vlan_dev_priv flags */ member
|
| A D | atmlec.h | 66 unsigned int flag; /* member
|
| /include/trace/events/ |
| A D | mmflags.h | 79 #define gfpflag_string(flag) {(__force unsigned long)flag, #flag} argument 186 #define IF_HAVE_VM_SOFTDIRTY(flag,name) {flag, name }, argument 188 #define IF_HAVE_VM_SOFTDIRTY(flag,name) argument 192 # define IF_HAVE_UFFD_MINOR(flag, name) {flag, name}, argument 194 # define IF_HAVE_UFFD_MINOR(flag, name) argument 198 # define IF_HAVE_VM_DROPPABLE(flag, name) {flag, name}, argument 200 # define IF_HAVE_VM_DROPPABLE(flag, name) argument
|
| A D | alarmtimer.h | 26 TP_PROTO(ktime_t expires, int flag), 28 TP_ARGS(expires, flag), 37 __entry->alarm_type = flag;
|
| /include/trace/stages/ |
| A D | stage3_trace_output.h | 67 #define __print_flags(flag, delim, flag_array...) \ argument 71 trace_print_flags_seq(p, delim, flag, __flags); \ 85 #define __print_flags_u64(flag, delim, flag_array...) \ argument 89 trace_print_flags_seq_u64(p, delim, flag, __flags); \ 99 #define __print_flags_u64(flag, delim, flag_array...) \ argument 100 __print_flags(flag, delim, flag_array)
|
| /include/uapi/linux/netfilter/ |
| A D | xt_HMARK.h | 25 #define XT_HMARK_FLAG(flag) (1 << flag) argument
|
| /include/net/tc_act/ |
| A D | tc_skbedit.h | 33 static inline bool is_tcf_skbedit_with_flag(const struct tc_action *a, u32 flag) in is_tcf_skbedit_with_flag() argument 42 return flags == flag; in is_tcf_skbedit_with_flag()
|
| /include/uapi/sound/ |
| A D | firewire.h | 226 __u8 flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT]; member 248 __u8 flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_ALIGNED_INPUT_COUNT]; member
|
| /include/linux/clk/ |
| A 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
|
| /include/linux/mfd/ |
| A D | macsmc.h | 257 static inline int apple_smc_read_flag(struct apple_smc *smc, smc_key key, bool *flag) in APPLE_SMC_TYPE_OPS() 265 *flag = val ? true : false; in APPLE_SMC_TYPE_OPS()
|