Lines Matching refs:to_pool
65 unsigned int *to_pool; /* maps cpu or node to pool id */
160 * Allocate the to_pool[] and pool_to[] arrays.
166 m->to_pool = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL);
167 if (!m->to_pool)
176 kfree(m->to_pool);
177 m->to_pool = NULL;
200 m->to_pool[cpu] = pidx;
229 m->to_pool[node] = pidx;
305 kfree(m->to_pool);
306 m->to_pool = NULL;
381 pidx = m->to_pool[cpu];
384 pidx = m->to_pool[cpu_to_node(cpu)];