Lines Matching full:flags
22 unsigned long flags; member
29 return !!(housekeeping.flags & BIT(type)); in housekeeping_enabled()
38 if (housekeeping.flags & BIT(type)) { in housekeeping_any_cpu()
62 if (housekeeping.flags & BIT(type)) in housekeeping_cpumask()
71 if (housekeeping.flags & BIT(type)) in housekeeping_affine()
79 if (housekeeping.flags & BIT(type)) in housekeeping_test_cpu()
89 if (!housekeeping.flags) in housekeeping_init()
94 if (housekeeping.flags & HK_FLAG_KERNEL_NOISE) in housekeeping_init()
97 for_each_set_bit(type, &housekeeping.flags, HK_TYPE_MAX) { in housekeeping_init()
112 static int __init housekeeping_setup(char *str, unsigned long flags) in housekeeping_setup() argument
118 if ((flags & HK_FLAG_KERNEL_NOISE) && !(housekeeping.flags & HK_FLAG_KERNEL_NOISE)) { in housekeeping_setup()
140 if (!housekeeping.flags) { in housekeeping_setup()
149 if (!housekeeping.flags) { in housekeeping_setup()
153 for_each_set_bit(type, &flags, HK_TYPE_MAX) in housekeeping_setup()
158 unsigned long iter_flags = flags & housekeeping.flags; in housekeeping_setup()
168 iter_flags = flags & ~housekeeping.flags; in housekeeping_setup()
174 if ((flags & HK_FLAG_KERNEL_NOISE) && !(housekeeping.flags & HK_FLAG_KERNEL_NOISE)) in housekeeping_setup()
177 housekeeping.flags |= flags; in housekeeping_setup()
190 unsigned long flags; in housekeeping_nohz_full_setup() local
192 flags = HK_FLAG_KERNEL_NOISE; in housekeeping_nohz_full_setup()
194 return housekeeping_setup(str, flags); in housekeeping_nohz_full_setup()
200 unsigned long flags = 0; in housekeeping_isolcpus_setup() local
211 flags |= HK_FLAG_KERNEL_NOISE; in housekeeping_isolcpus_setup()
217 flags |= HK_FLAG_DOMAIN; in housekeeping_isolcpus_setup()
223 flags |= HK_FLAG_MANAGED_IRQ; in housekeeping_isolcpus_setup()
245 /* Default behaviour for isolcpus without flags */ in housekeeping_isolcpus_setup()
246 if (!flags) in housekeeping_isolcpus_setup()
247 flags |= HK_FLAG_DOMAIN; in housekeeping_isolcpus_setup()
249 return housekeeping_setup(str, flags); in housekeeping_isolcpus_setup()