Lines Matching refs:comp_vect_affinity
229 free_percpu(entry->comp_vect_affinity); in node_affinity_destroy()
257 entry->comp_vect_affinity = alloc_percpu(u16); in node_affinity_allocate()
288 u16 __percpu *comp_vect_affinity) in per_cpu_affinity_get() argument
300 if (!comp_vect_affinity) { in per_cpu_affinity_get()
311 prev_cntr = *per_cpu_ptr(comp_vect_affinity, ret_cpu); in per_cpu_affinity_get()
313 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_get()
321 *per_cpu_ptr(comp_vect_affinity, ret_cpu) += 1; in per_cpu_affinity_get()
328 u16 __percpu *comp_vect_affinity) in per_cpu_affinity_put_max() argument
338 if (!comp_vect_affinity) in per_cpu_affinity_put_max()
345 prev_cntr = *per_cpu_ptr(comp_vect_affinity, max_cpu); in per_cpu_affinity_put_max()
347 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_put_max()
355 *per_cpu_ptr(comp_vect_affinity, max_cpu) -= 1; in per_cpu_affinity_put_max()
578 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_init()
595 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_init()
615 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_clean_up()