Searched refs:to_pool (Results 1 – 2 of 2) sorted by relevance
145 m->to_pool = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); in svc_pool_map_alloc_arrays()146 if (!m->to_pool) in svc_pool_map_alloc_arrays()155 kfree(m->to_pool); in svc_pool_map_alloc_arrays()156 m->to_pool = NULL; in svc_pool_map_alloc_arrays()179 m->to_pool[cpu] = pidx; in svc_pool_map_init_percpu()208 m->to_pool[node] = pidx; in svc_pool_map_init_pernode()275 kfree(m->to_pool); in svc_pool_map_put()276 m->to_pool = NULL; in svc_pool_map_put()349 pidx = m->to_pool[cpu]; in svc_pool_for_cpu()352 pidx = m->to_pool[cpu_to_node(cpu)]; in svc_pool_for_cpu()
484 unsigned int *to_pool; /* maps cpu or node to pool id */ member