Searched refs:nthrs (Results 1 – 6 of 6) sorted by relevance
/drivers/staging/lustre/lnet/selftest/ |
D | module.c | 114 int nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in lnet_selftest_init() local 117 nthrs = max(nthrs - 1, 1); in lnet_selftest_init() 119 nthrs, &lst_sched_test[i]); in lnet_selftest_init()
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 2394 int nthrs; in ksocknal_base_startup() local 2396 nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in ksocknal_base_startup() 2398 nthrs = min(nthrs, *ksocknal_tunables.ksnd_nscheds); in ksocknal_base_startup() 2402 nthrs = min(max(SOCKNAL_NSCHEDS, nthrs >> 1), nthrs); in ksocknal_base_startup() 2405 info->ksi_nthreads_max = nthrs; in ksocknal_base_startup() 2413 for (; nthrs > 0; nthrs--) { in ksocknal_base_startup() 2414 sched = &info->ksi_scheds[nthrs - 1]; in ksocknal_base_startup() 2682 int nthrs; in ksocknal_start_schedulers() local 2688 nthrs = info->ksi_nthreads_max; in ksocknal_start_schedulers() 2690 nthrs = cfs_cpt_weight(lnet_cpt_table(), in ksocknal_start_schedulers() [all …]
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2597 int nthrs; in kiblnd_base_startup() local 2603 nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in kiblnd_base_startup() 2605 nthrs = min(nthrs, *kiblnd_tunables.kib_nscheds); in kiblnd_base_startup() 2609 nthrs = min(max(IBLND_N_SCHED, nthrs >> 1), nthrs); in kiblnd_base_startup() 2612 sched->ibs_nthreads_max = nthrs; in kiblnd_base_startup() 2651 int nthrs; in kiblnd_start_schedulers() local 2656 nthrs = sched->ibs_nthreads_max; in kiblnd_start_schedulers() 2658 nthrs = cfs_cpt_weight(lnet_cpt_table(), in kiblnd_start_schedulers() 2660 nthrs = min(max(IBLND_N_SCHED, nthrs >> 1), nthrs); in kiblnd_start_schedulers() 2661 nthrs = min(IBLND_N_SCHED_HIGH, nthrs); in kiblnd_start_schedulers() [all …]
|
/drivers/staging/lustre/lustre/libcfs/ |
D | workitem.c | 349 int cpt, int nthrs, struct cfs_wi_sched **sched_pp) in cfs_wi_sched_create() argument 375 while (nthrs > 0) { in cfs_wi_sched_create() 400 nthrs--; in cfs_wi_sched_create()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | service.c | 350 unsigned nthrs; in ptlrpc_server_nthreads_check() local 374 nthrs = total / svc->srv_ncpts; in ptlrpc_server_nthreads_check() 375 init = max(init, nthrs); in ptlrpc_server_nthreads_check() 383 nthrs = total / svc->srv_ncpts; in ptlrpc_server_nthreads_check() 387 nthrs = tc->tc_nthrs_base; in ptlrpc_server_nthreads_check() 397 nthrs += tc->tc_nthrs_base >> i; in ptlrpc_server_nthreads_check() 426 nthrs += min(weight, fade) * factor; in ptlrpc_server_nthreads_check() 429 if (nthrs * svc->srv_ncpts > tc->tc_nthrs_max) { in ptlrpc_server_nthreads_check() 430 nthrs = max(tc->tc_nthrs_base, in ptlrpc_server_nthreads_check() 434 nthrs = max(nthrs, tc->tc_nthrs_init); in ptlrpc_server_nthreads_check() [all …]
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_workitem.h | 71 int nthrs, struct cfs_wi_sched **);
|