Lines Matching refs:nthreads
451 int *nthreads;
467 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL);
469 if (nthreads == NULL)
474 rv = get_int(&mesg, &nthreads[i]);
480 if (nthreads[i] < 0)
482 trace_nfsd_ctl_pool_threads(net, i, nthreads[i]);
484 rv = nfsd_set_nrthreads(i, nthreads, net);
489 rv = nfsd_get_nrthreads(npools, nthreads, net);
496 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' '));
503 kfree(nthreads);
1666 int nthreads = 0, count = 0, nrpools, ret = -EOPNOTSUPP, rem;
1691 nthreads = nla_get_u32(info->attrs[NFSD_A_SERVER_THREADS]);
1725 ret = nfsd_svc(nthreads, net, get_current_cred(), scope);
1730 return ret == nthreads ? 0 : ret;