Home
last modified time | relevance | path

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

12345678910>>...194

/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/include/trace/events/
Dmmflags.h16 #define gfpflag_string(flag) {(__force unsigned long)flag, #flag} 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
89 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument
91 #define IF_HAVE_PG_IDLE(flag,string) argument
95 #define IF_HAVE_PG_ARCH_2(flag,string) ,{1UL << flag, string} argument
[all …]
/Linux-v6.1/tools/testing/selftests/kvm/lib/
Dtest_util.c181 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
185 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
189 .flag = ANON_HUGE_FLAGS, in vm_mem_backing_src_alias()
193 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16KB, in vm_mem_backing_src_alias()
197 .flag = ANON_HUGE_FLAGS | MAP_HUGE_64KB, in vm_mem_backing_src_alias()
201 .flag = ANON_HUGE_FLAGS | MAP_HUGE_512KB, in vm_mem_backing_src_alias()
205 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB, in vm_mem_backing_src_alias()
209 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB, in vm_mem_backing_src_alias()
213 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB, in vm_mem_backing_src_alias()
217 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16MB, in vm_mem_backing_src_alias()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_cmd.h92 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
96 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
103 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
105 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
109 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
113 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
117 int atomisp_black_level(struct atomisp_sub_device *asd, int flag,
121 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
125 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
129 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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));
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/testing/selftests/net/
Dveth.sh59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\
63 if [ "$flag" = "$expected" ]; then
66 echo " fail - expected $expected found $flag"
229 chk_gro_flag "default - gro flag" $SRC off
230 chk_gro_flag " - peer gro flag" $DST off
231 chk_tso_flag " - tso flag" $SRC on
232 chk_tso_flag " - peer tso flag" $DST on
240 chk_gro_flag "with gro on - gro flag" $DST on
241 chk_gro_flag " - peer gro flag" $SRC off
242 chk_tso_flag " - tso flag" $SRC on
[all …]
/Linux-v6.1/include/uapi/linux/
Dtipc_netlink.h108 TIPC_NLA_UDP_MULTI_REMOTEIP, /* flag */
119 TIPC_NLA_SOCK_HAS_PUBL, /* flag */
126 TIPC_NLA_SOCK_PAD, /* flag */
139 TIPC_NLA_LINK_BROADCAST, /* flag */
140 TIPC_NLA_LINK_UP, /* flag */
141 TIPC_NLA_LINK_ACTIVE, /* flag */
165 TIPC_NLA_NODE_UP, /* flag */
168 TIPC_NLA_NODE_KEY_MASTER, /* flag */
182 TIPC_NLA_NET_ADDR_LEGACY, /* flag */
202 TIPC_NLA_MON_ACTIVE, /* flag */
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dvidioc-enum-fmt.rst166 This flag can only be used in combination with the
167 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to compressed
168 formats only. This flag is valid for stateful decoders only.
176 This flag can only be used in combination with the
177 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to
178 compressed formats only. This flag is valid for stateful codecs only.
185 If this flag is set, then the ``CAPTURE`` coded frame interval can be
192 This flag can only be used in combination with the
193 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to
194 compressed formats only. This flag is valid for stateful encoders only.
[all …]
Dbuffer.rst52 ``V4L2_CTRL_FLAG_MODIFY_LAYOUT`` flag.
58 ``V4L2_CTRL_FLAG_GRABBED`` flag when calling
76 allocation and the ``V4L2_CTRL_FLAG_GRABBED`` flag is cleared once the
85 allocated. After freeing all buffers the ``V4L2_CTRL_FLAG_GRABBED`` flag
218 - When the ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this
295 - The file descriptor of the request to queue the buffer to. If the flag
297 queued to this request. If the flag is not set, then this field will
300 The ``V4L2_BUF_FLAG_REQUEST_FD`` flag and this field are only used by
466 * .. _`V4L2-BUF-FLAG-MAPPED`:
472 Drivers set or clear this flag when the
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h148 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set() argument
152 set_bit(flag, &flow->flags); in __flow_flag_set()
155 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
158 unsigned long flag) in __flow_flag_test_and_set() argument
161 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set()
164 #define flow_flag_test_and_set(flow, flag) \ argument
166 MLX5E_TC_FLOW_FLAG_##flag)
168 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear() argument
172 clear_bit(flag, &flow->flags); in __flow_flag_clear()
175 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument
[all …]
/Linux-v6.1/Documentation/bpf/
Dkfuncs.rst100 2.4.1 KF_ACQUIRE flag
103 The KF_ACQUIRE flag is used to indicate that the kfunc returns a pointer to a
110 2.4.2 KF_RET_NULL flag
113 The KF_RET_NULL flag is used to indicate that the pointer returned by the kfunc
116 another helper). This flag is often used in pairing with KF_ACQUIRE flag, but
119 2.4.3 KF_RELEASE flag
122 The KF_RELEASE flag is used to indicate that the kfunc releases the pointer
125 kfunc with this flag.
127 2.4.4 KF_KPTR_GET flag
130 The KF_KPTR_GET flag is used to indicate that the kfunc takes the first argument
[all …]
/Linux-v6.1/arch/powerpc/platforms/pasemi/
Ddma_lib.c370 /* pasemi_dma_alloc_flag - Allocate a flag (event) for channel synchronization
372 * Allocates a flag for use with channel synchronization (event descriptors).
373 * Returns allocated flag (0-63), < 0 on error.
391 /* pasemi_dma_free_flag - Deallocates a flag (event)
392 * @flag: Flag number to deallocate
394 * Frees up a flag so it can be reused for other purposes.
396 void pasemi_dma_free_flag(int flag) in pasemi_dma_free_flag() argument
398 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag()
399 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag()
400 set_bit(flag, flags_free); in pasemi_dma_free_flag()
[all …]
/Linux-v6.1/drivers/target/iscsi/
Discsi_target_tpg.c696 u32 flag) in iscsit_ta_generate_node_acls() argument
700 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls()
701 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls()
705 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls()
709 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls()
745 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
749 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
750 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls()
754 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls()
760 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls()
[all …]
/Linux-v6.1/arch/powerpc/mm/ptdump/
Dptdump.c139 *flag, u64 pte, int num) in dump_flag_info()
143 for (i = 0; i < num; i++, flag++) { in dump_flag_info()
147 /* flag not defined so don't check it */ in dump_flag_info()
148 if (flag->mask == 0) in dump_flag_info()
151 if (flag->is_val) { in dump_flag_info()
152 val = pte & flag->val; in dump_flag_info()
153 if (flag->shift) in dump_flag_info()
154 val = val >> flag->shift; in dump_flag_info()
155 pt_dump_seq_printf(st->seq, " %s:%llx", flag->set, val); in dump_flag_info()
157 if ((pte & flag->mask) == flag->val) in dump_flag_info()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dgeneric-ehci.yaml102 $ref: /schemas/types.yaml#/definitions/flag
104 Set this flag for HCDs with big endian descriptors and big
108 $ref: /schemas/types.yaml#/definitions/flag
110 Set this flag for HCDs with big endian descriptors.
113 $ref: /schemas/types.yaml#/definitions/flag
115 Set this flag for HCDs with big endian registers.
118 $ref: /schemas/types.yaml#/definitions/flag
120 Set this flag if EHCI has a Transaction Translator built into
124 $ref: /schemas/types.yaml#/definitions/flag
126 Set this flag to force EHCI reset after resume.
[all …]
/Linux-v6.1/fs/jfs/
Dsuper.c71 if (sbi->flag & JFS_ERR_PANIC) in jfs_handle_error()
74 else if (sbi->flag & JFS_ERR_REMOUNT_RO) { in jfs_handle_error()
234 int *flag) in parse_options() argument
254 *flag &= ~JFS_NOINTEGRITY; in parse_options()
257 *flag |= JFS_NOINTEGRITY; in parse_options()
298 *flag &= ~JFS_ERR_REMOUNT_RO; in parse_options()
299 *flag &= ~JFS_ERR_PANIC; in parse_options()
300 *flag |= JFS_ERR_CONTINUE; in parse_options()
302 *flag &= ~JFS_ERR_CONTINUE; in parse_options()
303 *flag &= ~JFS_ERR_PANIC; in parse_options()
[all …]
/Linux-v6.1/fs/f2fs/
Dnode.h47 /* For flag in struct node_info */
64 unsigned char flag; /* for node information bits */ member
90 /* should not copy flag here */ in copy_node_info()
98 ne->ni.flag |= mask; in set_nat_flag()
100 ne->ni.flag &= ~mask; in set_nat_flag()
106 return ne->ni.flag & mask; in get_nat_flag()
256 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
257 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
281 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
286 /* should remain old flag bits such as COLD_BIT_SHIFT */ in fill_node_footer()
[all …]
/Linux-v6.1/include/linux/sched/
Dsd_flags.h3 * sched-domains (multiprocessor balancing) flag declarations.
14 * If a domain has this flag set, all of its children should have it set. This
15 * is usually because the flag describes some shared resource (all CPUs in that
20 * In those cases it doesn't make sense to have the flag set for a domain but
27 * downwards. If a domain has this flag set, all of its parents should have it
49 * NEEDS_GROUPS: Load balancing flag.
57 * NEEDS_GROUPS: Load balancing flag.
65 * NEEDS_GROUPS: Load balancing flag.
73 * NEEDS_GROUPS: Load balancing flag.
126 * domain has this flag set, then all of its parents need to have
[all …]
/Linux-v6.1/scripts/coccinelle/api/
Dmemdup.cocci19 expression flag;
23 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag);
27 expression flag,E1;
33 to = \(kmalloc@p\|kzalloc@p\)(x,flag);
36 expression from,to,size,flag;
41 - to = \(kmalloc@p\|kzalloc@p\)(size,flag);
42 + to = kmemdup(from,size,flag);
47 expression from,to,size,flag;
52 * to = \(kmalloc@p\|kzalloc@p\)(size,flag);

12345678910>>...194