Searched refs:nthrs (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 2402 int nthrs; in ksocknal_base_startup() local 2404 nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in ksocknal_base_startup() 2406 nthrs = min(nthrs, *ksocknal_tunables.ksnd_nscheds); in ksocknal_base_startup() 2410 nthrs = min(max(SOCKNAL_NSCHEDS, nthrs >> 1), nthrs); in ksocknal_base_startup() 2413 info->ksi_nthreads_max = nthrs; in ksocknal_base_startup() 2421 for (; nthrs > 0; nthrs--) { in ksocknal_base_startup() 2422 sched = &info->ksi_scheds[nthrs - 1]; in ksocknal_base_startup() 2690 int nthrs; in ksocknal_start_schedulers() local 2696 nthrs = info->ksi_nthreads_max; in ksocknal_start_schedulers() 2698 nthrs = cfs_cpt_weight(lnet_cpt_table(), in ksocknal_start_schedulers() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | workitem.c | 353 int cpt, int nthrs, struct cfs_wi_sched **sched_pp) in cfs_wi_sched_create() argument 379 while (nthrs > 0) { in cfs_wi_sched_create() 404 nthrs--; in cfs_wi_sched_create()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_workitem.h | 71 int nthrs, struct cfs_wi_sched **);
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2843 int nthrs; in kiblnd_base_startup() local 2849 nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in kiblnd_base_startup() 2851 nthrs = min(nthrs, *kiblnd_tunables.kib_nscheds); in kiblnd_base_startup() 2855 nthrs = min(max(IBLND_N_SCHED, nthrs >> 1), nthrs); in kiblnd_base_startup() 2858 sched->ibs_nthreads_max = nthrs; in kiblnd_base_startup() 2897 int nthrs; in kiblnd_start_schedulers() local 2902 nthrs = sched->ibs_nthreads_max; in kiblnd_start_schedulers() 2904 nthrs = cfs_cpt_weight(lnet_cpt_table(), in kiblnd_start_schedulers() 2906 nthrs = min(max(IBLND_N_SCHED, nthrs >> 1), nthrs); in kiblnd_start_schedulers() 2907 nthrs = min(IBLND_N_SCHED_HIGH, nthrs); in kiblnd_start_schedulers() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | service.c | 493 unsigned nthrs; in ptlrpc_server_nthreads_check() local 517 nthrs = total / svc->srv_ncpts; in ptlrpc_server_nthreads_check() 518 init = max(init, nthrs); in ptlrpc_server_nthreads_check() 526 nthrs = total / svc->srv_ncpts; in ptlrpc_server_nthreads_check() 530 nthrs = tc->tc_nthrs_base; in ptlrpc_server_nthreads_check() 540 nthrs += tc->tc_nthrs_base >> i; in ptlrpc_server_nthreads_check() 569 nthrs += min(weight, fade) * factor; in ptlrpc_server_nthreads_check() 572 if (nthrs * svc->srv_ncpts > tc->tc_nthrs_max) { in ptlrpc_server_nthreads_check() 573 nthrs = max(tc->tc_nthrs_base, in ptlrpc_server_nthreads_check() 577 nthrs = max(nthrs, tc->tc_nthrs_init); in ptlrpc_server_nthreads_check() [all …]
|