Home
last modified time | relevance | path

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

/linux-4.4.14/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()
218 if (LNET_CPT_NUMBER == 1) in lnet_match2mt()
253 return ptl->ptl_mtables[ptl->ptl_index % LNET_CPT_NUMBER]; in lnet_mt_of_attach()
295 cpt = rotor % LNET_CPT_NUMBER; in lnet_mt_of_match()
473 for (i = 0; i < LNET_CPT_NUMBER; i++) { in lnet_ptl_match_delay()
477 cpt = (first + i) % LNET_CPT_NUMBER; in lnet_ptl_match_delay()
479 if (i != 0 && i != LNET_CPT_NUMBER - 1 && !mtable->mt_enabled) in lnet_ptl_match_delay()
508 (i == LNET_CPT_NUMBER - 1 || /* the last CPT */ in lnet_ptl_match_delay()
582 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.c433 if (cpt >= LNET_CPT_NUMBER) { in proc_lnet_peers()
556 if (peer == NULL && cpt < LNET_CPT_NUMBER) in proc_lnet_peers()
594 tmpsiz = 64 * (LNET_NRBPOOLS + 1) * LNET_CPT_NUMBER; in __proc_lnet_buffers()
648 int tmpsiz = 128 * LNET_CPT_NUMBER; in proc_lnet_nis()
Dapi-ni.c691 LASSERT(number >= 1 && number <= LNET_CPT_NUMBER); in lnet_nid_cpt_hash()
710 if (LNET_CPT_NUMBER == 1) in lnet_cpt_of_nid_locked()
725 return lnet_nid_cpt_hash(nid, LNET_CPT_NUMBER); in lnet_cpt_of_nid_locked()
734 if (LNET_CPT_NUMBER == 1) in lnet_cpt_of_nid()
738 return lnet_nid_cpt_hash(nid, LNET_CPT_NUMBER); in lnet_cpt_of_nid()
1071 lnet_ni_tq_credits(ni) * LNET_CPT_NUMBER, in lnet_startup_lndnis()
Drouter.c1373 nrbs /= LNET_CPT_NUMBER; in lnet_nrb_tiny_calculate()
1392 nrbs /= LNET_CPT_NUMBER; in lnet_nrb_small_calculate()
1411 nrbs /= LNET_CPT_NUMBER; in lnet_nrb_large_calculate()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h60 #define LNET_CPT_NUMBER (the_lnet.ln_cpt_number) macro
107 return cpt < LNET_CPT_NUMBER ? cpt : cpt % LNET_CPT_NUMBER; in lnet_cpt_of_cookie()
377 LASSERT(cpt >= 0 && cpt < LNET_CPT_NUMBER); in lnet_ni_addref_locked()
394 LASSERT(cpt >= 0 && cpt < LNET_CPT_NUMBER); in lnet_ni_decref_locked()