Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Daffinity.c225 free_percpu(entry->comp_vect_affinity); in node_affinity_destroy()
253 entry->comp_vect_affinity = alloc_percpu(u16); in node_affinity_allocate()
284 u16 __percpu *comp_vect_affinity) in per_cpu_affinity_get() argument
296 if (!comp_vect_affinity) { in per_cpu_affinity_get()
307 prev_cntr = *per_cpu_ptr(comp_vect_affinity, ret_cpu); in per_cpu_affinity_get()
309 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_get()
317 *per_cpu_ptr(comp_vect_affinity, ret_cpu) += 1; in per_cpu_affinity_get()
324 u16 __percpu *comp_vect_affinity) in per_cpu_affinity_put_max() argument
334 if (!comp_vect_affinity) in per_cpu_affinity_put_max()
341 prev_cntr = *per_cpu_ptr(comp_vect_affinity, max_cpu); in per_cpu_affinity_put_max()
[all …]
Daffinity.h101 u16 __percpu *comp_vect_affinity; member