Lines Matching refs:flag
64 static __always_inline void set_cpu_flag(int flag)
66 set_bit(flag, &this_pcpu()->flags);
69 static __always_inline void clear_cpu_flag(int flag)
71 clear_bit(flag, &this_pcpu()->flags);
74 static __always_inline bool test_cpu_flag(int flag)
76 return test_bit(flag, &this_pcpu()->flags);
79 static __always_inline bool test_and_set_cpu_flag(int flag)
81 return test_and_set_bit(flag, &this_pcpu()->flags);
84 static __always_inline bool test_and_clear_cpu_flag(int flag)
86 return test_and_clear_bit(flag, &this_pcpu()->flags);
90 * Test CIF flag of another CPU. The caller needs to ensure that
93 static __always_inline bool test_cpu_flag_of(int flag, int cpu)
95 return test_bit(flag, &per_cpu(pcpu_devices, cpu).flags);