Home
last modified time | relevance | path

Searched refs:masks (Results 1 – 3 of 3) sorted by relevance

/kernel/irq/
Daffinity.c29 struct irq_affinity_desc *masks = NULL; in irq_create_affinity_masks() local
59 masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL); in irq_create_affinity_masks()
60 if (!masks) in irq_create_affinity_masks()
65 cpumask_copy(&masks[curvec].mask, irq_default_affinity); in irq_create_affinity_masks()
77 kfree(masks); in irq_create_affinity_masks()
82 cpumask_copy(&masks[curvec + j].mask, &result[j]); in irq_create_affinity_masks()
95 cpumask_copy(&masks[curvec].mask, irq_default_affinity); in irq_create_affinity_masks()
99 masks[i].is_managed = 1; in irq_create_affinity_masks()
101 return masks; in irq_create_affinity_masks()
/kernel/sched/
Dtopology.c1806 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()
[all …]
/kernel/module/
Dmain.c1465 static unsigned long const masks[][2] = { in layout_sections() local
1483 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
1489 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
1490 || (s->sh_flags & masks[m][1]) in layout_sections()
1518 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
1523 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
1524 || (s->sh_flags & masks[m][1]) in layout_sections()