Lines Matching refs:comp_vect_affinity
225 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()
343 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_put_max()
351 *per_cpu_ptr(comp_vect_affinity, max_cpu) -= 1; in per_cpu_affinity_put_max()
572 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_init()
589 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_init()
609 entry->comp_vect_affinity); in _dev_comp_vect_cpu_mask_clean_up()