Home
last modified time | relevance | path

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

12345678910>>...203

/Linux-v5.15/include/linux/
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 …]
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 …]
/Linux-v5.15/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
98 $ref: /schemas/types.yaml#/definitions/flag
118 $ref: /schemas/types.yaml#/definitions/flag
124 $ref: /schemas/types.yaml#/definitions/flag
129 $ref: /schemas/types.yaml#/definitions/flag
[all …]
/Linux-v5.15/net/mac80211/
Ddebugfs.c454 #define FLAG(F) [IEEE80211_HW_##F] = #F macro
455 FLAG(HAS_RATE_CONTROL),
456 FLAG(RX_INCLUDES_FCS),
457 FLAG(HOST_BROADCAST_PS_BUFFERING),
458 FLAG(SIGNAL_UNSPEC),
459 FLAG(SIGNAL_DBM),
460 FLAG(NEED_DTIM_BEFORE_ASSOC),
461 FLAG(SPECTRUM_MGMT),
462 FLAG(AMPDU_AGGREGATION),
463 FLAG(SUPPORTS_PS),
[all …]
/Linux-v5.15/include/trace/events/
Dmmflags.h61 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument
63 #define IF_HAVE_PG_MLOCK(flag,string) argument
67 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument
69 #define IF_HAVE_PG_UNCACHED(flag,string) argument
73 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument
75 #define IF_HAVE_PG_HWPOISON(flag,string) argument
79 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument
81 #define IF_HAVE_PG_IDLE(flag,string) argument
85 #define IF_HAVE_PG_ARCH_2(flag,string) ,{1UL << flag, string} argument
87 #define IF_HAVE_PG_ARCH_2(flag,string) argument
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/
Datomisp_cmd.h96 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
100 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
107 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
109 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
113 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
117 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
121 int atomisp_black_level(struct atomisp_sub_device *asd, int flag,
125 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
129 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
133 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h119 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set() argument
123 set_bit(flag, &flow->flags); in __flow_flag_set()
126 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
129 unsigned long flag) in __flow_flag_test_and_set() argument
132 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set()
135 #define flow_flag_test_and_set(flow, flag) \ argument
137 MLX5E_TC_FLOW_FLAG_##flag)
139 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear() argument
143 clear_bit(flag, &flow->flags); in __flow_flag_clear()
146 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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-v5.15/tools/testing/selftests/net/
Dveth.sh58 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\
62 if [ "$flag" = "$expected" ]; then
65 echo " fail - expected $expected found $flag"
228 chk_gro_flag "default - gro flag" $SRC off
229 chk_gro_flag " - peer gro flag" $DST off
230 chk_tso_flag " - tso flag" $SRC on
231 chk_tso_flag " - peer tso flag" $DST on
239 chk_gro_flag "with gro on - gro flag" $DST on
240 chk_gro_flag " - peer gro flag" $SRC off
241 chk_tso_flag " - tso flag" $SRC on
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/arch/powerpc/platforms/pasemi/
Ddma_lib.c368 /* pasemi_dma_alloc_flag - Allocate a flag (event) for channel synchronization
370 * Allocates a flag for use with channel synchronization (event descriptors).
371 * Returns allocated flag (0-63), < 0 on error.
389 /* pasemi_dma_free_flag - Deallocates a flag (event)
390 * @flag: Flag number to deallocate
392 * Frees up a flag so it can be reused for other purposes.
394 void pasemi_dma_free_flag(int flag) in pasemi_dma_free_flag() argument
396 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag()
397 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag()
398 set_bit(flag, flags_free); in pasemi_dma_free_flag()
[all …]
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_tpg.c694 u32 flag) in iscsit_ta_generate_node_acls() argument
698 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls()
699 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls()
703 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls()
707 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls()
743 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
747 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
748 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls()
752 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls()
758 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/usb/
Dgeneric-ehci.yaml100 $ref: /schemas/types.yaml#/definitions/flag
102 Set this flag for HCDs with big endian descriptors and big
106 $ref: /schemas/types.yaml#/definitions/flag
108 Set this flag for HCDs with big endian descriptors.
111 $ref: /schemas/types.yaml#/definitions/flag
113 Set this flag for HCDs with big endian registers.
116 $ref: /schemas/types.yaml#/definitions/flag
118 Set this flag if EHCI has a Transaction Translator built into
122 $ref: /schemas/types.yaml#/definitions/flag
124 Set this flag to force EHCI reset after resume.
[all …]
/Linux-v5.15/arch/powerpc/mm/ptdump/
Dptdump.c138 *flag, u64 pte, int num) in dump_flag_info()
142 for (i = 0; i < num; i++, flag++) { in dump_flag_info()
146 /* flag not defined so don't check it */ in dump_flag_info()
147 if (flag->mask == 0) in dump_flag_info()
150 if (flag->is_val) { in dump_flag_info()
151 val = pte & flag->val; in dump_flag_info()
152 if (flag->shift) in dump_flag_info()
153 val = val >> flag->shift; in dump_flag_info()
154 pt_dump_seq_printf(st->seq, " %s:%llx", flag->set, val); in dump_flag_info()
156 if ((pte & flag->mask) == flag->val) in dump_flag_info()
[all …]
/Linux-v5.15/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()
299 *flag &= ~JFS_ERR_REMOUNT_RO; in parse_options()
300 *flag &= ~JFS_ERR_PANIC; in parse_options()
301 *flag |= JFS_ERR_CONTINUE; in parse_options()
303 *flag &= ~JFS_ERR_CONTINUE; in parse_options()
304 *flag &= ~JFS_ERR_PANIC; in parse_options()
[all …]
/Linux-v5.15/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);
/Linux-v5.15/fs/f2fs/
Dnode.h44 /* For flag in struct node_info */
61 unsigned char flag; /* for node information bits */ member
87 /* should not copy flag here */ in copy_node_info()
95 ne->ni.flag |= mask; in set_nat_flag()
97 ne->ni.flag &= ~mask; in set_nat_flag()
103 return ne->ni.flag & mask; in get_nat_flag()
259 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
260 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
284 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
289 /* should remain old flag bits such as COLD_BIT_SHIFT */ in fill_node_footer()
[all …]
/Linux-v5.15/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-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dchannel.h25 #define BRCMS_EIRP 0x01 /* Flag for EIRP */
26 #define BRCMS_DFS_TPC 0x02 /* Flag for DFS TPC */
27 #define BRCMS_NO_OFDM 0x04 /* Flag for No OFDM */
28 #define BRCMS_NO_40MHZ 0x08 /* Flag for No MIMO 40MHz */
29 #define BRCMS_NO_MIMO 0x10 /* Flag for No MIMO, 20 or 40 MHz */
30 #define BRCMS_RADAR_TYPE_EU 0x20 /* Flag for EU */
31 #define BRCMS_DFS_FCC BRCMS_DFS_TPC /* Flag for DFS FCC */
33 #define BRCMS_DFS_EU (BRCMS_DFS_TPC | BRCMS_RADAR_TYPE_EU) /* Flag for DFS EU */

12345678910>>...203