Lines Matching refs:flags

26 	unsigned long flags;  member
33 return !!(READ_ONCE(housekeeping.flags) & BIT(type)); in housekeeping_enabled()
69 if (READ_ONCE(housekeeping.flags) & BIT(type)) in housekeeping_cpumask()
83 if (housekeeping.flags & BIT(type)) { in housekeeping_any_cpu()
107 if (housekeeping.flags & BIT(type)) in housekeeping_affine()
115 READ_ONCE(housekeeping.flags) & BIT(type)) in housekeeping_test_cpu()
136 if (!housekeeping.flags) in housekeeping_update()
139 if (housekeeping.flags & HK_FLAG_DOMAIN) in housekeeping_update()
142 WRITE_ONCE(housekeeping.flags, housekeeping.flags | HK_FLAG_DOMAIN); in housekeeping_update()
169 if (!housekeeping.flags) in housekeeping_init()
174 if (housekeeping.flags & HK_FLAG_KERNEL_NOISE) in housekeeping_init()
180 for_each_set_bit(type, &housekeeping.flags, HK_TYPE_MAX) { in housekeeping_init()
205 static int __init housekeeping_setup(char *str, unsigned long flags) in housekeeping_setup() argument
211 if ((flags & HK_FLAG_KERNEL_NOISE) && !(housekeeping.flags & HK_FLAG_KERNEL_NOISE)) { in housekeeping_setup()
233 if (!housekeeping.flags) { in housekeeping_setup()
242 if (!housekeeping.flags) { in housekeeping_setup()
246 for_each_set_bit(type, &flags, HK_TYPE_MAX) in housekeeping_setup()
251 unsigned long iter_flags = flags & housekeeping.flags; in housekeeping_setup()
267 iter_flags = housekeeping.flags & (HK_FLAG_KERNEL_NOISE | HK_FLAG_DOMAIN); in housekeeping_setup()
273 iter_flags = flags & (HK_FLAG_KERNEL_NOISE | HK_FLAG_DOMAIN); in housekeeping_setup()
284 iter_flags = flags & ~housekeeping.flags; in housekeeping_setup()
290 if ((flags & HK_FLAG_KERNEL_NOISE) && !(housekeeping.flags & HK_FLAG_KERNEL_NOISE)) in housekeeping_setup()
293 housekeeping.flags |= flags; in housekeeping_setup()
306 unsigned long flags; in housekeeping_nohz_full_setup() local
308 flags = HK_FLAG_KERNEL_NOISE; in housekeeping_nohz_full_setup()
310 return housekeeping_setup(str, flags); in housekeeping_nohz_full_setup()
316 unsigned long flags = 0; in housekeeping_isolcpus_setup() local
327 flags |= HK_FLAG_KERNEL_NOISE; in housekeeping_isolcpus_setup()
333 flags |= HK_FLAG_DOMAIN | HK_FLAG_DOMAIN_BOOT; in housekeeping_isolcpus_setup()
339 flags |= HK_FLAG_MANAGED_IRQ; in housekeeping_isolcpus_setup()
362 if (!flags) in housekeeping_isolcpus_setup()
363 flags |= HK_FLAG_DOMAIN | HK_FLAG_DOMAIN_BOOT; in housekeeping_isolcpus_setup()
365 return housekeeping_setup(str, flags); in housekeeping_isolcpus_setup()