Home
last modified time | relevance | path

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

/kernel/irq/
Daffinity.c45 cpumask_var_t *masks; in alloc_node_to_cpumask() local
48 masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); in alloc_node_to_cpumask()
49 if (!masks) in alloc_node_to_cpumask()
53 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask()
57 return masks; in alloc_node_to_cpumask()
61 free_cpumask_var(masks[node]); in alloc_node_to_cpumask()
62 kfree(masks); in alloc_node_to_cpumask()
66 static void free_node_to_cpumask(cpumask_var_t *masks) in free_node_to_cpumask() argument
71 free_cpumask_var(masks[node]); in free_node_to_cpumask()
72 kfree(masks); in free_node_to_cpumask()
[all …]
/kernel/
Dmodule.c2422 static unsigned long const masks[][2] = { in layout_sections() local
2438 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
2443 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2444 || (s->sh_flags & masks[m][1]) in layout_sections()
2471 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
2476 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2477 || (s->sh_flags & masks[m][1]) in layout_sections()