Lines Matching refs:masks
1806 struct cpumask ***masks; in sched_init_numa() local
1868 masks = kzalloc(sizeof(void *) * nr_levels, GFP_KERNEL); in sched_init_numa()
1869 if (!masks) in sched_init_numa()
1877 masks[i] = kzalloc(nr_node_ids * sizeof(void *), GFP_KERNEL); in sched_init_numa()
1878 if (!masks[i]) in sched_init_numa()
1888 masks[i][j] = mask; in sched_init_numa()
1901 rcu_assign_pointer(sched_domains_numa_masks, masks); in sched_init_numa()
1952 struct cpumask ***masks; in sched_reset_numa() local
1960 masks = sched_domains_numa_masks; in sched_reset_numa()
1962 if (distances || masks) { in sched_reset_numa()
1967 for (i = 0; i < nr_levels && masks; i++) { in sched_reset_numa()
1968 if (!masks[i]) in sched_reset_numa()
1971 kfree(masks[i][j]); in sched_reset_numa()
1972 kfree(masks[i]); in sched_reset_numa()
1974 kfree(masks); in sched_reset_numa()
2042 struct cpumask ***masks; in sched_numa_find_closest() local
2045 masks = rcu_dereference(sched_domains_numa_masks); in sched_numa_find_closest()
2046 if (!masks) in sched_numa_find_closest()
2049 if (!masks[i][j]) in sched_numa_find_closest()
2051 cpu = cpumask_any_and(cpus, masks[i][j]); in sched_numa_find_closest()