Lines Matching defs:childmask

434  * Returns true, when @childmask corresponds to the group migrator or when the
437 static bool tmigr_check_migrator(struct tmigr_group *group, u8 childmask)
443 if ((s.migrator == childmask) || (s.migrator == TMIGR_NONE))
449 static bool tmigr_check_migrator_and_lonely(struct tmigr_group *group, u8 childmask)
457 if ((s.migrator == childmask) || (s.migrator == TMIGR_NONE))
513 * @childmask: childmask of child group
521 u8 childmask;
533 * @childmask: childmask of child group
546 u8 childmask;
626 u8 childmask;
628 childmask = data->childmask;
641 newstate.migrator = childmask;
647 newstate.active |= childmask;
653 data->childmask = group->childmask;
669 trace_tmigr_group_set_cpu_active(group, newstate, childmask);
678 data.childmask = tmc->childmask;
1003 u8 childmask;
1009 childmask = data->childmask;
1014 * Handle the group only if @childmask is the migrator or if the
1018 if (!tmigr_check_migrator(group, childmask))
1037 * Update of childmask for the next level and keep track of the expiry
1042 data->childmask = group->childmask;
1063 data.childmask = tmc->childmask;
1071 if (!tmigr_check_migrator(tmc->tmgroup, tmc->childmask)) {
1103 u8 childmask;
1105 childmask = data->childmask;
1112 if (!tmigr_check_migrator(group, childmask))
1147 /* Update of childmask for the next level */
1148 data->childmask = group->childmask;
1168 data.childmask = tmc->childmask;
1253 u8 childmask;
1255 childmask = data->childmask;
1275 newstate.active &= ~childmask;
1277 if (newstate.migrator == childmask) {
1321 data->childmask = group->childmask;
1334 trace_tmigr_group_set_cpu_inactive(group, newstate, childmask);
1344 .childmask = tmc->childmask };
1422 if (!tmigr_check_migrator_and_lonely(tmc->tmgroup, tmc->childmask))
1525 child->childmask = BIT(parent->num_children++);
1552 data.childmask = child->childmask;
1619 tmc->childmask = BIT(group->num_children++);
1680 if (tmc->childmask == 0)