Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Daffinity.c16 struct hfi1_affinity_node_list node_affinity = { variable
17 .list = LIST_HEAD_INIT(node_affinity.list),
18 .lock = __MUTEX_INITIALIZER(node_affinity.lock)
97 cpumask_clear(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
100 cpumask_copy(&node_affinity.real_cpu_mask, cpu_online_mask); in init_real_cpu_mask()
105 possible = cpumask_weight(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
107 cpumask_first(&node_affinity.real_cpu_mask))); in init_real_cpu_mask()
113 curr_cpu = cpumask_first(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
115 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
121 cpumask_clear_cpu(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
[all …]
H A Daffinity.h82 extern struct hfi1_affinity_node_list node_affinity;
H A Dpio.c2068 node_affinity.num_possible_nodes, in init_credit_return()
2109 for (i = 0; i < node_affinity.num_possible_nodes; i++) { in free_credit_return()
H A Dchip.c13407 n_usr_ctxts = cpumask_weight(&node_affinity.real_cpu_mask); in set_up_context_variables()
13425 &node_affinity.real_cpu_mask); in set_up_context_variables()