Home
last modified time | relevance | path

Searched refs:node_affinity (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/hw/hfi1/
Daffinity.c58 struct hfi1_affinity_node_list node_affinity = { variable
59 .list = LIST_HEAD_INIT(node_affinity.list),
60 .lock = __MUTEX_INITIALIZER(node_affinity.lock)
139 cpumask_clear(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
142 cpumask_copy(&node_affinity.real_cpu_mask, cpu_online_mask); in init_real_cpu_mask()
147 possible = cpumask_weight(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
149 cpumask_first(&node_affinity.real_cpu_mask))); in init_real_cpu_mask()
155 curr_cpu = cpumask_first(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
157 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
163 cpumask_clear_cpu(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
[all …]
Daffinity.h123 extern struct hfi1_affinity_node_list node_affinity;
Dpio.c2113 node_affinity.num_possible_nodes, in init_credit_return()
2154 for (i = 0; i < node_affinity.num_possible_nodes; i++) { in free_credit_return()
Dchip.c13445 n_usr_ctxts = cpumask_weight(&node_affinity.real_cpu_mask); in set_up_context_variables()
13463 &node_affinity.real_cpu_mask); in set_up_context_variables()