Home
last modified time | relevance | path

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

12345678910>>...62

/linux/include/linux/
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 …]
A Dthread_info.h89 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag()
94 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag()
101 set_ti_thread_flag(ti, flag); in update_ti_thread_flag()
103 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag()
121 #define set_thread_flag(flag) \ argument
122 set_ti_thread_flag(current_thread_info(), flag)
123 #define clear_thread_flag(flag) \ argument
125 #define update_thread_flag(flag, value) \ argument
127 #define test_and_set_thread_flag(flag) \ argument
129 #define test_and_clear_thread_flag(flag) \ argument
[all …]
/linux/include/trace/events/
A 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
73 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << 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
91 #define IF_HAVE_PG_SKIP_KASAN_POISON(flag,string) ,{1UL << flag, string} argument
144 #define IF_HAVE_VM_SOFTDIRTY(flag,name) {flag, name }, argument
[all …]
/linux/tools/testing/selftests/kvm/lib/
A 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()
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()
245 .flag = MAP_SHARED, in vm_mem_backing_src_alias()
255 .flag = MAP_SHARED, in vm_mem_backing_src_alias()
270 uint32_t flag = vm_mem_backing_src_alias(i)->flag; in get_backing_src_pagesz() local
282 return MAP_HUGE_PAGE_SIZE(flag); in get_backing_src_pagesz()
[all …]
/linux/drivers/staging/media/atomisp/pci/
A 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,
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,
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,
165 int atomisp_3a_stat(struct atomisp_sub_device *asd, int flag,
179 int atomisp_param(struct atomisp_sub_device *asd, int flag,
[all …]
/linux/drivers/isdn/mISDN/
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/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_priv.h124 set_bit(flag, &flow->flags); in __flow_flag_set()
127 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
130 unsigned long flag) in __flow_flag_test_and_set() argument
133 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set()
136 #define flow_flag_test_and_set(flow, flag) \ argument
138 MLX5E_TC_FLOW_FLAG_##flag)
144 clear_bit(flag, &flow->flags); in __flow_flag_clear()
148 MLX5E_TC_FLOW_FLAG_##flag)
152 bool ret = test_bit(flag, &flow->flags); in __flow_flag_test()
159 #define flow_flag_test(flow, flag) __flow_flag_test(flow, \ argument
[all …]
/linux/drivers/target/iscsi/
A 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()
743 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
747 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
768 u32 flag) in iscsit_ta_demo_mode_write_protect() argument
772 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_write_protect()
790 if ((flag != 0) && (flag != 1)) { in iscsit_ta_prod_mode_write_protect()
809 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_discovery()
845 if ((flag != 0) && (flag != 1)) { in iscsit_ta_t10_pi()
882 if ((flag != 0) && (flag != 1)) { in iscsit_ta_tpg_enabled_sendtargets()
[all …]
/linux/arch/powerpc/mm/ptdump/
A Dptdump.c138 *flag, u64 pte, int num) 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()
156 if ((pte & flag->mask) == flag->val) in dump_flag_info()
157 s = flag->set; in dump_flag_info()
159 s = flag->clear; in dump_flag_info()
204 st->current_flags = flag; in note_page_update_state()
[all …]
/linux/drivers/infiniband/hw/hfi1/
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));
/linux/net/ipv4/
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/fs/jfs/
A Dsuper.c234 int *flag) in parse_options() argument
320 *flag |= JFS_USRQUOTA; in parse_options()
323 *flag |= JFS_GRPQUOTA; in parse_options()
383 *flag |= JFS_DISCARD; in parse_options()
433 int flag = JFS_SBI(sb)->flag; in jfs_remount() local
457 JFS_SBI(sb)->flag = flag; in jfs_remount()
471 JFS_SBI(sb)->flag = flag; in jfs_remount()
474 if ((JFS_SBI(sb)->flag & JFS_NOINTEGRITY) != (flag & JFS_NOINTEGRITY)) in jfs_remount()
480 JFS_SBI(sb)->flag = flag; in jfs_remount()
484 JFS_SBI(sb)->flag = flag; in jfs_remount()
[all …]
A Djfs_txnmgr.c362 if (!(flag & COMMIT_FORCE)) { in txBegin()
373 if (flag == 0) { in txBegin()
694 tlck->flag = tlckPAGELOCK; in txLock()
712 tlck->flag = tlckINODELOCK; in txLock()
1004 tlck->flag = tlckINODELOCK; in txMaplock()
1125 int flag) in txCommit() argument
1163 tblk->xflag |= flag; in txCommit()
1309 if (flag & COMMIT_FORCE) in txCommit()
1380 tlck->flag |= tlckLOG; in txLog()
1772 p->xad[lwm + i].flag &= in xtLog()
[all …]
A Dxattr.c166 ea->flag = DXD_INLINE; in ea_write_inline()
169 ea->flag = 0; in ea_write_inline()
287 ea->flag = DXD_EXTENT; in ea_write()
438 if (ji->ea.flag == 0) in ea_get()
443 ea_buf->flag = 0; in ea_get()
462 ea_buf->flag = EA_INLINE; in ea_get()
491 ea_buf->flag = EA_MALLOC; in ea_get()
546 ea_buf->flag = EA_EXTENT; in ea_get()
586 if (ea_buf->flag & EA_NEW) in ea_release()
642 ji->ea.flag = 0; in ea_put()
[all …]
A Djfs_logmgr.c517 tblk->flag = tblkGC_QUEUE; in lmWriteRecord()
598 tblk->flag |= tblkGC_EOP; in lmNextPage()
683 tblk->flag |= tblkGC_LAZY; in lmGroupCommit()
719 tblk->flag |= tblkGC_READY; in lmGroupCommit()
781 tblk->flag &= ~tblkGC_EOP; in lmGCwrite()
782 tblk->flag |= tblkGC_FREE; in lmGCwrite()
847 tblk->flag); in lmPostGC()
2040 bp->l_flag = flag; in lbmWrite()
2075 else if (flag & lbmSYNC) in lbmWrite()
2094 bp, flag, bp->l_pn); in lbmDirectWrite()
[all …]
/linux/fs/f2fs/
A Dnode.h95 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()
254 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
255 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
405 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local
411 rn->footer.flag = cpu_to_le32(flag); in set_cold_node()
417 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_mark() local
419 flag |= (0x1 << type); in set_mark()
421 flag &= ~(0x1 << type); in set_mark()
[all …]
/linux/fs/ntfs/
A Dinode.h168 #define NINO_FNS(flag) \ argument
169 static inline int NIno##flag(ntfs_inode *ni) \
171 return test_bit(NI_##flag, &(ni)->state); \
173 static inline void NInoSet##flag(ntfs_inode *ni) \
175 set_bit(NI_##flag, &(ni)->state); \
177 static inline void NInoClear##flag(ntfs_inode *ni) \
179 clear_bit(NI_##flag, &(ni)->state); \
185 #define TAS_NINO_FNS(flag) \ argument
186 static inline int NInoTestSet##flag(ntfs_inode *ni) \
188 return test_and_set_bit(NI_##flag, &(ni)->state); \
[all …]
/linux/Documentation/devicetree/bindings/mmc/
A Dmmc-controller.yaml38 $ref: /schemas/types.yaml#/definitions/flag
48 $ref: /schemas/types.yaml#/definitions/flag
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
134 $ref: /schemas/types.yaml#/definitions/flag
139 $ref: /schemas/types.yaml#/definitions/flag
[all …]
/linux/arch/sh/kernel/cpu/sh4/
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/net/mac80211/
A Dsta_info.h695 WARN_ON(flag == WLAN_STA_AUTH || in set_sta_flag()
696 flag == WLAN_STA_ASSOC || in set_sta_flag()
697 flag == WLAN_STA_AUTHORIZED); in set_sta_flag()
698 set_bit(flag, &sta->_flags); in set_sta_flag()
705 flag == WLAN_STA_ASSOC || in clear_sta_flag()
706 flag == WLAN_STA_AUTHORIZED); in clear_sta_flag()
707 clear_bit(flag, &sta->_flags); in clear_sta_flag()
720 flag == WLAN_STA_ASSOC || in test_and_clear_sta_flag()
721 flag == WLAN_STA_AUTHORIZED); in test_and_clear_sta_flag()
729 flag == WLAN_STA_ASSOC || in test_and_set_sta_flag()
[all …]
/linux/scripts/coccinelle/api/
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/arm/nwfpe/
A Dsoftfloat.c222 flag isTiny; in roundAndPackFloat32()
393 flag isTiny; in roundAndPackFloat64()
764 flag zSign; in int32_to_float32()
782 flag aSign; in int32_to_float64()
808 flag zSign; in int32_to_floatx80()
837 flag aSign; in float32_to_int32()
868 flag aSign; in float32_to_int32_round_to_zero()
906 flag aSign; in float32_to_float64()
938 flag aSign; in float32_to_floatx80()
970 flag aSign; in float32_round_to_int()
[all …]
A Dsoftfloat.h229 extern flag floatx80_is_nan(floatx80);
233 static inline flag extractFloat32Sign(float32 a) in extractFloat32Sign()
238 static inline flag float32_eq_nocheck(float32 a, float32 b) in float32_eq_nocheck()
243 static inline flag float32_lt_nocheck(float32 a, float32 b) in float32_lt_nocheck()
245 flag aSign, bSign; in float32_lt_nocheck()
254 static inline flag extractFloat64Sign(float64 a) in extractFloat64Sign()
259 static inline flag float64_eq_nocheck(float64 a, float64 b) in float64_eq_nocheck()
264 static inline flag float64_lt_nocheck(float64 a, float64 b) in float64_lt_nocheck()
266 flag aSign, bSign; in float64_lt_nocheck()
275 extern flag float32_is_nan( float32 a );
[all …]
/linux/lib/raid6/
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/arch/s390/include/asm/
A Dptrace.h150 static inline void set_pt_regs_flag(struct pt_regs *regs, int flag) in set_pt_regs_flag() argument
152 regs->flags |= (1UL << flag); in set_pt_regs_flag()
155 static inline void clear_pt_regs_flag(struct pt_regs *regs, int flag) in clear_pt_regs_flag() argument
157 regs->flags &= ~(1UL << flag); in clear_pt_regs_flag()
160 static inline int test_pt_regs_flag(struct pt_regs *regs, int flag) in test_pt_regs_flag() argument
162 return !!(regs->flags & (1UL << flag)); in test_pt_regs_flag()
165 static inline int test_and_clear_pt_regs_flag(struct pt_regs *regs, int flag) in test_and_clear_pt_regs_flag() argument
167 int ret = test_pt_regs_flag(regs, flag); in test_and_clear_pt_regs_flag()
169 clear_pt_regs_flag(regs, flag); in test_and_clear_pt_regs_flag()

Completed in 78 milliseconds

12345678910>>...62