Home
last modified time | relevance | path

Searched refs:LNET_CPT_NUMBER (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h74 #define LNET_CPT_NUMBER (the_lnet.ln_cpt_number) macro
121 return cpt < LNET_CPT_NUMBER ? cpt : cpt % LNET_CPT_NUMBER; in lnet_cpt_of_cookie()
222 LASSERT(LNET_CPT_NUMBER == 1); in lnet_eq_alloc()
237 LASSERT(LNET_CPT_NUMBER == 1); in lnet_eq_free_locked()
256 LASSERT(LNET_CPT_NUMBER == 1); in lnet_md_alloc()
274 LASSERT(LNET_CPT_NUMBER == 1); in lnet_md_free_locked()
293 LASSERT(LNET_CPT_NUMBER == 1); in lnet_me_alloc()
308 LASSERT(LNET_CPT_NUMBER == 1); in lnet_me_free_locked()
327 LASSERT(LNET_CPT_NUMBER == 1); in lnet_msg_alloc()
346 LASSERT(LNET_CPT_NUMBER == 1); in lnet_msg_free_locked()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dlib-ptl.c122 if (LNET_CPT_NUMBER == 1) in lnet_ptl_disable_mt()
128 ptl->ptl_mt_nmaps <= LNET_CPT_NUMBER); in lnet_ptl_disable_mt()
219 if (LNET_CPT_NUMBER == 1) in lnet_match2mt()
254 return ptl->ptl_mtables[ptl->ptl_index % LNET_CPT_NUMBER]; in lnet_mt_of_attach()
296 cpt = rotor % LNET_CPT_NUMBER; in lnet_mt_of_match()
474 for (i = 0; i < LNET_CPT_NUMBER; i++) { in lnet_ptl_match_delay()
478 cpt = (first + i) % LNET_CPT_NUMBER; in lnet_ptl_match_delay()
480 if (i != 0 && i != LNET_CPT_NUMBER - 1 && !mtable->mt_enabled) in lnet_ptl_match_delay()
509 (i == LNET_CPT_NUMBER - 1 || /* the last CPT */ in lnet_ptl_match_delay()
583 if (lnet_ptl_is_unique(ptl) || LNET_CPT_NUMBER == 1) { in lnet_ptl_match_md()
[all …]
Dconfig.c149 ni->ni_ncpts = LNET_CPT_NUMBER; in lnet_ni_alloc()
151 rc = cfs_expr_list_values(el, LNET_CPT_NUMBER, &ni->ni_cpts); in lnet_ni_alloc()
158 LASSERT(rc <= LNET_CPT_NUMBER); in lnet_ni_alloc()
159 if (rc == LNET_CPT_NUMBER) { in lnet_ni_alloc()
238 0, LNET_CPT_NUMBER - 1, &el); in lnet_parse_networks()
Drouter_proc.c448 if (cpt >= LNET_CPT_NUMBER) { in proc_lnet_peers()
571 if (peer == NULL && cpt < LNET_CPT_NUMBER) in proc_lnet_peers()
609 tmpsiz = 64 * (LNET_NRBPOOLS + 1) * LNET_CPT_NUMBER; in __proc_lnet_buffers()
663 int tmpsiz = 128 * LNET_CPT_NUMBER; in proc_lnet_nis()
Dapi-ni.c767 LASSERT(number >= 1 && number <= LNET_CPT_NUMBER); in lnet_nid_cpt_hash()
786 if (LNET_CPT_NUMBER == 1) in lnet_cpt_of_nid_locked()
801 return lnet_nid_cpt_hash(nid, LNET_CPT_NUMBER); in lnet_cpt_of_nid_locked()
810 if (LNET_CPT_NUMBER == 1) in lnet_cpt_of_nid()
814 return lnet_nid_cpt_hash(nid, LNET_CPT_NUMBER); in lnet_cpt_of_nid()
1147 lnet_ni_tq_credits(ni) * LNET_CPT_NUMBER, in lnet_startup_lndnis()
Drouter.c1381 nrbs /= LNET_CPT_NUMBER; in lnet_nrb_tiny_calculate()
1400 nrbs /= LNET_CPT_NUMBER; in lnet_nrb_small_calculate()
1419 nrbs /= LNET_CPT_NUMBER; in lnet_nrb_large_calculate()
1608 LASSERT(LNET_CPT_NUMBER == 1); in lnet_router_checker()