Searched refs:maxpools (Results 1 – 1 of 1) sorted by relevance
145 svc_pool_map_alloc_arrays(struct svc_pool_map *m, unsigned int maxpools) in svc_pool_map_alloc_arrays() argument147 m->to_pool = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); in svc_pool_map_alloc_arrays()150 m->pool_to = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); in svc_pool_map_alloc_arrays()170 unsigned int maxpools = nr_cpu_ids; in svc_pool_map_init_percpu() local175 err = svc_pool_map_alloc_arrays(m, maxpools); in svc_pool_map_init_percpu()180 BUG_ON(pidx >= maxpools); in svc_pool_map_init_percpu()198 unsigned int maxpools = nr_node_ids; in svc_pool_map_init_pernode() local203 err = svc_pool_map_alloc_arrays(m, maxpools); in svc_pool_map_init_pernode()209 BUG_ON(pidx > maxpools); in svc_pool_map_init_pernode()