Lines Matching refs:flag
47 static __always_inline void set_cpu_flag(int flag) in set_cpu_flag() argument
49 S390_lowcore.cpu_flags |= (1UL << flag); in set_cpu_flag()
52 static __always_inline void clear_cpu_flag(int flag) in clear_cpu_flag() argument
54 S390_lowcore.cpu_flags &= ~(1UL << flag); in clear_cpu_flag()
57 static __always_inline bool test_cpu_flag(int flag) in test_cpu_flag() argument
59 return S390_lowcore.cpu_flags & (1UL << flag); in test_cpu_flag()
62 static __always_inline bool test_and_set_cpu_flag(int flag) in test_and_set_cpu_flag() argument
64 if (test_cpu_flag(flag)) in test_and_set_cpu_flag()
66 set_cpu_flag(flag); in test_and_set_cpu_flag()
70 static __always_inline bool test_and_clear_cpu_flag(int flag) in test_and_clear_cpu_flag() argument
72 if (!test_cpu_flag(flag)) in test_and_clear_cpu_flag()
74 clear_cpu_flag(flag); in test_and_clear_cpu_flag()
82 static __always_inline bool test_cpu_flag_of(int flag, int cpu) in test_cpu_flag_of() argument
86 return lc->cpu_flags & (1UL << flag); in test_cpu_flag_of()