Home
last modified time | relevance | path

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

12345678910>>...202

/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-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-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-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-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-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_MLOCK(flag,string) ,{1UL << flag, string} argument
67 #define IF_HAVE_PG_MLOCK(flag,string) argument
71 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument
73 #define IF_HAVE_PG_UNCACHED(flag,string) argument
77 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument
79 #define IF_HAVE_PG_HWPOISON(flag,string) argument
83 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument
85 #define IF_HAVE_PG_IDLE(flag,string) argument
[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-5.10/fs/hmdfs/comm/
Dmessage_verify.c23 int flag, cmd; in hmdfs_message_verify_init() local
31 for (flag = 0; flag < C_FLAG_SIZE; flag++) { in hmdfs_message_verify_init()
33 message_length[flag][cmd][HMDFS_MESSAGE_MIN_INDEX] = 1; in hmdfs_message_verify_init()
34 message_length[flag][cmd][HMDFS_MESSAGE_MAX_INDEX] = 0; in hmdfs_message_verify_init()
35 message_length[flag][cmd][HMDFS_MESSAGE_LEN_JUDGE_INDEX] = in hmdfs_message_verify_init()
344 static int hmdfs_open_message_verify(int flag, size_t len, void *data) in hmdfs_open_message_verify() argument
350 if (flag != C_REQUEST || !data) in hmdfs_open_message_verify()
375 static int hmdfs_atomic_open_verify(int flag, size_t len, void *data) in hmdfs_atomic_open_verify() argument
384 if (flag != C_REQUEST || !data) in hmdfs_atomic_open_verify()
413 static int hmdfs_iterate_verify(int flag, size_t len, void *data) in hmdfs_iterate_verify() argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-enum-fmt.rst162 This flag can only be used in combination with the
163 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to compressed
164 formats only. This flag is valid for stateful decoders only.
172 This flag can only be used in combination with the
173 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to
174 compressed formats only. This flag is valid for stateful codecs only.
181 If this flag is set, then the ``CAPTURE`` coded frame interval can be
188 This flag can only be used in combination with the
189 ``V4L2_FMT_FLAG_COMPRESSED`` flag, since this applies to
190 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dgeneric-ehci.yaml54 $ref: /schemas/types.yaml#/definitions/flag
56 Set this flag for HCDs with big endian descriptors and big
60 $ref: /schemas/types.yaml#/definitions/flag
62 Set this flag for HCDs with big endian descriptors.
65 $ref: /schemas/types.yaml#/definitions/flag
67 Set this flag for HCDs with big endian registers.
70 $ref: /schemas/types.yaml#/definitions/flag
72 Set this flag if EHCI has a Transaction Translator built into
76 $ref: /schemas/types.yaml#/definitions/flag
78 Set this flag to force EHCI reset after resume.
Dgeneric-ohci.yaml43 $ref: /schemas/types.yaml#/definitions/flag
45 Set this flag for HCDs with big endian descriptors and big
49 $ref: /schemas/types.yaml#/definitions/flag
51 Set this flag for HCDs with big endian descriptors.
54 $ref: /schemas/types.yaml#/definitions/flag
56 Set this flag for HCDs with big endian registers.
59 $ref: /schemas/types.yaml#/definitions/flag
64 $ref: /schemas/types.yaml#/definitions/flag
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.
116 * domain has this flag set, then all of its parents need to have
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_lp.c51 * We create this set of state flag mainly for debugging.
62 * @flag: TCP-LP state flag
78 u32 flag; member
100 lp->flag = 0; in tcp_lp_init()
123 if (!(lp->flag & LP_WITHIN_INF)) in tcp_lp_cong_avoid()
166 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
168 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
195 if (lp->flag & LP_VALID_RHZ) { in tcp_lp_owd_calculator()
204 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator()
206 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator()
[all …]
/kernel/linux/linux-5.10/fs/f2fs/
Dnode.h41 /* For flag in struct node_info */
58 unsigned char flag; /* for node information bits */ member
84 /* should not copy flag here */ in copy_node_info()
92 ne->ni.flag |= mask; in set_nat_flag()
94 ne->ni.flag &= ~mask; in set_nat_flag()
100 return ne->ni.flag & mask; in get_nat_flag()
254 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
255 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
279 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
284 /* should remain old flag bits such as COLD_BIT_SHIFT */ in fill_node_footer()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-5.10/Documentation/x86/
Dcpuinfo.rst17 try to find the flag in /proc/cpuinfo. If a given flag is present, it
19 If such flag represents a hardware feature, it also means that the
22 If the expected flag does not appear in /proc/cpuinfo, things are murkier.
23 Users need to find out the reason why the flag is missing and find the way
42 displayed accordingly in /proc/cpuinfo. For example, the flag "avx2"
67 "split_lock_detect" will be displayed. The flag "ring3mwait" will be
74 Isolation is purely software feature and its feature flag X86_FEATURE_PTI is
86 a: The name of the flag is from the string in X86_FEATURE_<name> by default.
88 By default, the flag <name> in /proc/cpuinfo is extracted from the respective
89 X86_FEATURE_<name> in cpufeatures.h. For example, the flag "avx2" is from
[all …]

12345678910>>...202