Name

for_each_flag_domain — Iterates over sched_domains containing the flag.

Synopsis

fsfuncfor_each_flag_domain ( cpu,
  sd,
  flag);
 

Arguments

cpu

The cpu whose domains we're iterating over.

sd

variable holding the value of the power_savings_sd for cpu.

flag

The flag to filter the sched_domains to be iterated.

Description

Iterates over all the scheduler domains for a given cpu that has the 'flag' set, starting from the lowest sched_domain to the highest.