Searched refs:flag (Results 1 - 25 of 1212) sorted by relevance

1234567891011>>

/linux-master/arch/x86/boot/compressed/
H A Dcpuflags.c4 bool has_cpuflag(int flag) argument
8 return test_bit(flag, cpu.flags);
/linux-master/include/xen/
H A Dfeatures.h19 static inline int xen_feature(int flag) argument
21 return xen_features[flag];
/linux-master/include/linux/
H A Dipv6_route.h13 #define IPV6_EXTRACT_PREF(flag) (((flag) & RTF_PREF_MASK) >> 27)
H A Dkbd_kern.h12 * kbd->xxx contains the VC-local things (flag settings etc..)
72 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) argument
74 return ((kbd->modeflags >> flag) & 1);
77 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) argument
79 return ((kbd->ledflagstate >> flag) & 1);
82 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) argument
84 kbd->modeflags |= 1 << flag;
87 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) argument
89 kbd->ledflagstate |= 1 << flag;
92 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) argument
97 clr_vc_kbd_led(struct kbd_struct * kbd, int flag) argument
102 chg_vc_kbd_lock(struct kbd_struct * kbd, int flag) argument
107 chg_vc_kbd_slock(struct kbd_struct * kbd, int flag) argument
112 chg_vc_kbd_mode(struct kbd_struct * kbd, int flag) argument
117 chg_vc_kbd_led(struct kbd_struct * kbd, int flag) argument
[all...]
H A Dthread_info.h83 * flag set/clear/test wrappers
87 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) argument
89 set_bit(flag, (unsigned long *)&ti->flags);
92 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) argument
94 clear_bit(flag, (unsigned long *)&ti->flags);
97 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, argument
101 set_ti_thread_flag(ti, flag);
103 clear_ti_thread_flag(ti, flag);
106 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) argument
108 return test_and_set_bit(flag, (unsigne
111 test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) argument
116 test_ti_thread_flag(struct thread_info *ti, int flag) argument
[all...]
H A Dtty_flip.h23 * @flag: flag value for each character
27 * marked with the supplied flag.
32 const u8 *chars, u8 flag,
35 return __tty_insert_flip_string_flags(port, chars, &flag, false, size);
42 * @flags: flag bytes
61 * @flag: flag byte
63 * Queue a single byte @ch to the tty buffering, with an optional flag.
65 static inline size_t tty_insert_flip_char(struct tty_port *port, u8 ch, u8 flag) argument
31 tty_insert_flip_string_fixed_flag(struct tty_port *port, const u8 *chars, u8 flag, size_t size) argument
[all...]
/linux-master/lib/raid6/
H A Dx86.h57 static inline int boot_cpu_has(int flag) argument
61 eax = (flag & 0x100) ? 7 :
62 (flag & 0x20) ? 0x80000001 : 1;
68 return ((flag & 0x100 ? ebx :
69 (flag & 0x80) ? ecx : edx) >> (flag & 31)) & 1;
/linux-master/fs/btrfs/
H A Dfs.c8 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, argument
16 if (!(features & flag)) {
19 if (!(features & flag)) {
20 features |= flag;
23 "setting incompat feature flag for %s (0x%llx)",
24 name, flag);
31 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, argument
39 if (features & flag) {
42 if (features & flag) {
43 features &= ~flag;
54 __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, const char *name) argument
77 __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, const char *name) argument
[all...]
/linux-master/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c76 long flag, expected; local
108 flag = PR_RISCV_V_VSTATE_CTRL_ON;
109 rc = prctl(PR_RISCV_V_SET_CONTROL, flag);
115 flag = PR_RISCV_V_VSTATE_CTRL_OFF;
116 rc = prctl(PR_RISCV_V_SET_CONTROL, flag);
124 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT;
125 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0))
129 flag = PR_RISCV_V_VSTATE_CTRL_OFF << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT;
130 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_OFF, 0))
134 flag
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dtrace_iowait.h17 TP_PROTO(struct iowait *wait, u32 flag),
18 TP_ARGS(wait, flag),
22 __field(u32, flag)
28 __entry->flag = (1 << flag);
32 "iowait 0x%lx qp %u flags 0x%lx flag 0x%x",
36 __entry->flag
41 TP_PROTO(struct iowait *wait, u32 flag),
42 TP_ARGS(wait, flag));
45 TP_PROTO(struct iowait *wait, u32 flag),
[all...]
H A Diowait.c12 void iowait_set_flag(struct iowait *wait, u32 flag) argument
14 trace_hfi1_iowait_set(wait, flag);
15 set_bit(flag, &wait->flags);
18 bool iowait_flag_set(struct iowait *wait, u32 flag) argument
20 return test_bit(flag, &wait->flags);
23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) argument
25 trace_hfi1_iowait_clear(wait, flag);
26 clear_bit(flag, &wait->flags);
90 * iowait_set_work_flag - set work flag based on leg
/linux-master/include/linux/lockd/
H A Ddebug.h21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
23 # define ifdebug(flag) if (0)
/linux-master/fs/coda/
H A Dcoda_cache.h21 void coda_flag_inode_children(struct inode *inode, int flag);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_priv.h146 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) argument
150 set_bit(flag, &flow->flags);
153 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag)
156 unsigned long flag)
159 return test_and_set_bit(flag, &flow->flags);
162 #define flow_flag_test_and_set(flow, flag) \
164 MLX5E_TC_FLOW_FLAG_##flag)
166 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) argument
170 clear_bit(flag,
155 __flow_flag_test_and_set(struct mlx5e_tc_flow *flow, unsigned long flag) argument
176 __flow_flag_test(struct mlx5e_tc_flow *flow, unsigned long flag) argument
[all...]
/linux-master/fs/smb/server/mgmt/
H A Duser_config.h28 static inline void set_user_flag(struct ksmbd_user *user, int flag) argument
30 user->flags |= flag;
33 static inline int test_user_flag(struct ksmbd_user *user, int flag) argument
35 return user->flags & flag;
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.h77 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
81 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
88 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
90 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
94 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
98 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
102 int atomisp_black_level(struct atomisp_sub_device *asd, int flag,
106 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
110 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
114 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
[all...]
/linux-master/init/
H A DMakefile26 smp-flag-$(CONFIG_SMP) := SMP
27 preempt-flag-$(CONFIG_PREEMPT_BUILD) := PREEMPT
28 preempt-flag-$(CONFIG_PREEMPT_DYNAMIC) := PREEMPT_DYNAMIC
29 preempt-flag-$(CONFIG_PREEMPT_RT) := PREEMPT_RT
36 utsver=$$(echo '$(pound)'"$(build-version)" $(smp-flag-y) $(preempt-flag-y) "$(build-timestamp)" | cut -b -64); \
/linux-master/sound/firewire/oxfw/
H A Doxfw-proc.c16 char flag; local
38 flag = '*';
40 flag = ' ';
42 snd_iprintf(buffer, "%c\t%d\t%d\t%d\n", flag,
68 flag = '*';
70 flag = ' ';
72 snd_iprintf(buffer, "%c\t%d\t%d\t%d\n", flag,
/linux-master/arch/powerpc/mm/ptdump/
H A D8xx.c74 .flag = flag_array,
77 .flag = flag_array,
80 .flag = flag_array,
83 .flag = flag_array,
86 .flag = flag_array,
H A Dshared.c72 .flag = flag_array,
75 .flag = flag_array,
78 .flag = flag_array,
81 .flag = flag_array,
84 .flag = flag_array,
/linux-master/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb_host.sh67 local flag=$2
70 bridge mdb add dev br0 port br0 grp $group $flag 2>/dev/null
73 if [ -z "$flag" ]; then
74 flag="temp"
77 bridge mdb show dev br0 | grep $group | grep -q $flag 2>/dev/null
78 check_err $? "$group not added with $flag flag"
/linux-master/tools/testing/selftests/kvm/lib/
H A Dtest_util.c208 .flag = ANON_FLAGS,
212 .flag = ANON_FLAGS,
216 .flag = ANON_HUGE_FLAGS,
220 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16KB,
224 .flag = ANON_HUGE_FLAGS | MAP_HUGE_64KB,
228 .flag = ANON_HUGE_FLAGS | MAP_HUGE_512KB,
232 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB,
236 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB,
240 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB,
244 .flag
297 uint32_t flag = vm_mem_backing_src_alias(i)->flag; local
328 backing_src_help(const char *flag) argument
[all...]
/linux-master/fs/isofs/
H A Dutil.c19 int iso_date(u8 *p, int flag) argument
30 if (flag == 0) tz = p[6]; /* High sierra has no time zone */
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_cudbg.h35 u32 cxgb4_get_dump_length(struct adapter *adap, u32 flag);
37 u32 flag);
/linux-master/net/ipv4/
H A Dtcp_lp.c51 * We create this set of state flag mainly for debugging.
62 * @flag: TCP-LP state flag
78 u32 flag; member in struct:lp
101 lp->flag = 0;
125 if (!(lp->flag & LP_WITHIN_INF))
169 lp->flag |= LP_VALID_RHZ;
171 lp->flag &= ~LP_VALID_RHZ;
199 if (lp->flag & LP_VALID_RHZ) {
208 lp->flag |
[all...]

Completed in 608 milliseconds

1234567891011>>