Lines Matching refs:flags
28 unsigned long flags; member
35 return !!(housekeeping.flags & BIT(type)); in housekeeping_enabled()
44 if (housekeeping.flags & BIT(type)) { in housekeeping_any_cpu()
68 if (housekeeping.flags & BIT(type)) in housekeeping_cpumask()
77 if (housekeeping.flags & BIT(type)) in housekeeping_affine()
85 if (housekeeping.flags & BIT(type)) in housekeeping_test_cpu()
95 if (!housekeeping.flags) in housekeeping_init()
100 if (housekeeping.flags & HK_FLAG_TICK) in housekeeping_init()
103 for_each_set_bit(type, &housekeeping.flags, HK_TYPE_MAX) { in housekeeping_init()
118 static int __init housekeeping_setup(char *str, unsigned long flags) in housekeeping_setup() argument
124 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK)) { in housekeeping_setup()
146 if (!housekeeping.flags) { in housekeeping_setup()
155 if (!housekeeping.flags) { in housekeeping_setup()
159 for_each_set_bit(type, &flags, HK_TYPE_MAX) in housekeeping_setup()
164 unsigned long iter_flags = flags & housekeeping.flags; in housekeeping_setup()
174 iter_flags = flags & ~housekeeping.flags; in housekeeping_setup()
180 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK)) in housekeeping_setup()
183 housekeeping.flags |= flags; in housekeeping_setup()
196 unsigned long flags; in housekeeping_nohz_full_setup() local
198 flags = HK_FLAG_TICK | HK_FLAG_WQ | HK_FLAG_TIMER | HK_FLAG_RCU | in housekeeping_nohz_full_setup()
201 return housekeeping_setup(str, flags); in housekeeping_nohz_full_setup()
207 unsigned long flags = 0; in housekeeping_isolcpus_setup() local
215 flags |= HK_FLAG_TICK; in housekeeping_isolcpus_setup()
221 flags |= HK_FLAG_DOMAIN; in housekeeping_isolcpus_setup()
227 flags |= HK_FLAG_MANAGED_IRQ; in housekeeping_isolcpus_setup()
250 if (!flags) in housekeeping_isolcpus_setup()
251 flags |= HK_FLAG_DOMAIN; in housekeeping_isolcpus_setup()
253 return housekeeping_setup(str, flags); in housekeeping_isolcpus_setup()