Searched refs:maxpools (Results 1 – 1 of 1) sorted by relevance
155 svc_pool_map_alloc_arrays(struct svc_pool_map *m, unsigned int maxpools) in svc_pool_map_alloc_arrays() argument157 m->to_pool = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); in svc_pool_map_alloc_arrays()160 m->pool_to = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); in svc_pool_map_alloc_arrays()179 unsigned int maxpools = nr_cpu_ids; in svc_pool_map_init_percpu() local184 err = svc_pool_map_alloc_arrays(m, maxpools); in svc_pool_map_init_percpu()189 BUG_ON(pidx > maxpools); in svc_pool_map_init_percpu()207 unsigned int maxpools = nr_node_ids; in svc_pool_map_init_pernode() local212 err = svc_pool_map_alloc_arrays(m, maxpools); in svc_pool_map_init_pernode()218 BUG_ON(pidx > maxpools); in svc_pool_map_init_pernode()