Searched refs:tot (Results 1 – 4 of 4) sorted by relevance
545 int tot = 0; in nfsd_set_nrthreads() local558 tot = 0; in nfsd_set_nrthreads()561 tot += nthreads[i]; in nfsd_set_nrthreads()563 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()565 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()566 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()567 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()570 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()572 tot--; in nfsd_set_nrthreads()
134 struct xfs_defer_ops *dfops, xfs_extlen_t tot);141 struct xfs_defer_ops *dfops, xfs_extlen_t tot);145 struct xfs_defer_ops *dfops, xfs_extlen_t tot);
3371 int tot = 0; in recalc_bh_state() local3377 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state()3378 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
159 int tot=0; in dlm_dispatch_work() local166 tot++; in dlm_dispatch_work()168 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot); in dlm_dispatch_work()