Home
last modified time | relevance | path

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

12345678910>>...129

/linux/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c65 long flag; in TEST() local
71 flag = PR_RISCV_V_VSTATE_CTRL_ON; in TEST()
72 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in TEST()
78 long flag; in TEST() local
84 flag = PR_RISCV_V_VSTATE_CTRL_OFF; in TEST()
85 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in TEST()
94 long flag; in TEST() local
105 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in TEST()
107 EXPECT_EQ(0, test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0, xtheadvector)); in TEST()
112 long flag; in TEST() local
[all …]
/linux/net/mac80211/
H A Ddebugfs.c406 #define FLAG(F) [IEEE80211_HW_##F] = #F macro
407 FLAG(HAS_RATE_CONTROL),
408 FLAG(RX_INCLUDES_FCS),
409 FLAG(HOST_BROADCAST_PS_BUFFERING),
410 FLAG(SIGNAL_UNSPEC),
411 FLAG(SIGNAL_DBM),
412 FLAG(NEED_DTIM_BEFORE_ASSOC),
413 FLAG(SPECTRUM_MGMT),
414 FLAG(AMPDU_AGGREGATION),
415 FLAG(SUPPORTS_PS),
[all …]
/linux/include/linux/
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) 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 …]
H A 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 …]
/linux/Documentation/netlink/specs/
H A Dnl80211.yaml215 name: sta-flag-update
270 type: flag
361 type: flag
425 type: flag
440 type: flag
447 struct: sta-flag-update
450 type: flag
456 type: flag
459 type: flag
522 type: flag
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller-common.yaml30 $ref: /schemas/types.yaml#/definitions/flag
40 $ref: /schemas/types.yaml#/definitions/flag
56 # using the GPIO_ACTIVE_LOW flag. This creates an ambiguity in the
59 # example leaving the GPIO_ACTIVE_LOW flag clear and specifying the
64 $ref: /schemas/types.yaml#/definitions/flag
69 $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/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),
46 TP_ARGS(wait, flag));
/linux/fs/btrfs/
H A Dfs.c254 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat() argument
262 if (!(features & flag)) { in __btrfs_set_fs_incompat()
265 if (!(features & flag)) { in __btrfs_set_fs_incompat()
266 features |= flag; in __btrfs_set_fs_incompat()
269 "setting incompat feature flag for %s (0x%llx)", in __btrfs_set_fs_incompat()
270 name, flag); in __btrfs_set_fs_incompat()
277 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat() argument
285 if (features & flag) { in __btrfs_clear_fs_incompat()
288 if (features & flag) { in __btrfs_clear_fs_incompat()
289 features &= ~flag; in __btrfs_clear_fs_incompat()
[all …]
/linux/tools/testing/selftests/net/
H A Dtest_neigh.sh84 check_err $? "No \"extern_valid\" flag after addition"
86 log_test "$af_str \"extern_valid\" flag: Add entry"
90 # Check that an entry cannot be added with "extern_valid" flag and an
94 check_fail $? "Managed to add an entry with \"extern_valid\" flag and an invalid state"
96 log_test "$af_str \"extern_valid\" flag: Add with an invalid state"
100 # Check that entry cannot be added with both "extern_valid" flag and
101 # "use" / "managed" flag.
104 check_fail $? "Managed to add an entry with \"extern_valid\" flag and \"use\" flag"
106 log_test "$af_str \"extern_valid\" flag: Add with \"use\" flag"
110 # Check that "extern_valid" flag can be toggled using replace.
[all …]
/linux/Documentation/litmus-tests/locking/
H A 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]
H A 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]
/linux/drivers/clk/bcm/
H A 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/include/uapi/linux/
H A 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/Documentation/userspace-api/media/v4l/
H A 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
216 - When the ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this
293 - The file descriptor of the request to queue the buffer to. If the flag
295 queued to this request. If the flag is not set, then this field will
298 The ``V4L2_BUF_FLAG_REQUEST_FD`` flag and this field are only used by
461 * .. _`V4L2-BUF-FLAG-MAPPED`:
467 Drivers set or clear this flag when the
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_priv.h155 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set() argument
159 set_bit(flag, &flow->flags); in __flow_flag_set()
162 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
165 unsigned long flag) in __flow_flag_test_and_set() argument
168 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set()
171 #define flow_flag_test_and_set(flow, flag) \ argument
173 MLX5E_TC_FLOW_FLAG_##flag)
175 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear() argument
179 clear_bit(flag, &flow->flags); in __flow_flag_clear()
182 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument
[all …]
/linux/drivers/target/iscsi/
H A Discsi_target_tpg.c665 u32 flag) in iscsit_ta_generate_node_acls() argument
669 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls()
670 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls()
674 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls()
678 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls()
714 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
718 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
719 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls()
723 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls()
729 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls()
[all …]
/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c266 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
270 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
274 .flag = ANON_HUGE_FLAGS, in vm_mem_backing_src_alias()
278 .flag = ANON_HUGE_FLAGS | MAP_HUGE_16KB, in vm_mem_backing_src_alias()
282 .flag = ANON_HUGE_FLAGS | MAP_HUGE_64KB, in vm_mem_backing_src_alias()
286 .flag = ANON_HUGE_FLAGS | MAP_HUGE_512KB, in vm_mem_backing_src_alias()
290 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB, in vm_mem_backing_src_alias()
294 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB, in vm_mem_backing_src_alias()
298 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB, in vm_mem_backing_src_alias()
302 .flag in vm_mem_backing_src_alias()
322 u32 flag = vm_mem_backing_src_alias(i)->flag; get_backing_src_pagesz() local
353 backing_src_help(const char * flag) backing_src_help() argument
[all...]
/linux/arch/powerpc/platforms/pasemi/
H A 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/tools/testing/selftests/net/can/
H A Dtest_raw_filter.c118 /* Ignore EFF flag in filter ID if not covered by filter mask */
132 /* Ignore RTR flag in filter ID if not covered by filter mask */
160 /* Receive only SFF frames when expecting no EFF flag */
172 /* Receive only EFF frames when filter id and filter mask include EFF flag */
184 /* Receive only SFF frames when expecting no EFF flag, ignoring RTR flag */
196 /* Receive only EFF frames when filter id and filter mask include EFF flag,
197 * ignoring RTR flag
210 /* Receive no remote frames when filtering for no RTR flag */
222 /* Receive no remote frames when filtering for no RTR flag, ignoring EFF flag */
234 /* Receive only remote frames when filter includes RTR flag */
[all …]
/linux/include/linux/sched/
H A 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.
133 * domain has this flag se
[all...]
/linux/scripts/coccinelle/api/
H A 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/arch/powerpc/mm/ptdump/
H A 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/Documentation/devicetree/bindings/iio/frequency/
H A Dadi,adf4350.yaml58 $ref: /schemas/types.yaml#/definitions/flag
62 $ref: /schemas/types.yaml#/definitions/flag
66 $ref: /schemas/types.yaml#/definitions/flag
70 $ref: /schemas/types.yaml#/definitions/flag
74 $ref: /schemas/types.yaml#/definitions/flag
98 $ref: /schemas/types.yaml#/definitions/flag
102 $ref: /schemas/types.yaml#/definitions/flag
106 $ref: /schemas/types.yaml#/definitions/flag
111 $ref: /schemas/types.yaml#/definitions/flag
116 $ref: /schemas/types.yaml#/definitions/flag
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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 */
/linux/drivers/net/fddi/skfp/
H A Dqueue.c127 * set SMT flag to value
128 * flag flag name
129 * value flag value
130 * dump current flag setting
133 void do_smt_flag(struct s_smc *smc, char *flag, int value) in do_smt_flag() argument
145 if (!strcmp(flag,"smt")) in do_smt_flag()
147 else if (!strcmp(flag,"smtf")) in do_smt_flag()
149 else if (!strcmp(flag,"pcm")) in do_smt_flag()
151 else if (!strcmp(flag,"rmt")) in do_smt_flag()
153 else if (!strcmp(flag,"cfm")) in do_smt_flag()
[all …]

12345678910>>...129