Lines Matching defs:flag
66 static __always_inline void set_cpu_flag(int flag)
68 set_bit(flag, &this_pcpu()->flags);
71 static __always_inline void clear_cpu_flag(int flag)
73 clear_bit(flag, &this_pcpu()->flags);
76 static __always_inline bool test_cpu_flag(int flag)
78 return test_bit(flag, &this_pcpu()->flags);
81 static __always_inline bool test_and_set_cpu_flag(int flag)
83 return test_and_set_bit(flag, &this_pcpu()->flags);
86 static __always_inline bool test_and_clear_cpu_flag(int flag)
88 return test_and_clear_bit(flag, &this_pcpu()->flags);
92 * Test CIF flag of another CPU. The caller needs to ensure that
95 static __always_inline bool test_cpu_flag_of(int flag, int cpu)
97 return test_bit(flag, &per_cpu(pcpu_devices, cpu).flags);