Home
last modified time | relevance | path

Searched full:flag (Results 1 – 25 of 6678) sorted by relevance

12345678910>>...268

/kernel/linux/linux-6.6/fs/btrfs/
Dfs.c8 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat() argument
16 if (!(features & flag)) { in __btrfs_set_fs_incompat()
19 if (!(features & flag)) { in __btrfs_set_fs_incompat()
20 features |= flag; in __btrfs_set_fs_incompat()
23 "setting incompat feature flag for %s (0x%llx)", in __btrfs_set_fs_incompat()
24 name, flag); in __btrfs_set_fs_incompat()
31 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat() argument
39 if (features & flag) { in __btrfs_clear_fs_incompat()
42 if (features & flag) { in __btrfs_clear_fs_incompat()
43 features &= ~flag; in __btrfs_clear_fs_incompat()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dthread_info.h62 * flag set/clear/test wrappers
66 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument
68 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag()
71 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument
73 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag()
76 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag() argument
80 set_ti_thread_flag(ti, flag); in update_ti_thread_flag()
82 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag()
85 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument
87 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag()
[all …]
Dkbd_kern.h17 * kbd->xxx contains the VC-local things (flag settings etc..)
83 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument
85 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode()
88 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument
90 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led()
93 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument
95 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()
98 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument
100 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()
103 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Ddebugfs.c357 #define FLAG(F) [IEEE80211_HW_##F] = #F macro
358 FLAG(HAS_RATE_CONTROL),
359 FLAG(RX_INCLUDES_FCS),
360 FLAG(HOST_BROADCAST_PS_BUFFERING),
361 FLAG(SIGNAL_UNSPEC),
362 FLAG(SIGNAL_DBM),
363 FLAG(NEED_DTIM_BEFORE_ASSOC),
364 FLAG(SPECTRUM_MGMT),
365 FLAG(AMPDU_AGGREGATION),
366 FLAG(SUPPORTS_PS),
[all …]
/kernel/linux/linux-6.6/include/linux/
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) 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
[all …]
Dthread_info.h83 * flag set/clear/test wrappers
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()
[all …]
Dtty_flip.h23 * @flag: flag value for each character
27 * marked with the supplied flag.
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()
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) 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()
[all …]
/kernel/linux/linux-6.6/net/mac80211/
Ddebugfs.c444 #define FLAG(F) [IEEE80211_HW_##F] = #F macro
445 FLAG(HAS_RATE_CONTROL),
446 FLAG(RX_INCLUDES_FCS),
447 FLAG(HOST_BROADCAST_PS_BUFFERING),
448 FLAG(SIGNAL_UNSPEC),
449 FLAG(SIGNAL_DBM),
450 FLAG(NEED_DTIM_BEFORE_ASSOC),
451 FLAG(SPECTRUM_MGMT),
452 FLAG(AMPDU_AGGREGATION),
453 FLAG(SUPPORTS_PS),
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/
Dmmc-controller.yaml38 $ref: /schemas/types.yaml#/definitions/flag
48 $ref: /schemas/types.yaml#/definitions/flag
64 # using the GPIO_ACTIVE_LOW flag. This creates an ambiguity in the
67 # example leaving the GPIO_ACTIVE_LOW flag clear and specifying the
72 $ref: /schemas/types.yaml#/definitions/flag
77 $ref: /schemas/types.yaml#/definitions/flag
105 $ref: /schemas/types.yaml#/definitions/flag
125 $ref: /schemas/types.yaml#/definitions/flag
131 $ref: /schemas/types.yaml#/definitions/flag
136 $ref: /schemas/types.yaml#/definitions/flag
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmmc-controller.yaml38 $ref: /schemas/types.yaml#/definitions/flag
47 $ref: /schemas/types.yaml#/definitions/flag
63 # using the GPIO_ACTIVE_LOW flag. This creates an ambiguity in the
66 # example leaving the GPIO_ACTIVE_LOW flag clear and specifying the
71 $ref: /schemas/types.yaml#/definitions/flag
76 $ref: /schemas/types.yaml#/definitions/flag
97 $ref: /schemas/types.yaml#/definitions/flag
116 $ref: /schemas/types.yaml#/definitions/flag
122 $ref: /schemas/types.yaml#/definitions/flag
127 $ref: /schemas/types.yaml#/definitions/flag
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/riscv/vector/
Dvstate_prctl.c84 long flag, expected; in main() local
116 flag = PR_RISCV_V_VSTATE_CTRL_ON; in main()
117 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in main()
123 flag = PR_RISCV_V_VSTATE_CTRL_OFF; in main()
124 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in main()
132 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()
133 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0)) in main()
137 flag = PR_RISCV_V_VSTATE_CTRL_OFF << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()
138 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_OFF, 0)) in main()
142 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dmmflags.h59 #define IF_HAVE_PG_PURGEABLE(flag,string) ,{1UL << flag, string} argument
61 #define IF_HAVE_PG_PURGEABLE(flag,string) argument
65 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) ,{1UL << flag, string} argument
67 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) argument
71 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument
73 #define IF_HAVE_PG_MLOCK(flag,string) argument
77 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument
79 #define IF_HAVE_PG_UNCACHED(flag,string) argument
83 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument
85 #define IF_HAVE_PG_HWPOISON(flag,string) argument
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
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),
46 TP_ARGS(wait, flag));
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
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),
46 TP_ARGS(wait, flag));
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_cmd.h105 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
111 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
118 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
120 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
126 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
132 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
138 int atomisp_black_level(struct atomisp_sub_device *asd, int flag,
144 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
150 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
155 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
[all …]
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
Dlayer2.c113 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
114 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize()
120 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize()
196 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw()
241 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm()
257 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm()
262 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm()
269 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm()
272 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm()
308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr()
[all …]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dlayer2.c113 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
114 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize()
120 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize()
196 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw()
241 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm()
257 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm()
262 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm()
269 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm()
272 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm()
308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr()
[all …]
/kernel/linux/linux-6.6/Documentation/litmus-tests/locking/
DDCL-broken.litmus11 int flag;
15 P0(int *flag, int *data, spinlock_t *lck)
21 r0 = READ_ONCE(*flag);
24 r1 = READ_ONCE(*flag);
27 WRITE_ONCE(*flag, 1);
34 P1(int *flag, int *data, spinlock_t *lck)
40 r0 = READ_ONCE(*flag);
43 r1 = READ_ONCE(*flag);
46 WRITE_ONCE(*flag, 1);
53 locations [flag;data;0:r0;0:r1;1:r0;1:r1]
DDCL-fixed.litmus12 int flag;
16 P0(int *flag, int *data, spinlock_t *lck)
22 r0 = smp_load_acquire(flag);
25 r1 = READ_ONCE(*flag);
28 smp_store_release(flag, 1);
35 P1(int *flag, int *data, spinlock_t *lck)
41 r0 = smp_load_acquire(flag);
44 r1 = READ_ONCE(*flag);
47 smp_store_release(flag, 1);
54 locations [flag;data;0:r0;0:r1;1:r0;1:r1]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
Datomisp_cmd.h90 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
94 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
101 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
103 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
107 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
111 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
115 int atomisp_black_level(struct atomisp_sub_device *asd, int flag,
119 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
123 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
127 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
[all …]
/kernel/liteos_a/kernel/base/misc/
Dtask_shellcmd.c122 STATIC VOID ProcessInfoTitle(VOID *seqBuf, UINT16 flag) in ProcessInfoTitle() argument
125 if (flag & OS_PROCESS_INFO_ALL) { in ProcessInfoTitle()
127 if (flag & OS_PROCESS_MEM_INFO) { in ProcessInfoTitle()
142 STATIC VOID ProcessDataShow(const ProcessInfo *processInfo, VOID *seqBuf, UINT16 flag) in ProcessDataShow() argument
150 if (flag & OS_PROCESS_INFO_ALL) { in ProcessDataShow()
152 if (flag & OS_PROCESS_MEM_INFO) { in ProcessDataShow()
170 STATIC VOID AllProcessDataShow(const ProcessInfo *pcbArray, VOID *seqBuf, UINT16 flag) in AllProcessDataShow() argument
177 ProcessDataShow(processInfo, seqBuf, flag); in AllProcessDataShow()
181 STATIC VOID ProcessInfoShow(const ProcessInfo *pcbArray, VOID *seqBuf, UINT16 flag) in ProcessInfoShow() argument
190 ProcessInfoTitle(seqBuf, flag); in ProcessInfoShow()
[all …]
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-kona.h37 * Utility macros for object flag management. If possible, flags
40 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument
41 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument
42 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument
43 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument
44 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument
165 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
166 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \
167 FLAG(GATE, EXISTS), \
177 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
[all …]
/kernel/linux/linux-6.6/drivers/clk/bcm/
Dclk-kona.h29 * Utility macros for object flag management. If possible, flags
32 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument
33 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument
34 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument
35 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument
36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument
157 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
158 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \
159 FLAG(GATE, EXISTS), \
169 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
[all …]
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-parse-api.c54 * tep_set_flag - set event parser flag
56 * @flag: flag, or combination of flags to be set
59 * This sets a flag or combination of flags from enum tep_flag
61 void tep_set_flag(struct tep_handle *tep, int flag) in tep_set_flag() argument
64 tep->flags |= flag; in tep_set_flag()
68 * tep_clear_flag - clear event parser flag
70 * @flag: flag to be cleared
72 * This clears a tep flag
74 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag) in tep_clear_flag() argument
77 tep->flags &= ~flag; in tep_clear_flag()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/
Dtest_util.c208 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
212 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
216 .flag = ANON_HUGE_FLAGS, in vm_mem_backing_src_alias()
220 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16KB, in vm_mem_backing_src_alias()
224 .flag = ANON_HUGE_FLAGS | MAP_HUGE_64KB, in vm_mem_backing_src_alias()
228 .flag = ANON_HUGE_FLAGS | MAP_HUGE_512KB, in vm_mem_backing_src_alias()
232 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB, in vm_mem_backing_src_alias()
236 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB, in vm_mem_backing_src_alias()
240 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB, in vm_mem_backing_src_alias()
244 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16MB, in vm_mem_backing_src_alias()
[all …]

12345678910>>...268