Searched refs:to_pool (Results 1 – 2 of 2) sorted by relevance
144 m->to_pool = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); in svc_pool_map_alloc_arrays()145 if (!m->to_pool) in svc_pool_map_alloc_arrays()154 kfree(m->to_pool); in svc_pool_map_alloc_arrays()155 m->to_pool = NULL; in svc_pool_map_alloc_arrays()178 m->to_pool[cpu] = pidx; in svc_pool_map_init_percpu()207 m->to_pool[node] = pidx; in svc_pool_map_init_pernode()274 kfree(m->to_pool); in svc_pool_map_put()275 m->to_pool = NULL; in svc_pool_map_put()348 pidx = m->to_pool[cpu]; in svc_pool_for_cpu()351 pidx = m->to_pool[cpu_to_node(cpu)]; in svc_pool_for_cpu()
460 unsigned int *to_pool; /* maps cpu or node to pool id */ member