Home
last modified time | relevance | path

Searched refs:srv_ncpts (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c319 svc->srv_hist_nrqbds_cpt_max = max(1, (val / svc->srv_ncpts)); in ptlrpc_lprocfs_req_history_max_seq_write()
332 seq_printf(m, "%d\n", svc->srv_nthrs_cpt_init * svc->srv_ncpts); in ptlrpc_lprocfs_threads_min_seq_show()
348 if (val / svc->srv_ncpts < PTLRPC_NTHRS_INIT) in ptlrpc_lprocfs_threads_min_seq_write()
352 if (val > svc->srv_nthrs_cpt_limit * svc->srv_ncpts) { in ptlrpc_lprocfs_threads_min_seq_write()
357 svc->srv_nthrs_cpt_init = val / svc->srv_ncpts; in ptlrpc_lprocfs_threads_min_seq_write()
386 seq_printf(m, "%d\n", svc->srv_nthrs_cpt_limit * svc->srv_ncpts); in ptlrpc_lprocfs_threads_max_seq_show()
402 if (val / svc->srv_ncpts < PTLRPC_NTHRS_INIT) in ptlrpc_lprocfs_threads_max_seq_write()
406 if (val < svc->srv_nthrs_cpt_init * svc->srv_ncpts) { in ptlrpc_lprocfs_threads_max_seq_write()
411 svc->srv_nthrs_cpt_limit = val / svc->srv_ncpts; in ptlrpc_lprocfs_threads_max_seq_write()
878 for (i = srhi->srhi_idx; i < svc->srv_ncpts; i++) { in ptlrpc_lprocfs_svc_req_history_next()
[all …]
Dservice.c517 nthrs = total / svc->srv_ncpts; in ptlrpc_server_nthreads_check()
526 nthrs = total / svc->srv_ncpts; in ptlrpc_server_nthreads_check()
531 if (svc->srv_ncpts == 1) { in ptlrpc_server_nthreads_check()
572 if (nthrs * svc->srv_ncpts > tc->tc_nthrs_max) { in ptlrpc_server_nthreads_check()
574 tc->tc_nthrs_max / svc->srv_ncpts); in ptlrpc_server_nthreads_check()
581 if (nthrs * svc->srv_ncpts > tc->tc_nthrs_max) { in ptlrpc_server_nthreads_check()
583 svc->srv_name, nthrs * svc->srv_ncpts, in ptlrpc_server_nthreads_check()
743 service->srv_ncpts = ncpts; in ptlrpc_register_service()
2627 for (i = 0; i < svc->srv_ncpts; i++) { in ptlrpc_start_threads()
3018 cfs_expr_list_values_free(svc->srv_cpts, svc->srv_ncpts); in ptlrpc_service_free()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_net.h2012 int srv_ncpts; member
2153 i < (svc)->srv_ncpts && \