Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 2124) sorted by relevance

12345678910>>...85

/linux-6.15/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()
78 long flag; in TEST() local
84 flag = PR_RISCV_V_VSTATE_CTRL_OFF; in TEST()
94 long flag; in TEST() local
112 long flag; in TEST() local
130 long flag, expected; in TEST() local
142 flag |= PR_RISCV_V_VSTATE_CTRL_INHERIT; in TEST()
150 long flag, expected; in TEST() local
170 long flag, expected; in TEST() local
[all …]
/linux-6.15/include/linux/
H A Dkbd_kern.h74 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()
84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()
89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()
94 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode()
99 kbd->ledflagstate &= ~(1 << flag); in clr_vc_kbd_led()
104 kbd->lockstate ^= 1 << flag; in chg_vc_kbd_lock()
109 kbd->slockstate ^= 1 << flag; in chg_vc_kbd_slock()
114 kbd->modeflags ^= 1 << flag; in chg_vc_kbd_mode()
[all …]
H A Dthread_info.h97 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag()
102 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag()
109 set_ti_thread_flag(ti, flag); in update_ti_thread_flag()
111 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag()
138 #define set_thread_flag(flag) \ argument
139 set_ti_thread_flag(current_thread_info(), flag)
140 #define clear_thread_flag(flag) \ argument
142 #define update_thread_flag(flag, value) \ argument
144 #define test_and_set_thread_flag(flag) \ argument
146 #define test_and_clear_thread_flag(flag) \ argument
[all …]
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.h65 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
69 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
78 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
82 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
86 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
94 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
98 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
102 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
134 int atomisp_3a_stat(struct atomisp_sub_device *asd, int flag,
141 int atomisp_param(struct atomisp_sub_device *asd, int flag,
[all …]
/linux-6.15/fs/btrfs/
H A Dfs.c149 features |= flag; in __btrfs_set_fs_incompat()
153 name, flag); in __btrfs_set_fs_incompat()
168 if (features & flag) { in __btrfs_clear_fs_incompat()
171 if (features & flag) { in __btrfs_clear_fs_incompat()
172 features &= ~flag; in __btrfs_clear_fs_incompat()
176 name, flag); in __btrfs_clear_fs_incompat()
195 features |= flag; in __btrfs_set_fs_compat_ro()
199 name, flag); in __btrfs_set_fs_compat_ro()
214 if (features & flag) { in __btrfs_clear_fs_compat_ro()
218 features &= ~flag; in __btrfs_clear_fs_compat_ro()
[all …]
/linux-6.15/tools/testing/selftests/kvm/lib/
H A Dtest_util.c206 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
210 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
214 .flag = ANON_HUGE_FLAGS, in vm_mem_backing_src_alias()
230 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB, in vm_mem_backing_src_alias()
234 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB, in vm_mem_backing_src_alias()
238 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB, in vm_mem_backing_src_alias()
270 .flag = MAP_SHARED, in vm_mem_backing_src_alias()
280 .flag = MAP_SHARED, in vm_mem_backing_src_alias()
295 uint32_t flag = vm_mem_backing_src_alias(i)->flag; in get_backing_src_pagesz() local
307 return MAP_HUGE_PAGE_SIZE(flag); in get_backing_src_pagesz()
[all …]
/linux-6.15/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);
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));
H A Diowait.c12 void iowait_set_flag(struct iowait *wait, u32 flag) in iowait_set_flag() argument
14 trace_hfi1_iowait_set(wait, flag); in iowait_set_flag()
15 set_bit(flag, &wait->flags); in iowait_set_flag()
18 bool iowait_flag_set(struct iowait *wait, u32 flag) in iowait_flag_set() argument
20 return test_bit(flag, &wait->flags); in iowait_flag_set()
23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) in iowait_clear_flag() argument
25 trace_hfi1_iowait_clear(wait, flag); in iowait_clear_flag()
26 clear_bit(flag, &wait->flags); in iowait_clear_flag()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_priv.h151 set_bit(flag, &flow->flags); in __flow_flag_set()
154 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
157 unsigned long flag) in __flow_flag_test_and_set() argument
160 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set()
163 #define flow_flag_test_and_set(flow, flag) \ argument
165 MLX5E_TC_FLOW_FLAG_##flag)
171 clear_bit(flag, &flow->flags); in __flow_flag_clear()
175 MLX5E_TC_FLOW_FLAG_##flag)
179 bool ret = test_bit(flag, &flow->flags); in __flow_flag_test()
186 #define flow_flag_test(flow, flag) __flow_flag_test(flow, \ argument
[all …]
/linux-6.15/drivers/isdn/mISDN/
H A Dlayer2.c308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr()
374 if (test_bit(FLG_MOD128, &l2->flag)) in cansend()
396 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr()
403 if (test_bit(FLG_ORIG, &l2->flag)) in sethdraddr()
507 if (test_bit(FLG_ORIG, &l2->flag)) in iframe_error()
531 if (test_bit(FLG_ORIG, &l2->flag)) in unnum_error()
544 if (test_bit(FLG_ORIG, &l2->flag)) in UI_error()
560 if (test_bit(FLG_ORIG, &l2->flag)) in FRMR_error()
691 if (test_bit(FLG_LAPB, &l2->flag)) in lapb_dl_release_l2l3()
1191 if (test_bit(FLG_ORIG, &l2->flag)) in l2_st7_got_super()
[all …]
/linux-6.15/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-6.15/arch/powerpc/mm/ptdump/
H A Dptdump.c139 *flag, u64 pte, int num) 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()
157 if ((pte & flag->mask) == flag->val) in dump_flag_info()
158 s = flag->set; in dump_flag_info()
160 s = flag->clear; in dump_flag_info()
206 st->current_flags = flag; in note_page_update_state()
[all …]
/linux-6.15/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()
714 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
718 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
739 u32 flag) in iscsit_ta_demo_mode_write_protect() argument
743 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_write_protect()
761 if ((flag != 0) && (flag != 1)) { in iscsit_ta_prod_mode_write_protect()
780 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_discovery()
816 if ((flag != 0) && (flag != 1)) { in iscsit_ta_t10_pi()
853 if ((flag != 0) && (flag != 1)) { in iscsit_ta_tpg_enabled_sendtargets()
[all …]
/linux-6.15/net/ipv4/
H A Dtcp_lp.c78 u32 flag; member
101 lp->flag = 0; in tcp_lp_init()
169 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
171 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
208 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator()
210 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator()
233 if (!(lp->flag & LP_VALID_RHZ) || !(lp->flag & LP_VALID_OWD)) in tcp_lp_rtt_sample()
288 lp->flag |= LP_WITHIN_INF; in tcp_lp_pkts_acked()
290 lp->flag &= ~LP_WITHIN_INF; in tcp_lp_pkts_acked()
295 lp->flag |= LP_WITHIN_THR; in tcp_lp_pkts_acked()
[all …]
/linux-6.15/fs/jfs/
H A Djfs_txnmgr.c367 if (!(flag & COMMIT_FORCE)) { in txBegin()
378 if (flag == 0) { in txBegin()
699 tlck->flag = tlckPAGELOCK; in txLock()
717 tlck->flag = tlckINODELOCK; in txLock()
1009 tlck->flag = tlckINODELOCK; in txMaplock()
1130 int flag) in txCommit() argument
1168 tblk->xflag |= flag; in txCommit()
1314 if (flag & COMMIT_FORCE) in txCommit()
1385 tlck->flag |= tlckLOG; in txLog()
1743 p->xad[lwm + i].flag &= in xtLog()
[all …]
H A Dsuper.c240 int flag; member
342 ctx->flag |= JFS_DISCARD; in jfs_parse_param()
367 int flag = ctx->flag; in jfs_reconfigure() local
373 JFS_SBI(sb)->flag = ctx->flag; in jfs_reconfigure()
408 JFS_SBI(sb)->flag = flag; in jfs_reconfigure()
422 JFS_SBI(sb)->flag = flag; in jfs_reconfigure()
425 if ((JFS_SBI(sb)->flag & JFS_NOINTEGRITY) != (flag & JFS_NOINTEGRITY)) { in jfs_reconfigure()
431 JFS_SBI(sb)->flag = flag; in jfs_reconfigure()
436 JFS_SBI(sb)->flag = flag; in jfs_reconfigure()
463 sbi->flag = ctx->flag; in jfs_fill_super()
[all …]
/linux-6.15/fs/f2fs/
H A Dnode.h103 ne->ni.flag |= BIT(type); in set_nat_flag()
105 ne->ni.flag &= ~BIT(type); in set_nat_flag()
110 return ne->ni.flag & BIT(type); in get_nat_flag()
261 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
412 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local
417 flag |= BIT(COLD_BIT_SHIFT); in set_cold_node()
418 rn->footer.flag = cpu_to_le32(flag); in set_cold_node()
424 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_mark() local
426 flag |= BIT(type); in set_mark()
428 flag &= ~BIT(type); in set_mark()
[all …]
/linux-6.15/Documentation/netlink/specs/
H A Dnl80211.yaml335 type: flag
426 type: flag
490 type: flag
505 type: flag
515 type: flag
521 type: flag
524 type: flag
587 type: flag
596 type: flag
619 type: flag
[all …]
/linux-6.15/lib/raid6/
H A Dx86.h57 static inline int boot_cpu_has(int flag) in boot_cpu_has() argument
61 eax = (flag & 0x100) ? 7 : in boot_cpu_has()
62 (flag & 0x20) ? 0x80000001 : 1; in boot_cpu_has()
68 return ((flag & 0x100 ? ebx : in boot_cpu_has()
69 (flag & 0x80) ? ecx : edx) >> (flag & 31)) & 1; in boot_cpu_has()
/linux-6.15/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-6.15/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller-common.yaml30 $ref: /schemas/types.yaml#/definitions/flag
40 $ref: /schemas/types.yaml#/definitions/flag
64 $ref: /schemas/types.yaml#/definitions/flag
69 $ref: /schemas/types.yaml#/definitions/flag
97 $ref: /schemas/types.yaml#/definitions/flag
117 $ref: /schemas/types.yaml#/definitions/flag
123 $ref: /schemas/types.yaml#/definitions/flag
128 $ref: /schemas/types.yaml#/definitions/flag
133 $ref: /schemas/types.yaml#/definitions/flag
138 $ref: /schemas/types.yaml#/definitions/flag
[all …]
/linux-6.15/fs/smb/client/compress/
H A Dlz77.c137 long flag = 0; in lz77_compress() local
171 flag <<= 1; in lz77_compress()
174 lz77_write32(flag_pos, flag); in lz77_compress()
195 flag = (flag << 1) | 1; in lz77_compress()
198 lz77_write32(flag_pos, flag); in lz77_compress()
213 flag <<= c; in lz77_compress()
216 lz77_write32(flag_pos, flag); in lz77_compress()
223 flag <<= (32 - flag_count); in lz77_compress()
224 flag |= (1 << (32 - flag_count)) - 1; in lz77_compress()
225 lz77_write32(flag_pos, flag); in lz77_compress()
/linux-6.15/arch/sh/kernel/cpu/sh4/
H A Dsoftfloat.c44 typedef char flag; typedef
362 flag roundNearestEven; in roundAndPackFloat32()
364 flag isTiny; in roundAndPackFloat32()
413 flag roundNearestEven; in roundAndPackFloat64()
415 flag isTiny; in roundAndPackFloat64()
575 flag aSign, bSign; in float64_sub()
589 flag aSign, bSign; in float32_sub()
603 flag aSign, bSign; in float32_add()
617 flag aSign, bSign; in float64_add()
718 flag aSign, bSign, zSign; in float64_div()
[all …]
/linux-6.15/init/
H A DMakefile27 smp-flag-$(CONFIG_SMP) := SMP
28 preempt-flag-$(CONFIG_PREEMPT_BUILD) := PREEMPT
29 preempt-flag-$(CONFIG_PREEMPT_DYNAMIC) := PREEMPT_DYNAMIC
30 preempt-flag-$(CONFIG_PREEMPT_RT) := PREEMPT_RT
37 …utsver=$$(echo '$(pound)'"$(build-version)" $(smp-flag-y) $(preempt-flag-y) "$(build-timestamp)" |…

12345678910>>...85