Lines Matching refs:npools
63 unsigned int npools;
250 int npools = -1;
256 WARN_ON_ONCE(m->npools <= 1);
257 return m->npools;
265 npools = svc_pool_map_init_percpu(m);
268 npools = svc_pool_map_init_pernode(m);
272 if (npools <= 0) {
274 npools = 1;
277 m->npools = npools;
279 if (npools == 1)
284 return npools;
289 * pools were in use, i.e. if npools > 1.
296 svc_pool_map_put(int npools)
300 if (npools <= 1)
309 m->npools = 0;
456 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools,
496 serv->sv_nrpools = npools;
552 unsigned int npools = svc_pool_map_get();
554 serv = __svc_create(prog, bufsize, npools, threadfn);
559 svc_pool_map_put(npools);