Lines Matching refs:comp_vect_affinity
187 free_percpu(entry->comp_vect_affinity); in node_affinity_destroy()
215 entry->comp_vect_affinity = alloc_percpu(u16); in node_affinity_allocate()
246 u16 __percpu *comp_vect_affinity) in per_cpu_affinity_get() argument
258 if (!comp_vect_affinity) { in per_cpu_affinity_get()
269 prev_cntr = *per_cpu_ptr(comp_vect_affinity, ret_cpu); in per_cpu_affinity_get()
271 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_get()
279 *per_cpu_ptr(comp_vect_affinity, ret_cpu) += 1; in per_cpu_affinity_get()
286 u16 __percpu *comp_vect_affinity) in per_cpu_affinity_put_max() argument
296 if (!comp_vect_affinity) in per_cpu_affinity_put_max()
303 prev_cntr = *per_cpu_ptr(comp_vect_affinity, max_cpu); in per_cpu_affinity_put_max()
305 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_put_max()
313 *per_cpu_ptr(comp_vect_affinity, max_cpu) -= 1; in per_cpu_affinity_put_max()
536 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_init()
553 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_init()
573 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_clean_up()