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()
59 if (housekeeping.flags & BIT(type)) in housekeeping_cpumask()
68 if (housekeeping.flags & BIT(type)) in housekeeping_affine()
76 if (housekeeping.flags & BIT(type)) in housekeeping_test_cpu()
86 if (!housekeeping.flags) in housekeeping_init()
91 if (housekeeping.flags & HK_FLAG_TICK) in housekeeping_init()
94 for_each_set_bit(type, &housekeeping.flags, HK_TYPE_MAX) { in housekeeping_init()
109 static int __init housekeeping_setup(char *str, unsigned long flags) in housekeeping_setup() argument
114 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK)) { in housekeeping_setup()
135 if (!housekeeping.flags) { in housekeeping_setup()
141 if (!housekeeping.flags) { in housekeeping_setup()
145 for_each_set_bit(type, &flags, HK_TYPE_MAX) in housekeeping_setup()
150 unsigned long iter_flags = flags & housekeeping.flags; in housekeeping_setup()
160 iter_flags = flags & ~housekeeping.flags; in housekeeping_setup()
166 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK)) in housekeeping_setup()
169 housekeeping.flags |= flags; in housekeeping_setup()
182 unsigned long flags; in housekeeping_nohz_full_setup() local
184 flags = HK_FLAG_TICK | HK_FLAG_WQ | HK_FLAG_TIMER | HK_FLAG_RCU | in housekeeping_nohz_full_setup()
187 return housekeeping_setup(str, flags); in housekeeping_nohz_full_setup()
193 unsigned long flags = 0; in housekeeping_isolcpus_setup() local
201 flags |= HK_FLAG_TICK; in housekeeping_isolcpus_setup()
207 flags |= HK_FLAG_DOMAIN; in housekeeping_isolcpus_setup()
213 flags |= HK_FLAG_MANAGED_IRQ; in housekeeping_isolcpus_setup()
236 if (!flags) in housekeeping_isolcpus_setup()
237 flags |= HK_FLAG_DOMAIN; in housekeeping_isolcpus_setup()
239 return housekeeping_setup(str, flags); in housekeeping_isolcpus_setup()