Home
last modified time | relevance | path

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

/Linux-v5.4/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)
138 cpumask_clear(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
141 cpumask_copy(&node_affinity.real_cpu_mask, cpu_online_mask); in init_real_cpu_mask()
146 possible = cpumask_weight(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
148 cpumask_first(&node_affinity.real_cpu_mask))); in init_real_cpu_mask()
154 curr_cpu = cpumask_first(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
156 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
162 cpumask_clear_cpu(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
[all …]
Daffinity.h122 extern struct hfi1_affinity_node_list node_affinity;
Dpio.c2111 node_affinity.num_possible_nodes, in init_credit_return()
2148 for (i = 0; i < node_affinity.num_possible_nodes; i++) { in free_credit_return()
Dchip.c13285 n_usr_ctxts = cpumask_weight(&node_affinity.real_cpu_mask); in set_up_context_variables()