Lines Matching refs:sv_nrpools
376 if (serv->sv_nrpools <= 1) in svc_pool_for_cpu()
388 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu()
496 serv->sv_nrpools = npools; in __svc_create()
498 kcalloc(serv->sv_nrpools, sizeof(struct svc_pool), in __svc_create()
505 for (i = 0; i < serv->sv_nrpools; i++) { in __svc_create()
586 svc_pool_map_put(serv->sv_nrpools); in svc_destroy()
588 for (i = 0; i < serv->sv_nrpools; i++) { in svc_destroy()
708 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool()
724 for (i = 0; i < serv->sv_nrpools; i++) { in choose_victim()
725 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in choose_victim()
779 if (serv->sv_nrpools > 1) in svc_start_kthreads()