/drivers/staging/lustre/lnet/selftest/ |
D | module.c | 66 i < cfs_cpt_number(lnet_cpt_table()); i++) { in lnet_selftest_exit() 73 cfs_cpt_number(lnet_cpt_table())); in lnet_selftest_exit() 93 rc = cfs_wi_sched_create("lst_s", lnet_cpt_table(), CFS_CPT_ANY, in lnet_selftest_init() 101 nscheds = cfs_cpt_number(lnet_cpt_table()); in lnet_selftest_init() 108 int nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in lnet_selftest_init() 112 rc = cfs_wi_sched_create("lst_t", lnet_cpt_table(), i, in lnet_selftest_init()
|
D | rpc.c | 127 LIBCFS_CPT_ALLOC(bk, lnet_cpt_table(), cpt, in srpc_alloc_bulk() 143 pg = alloc_pages_node(cfs_cpt_spread_node(lnet_cpt_table(), cpt), in srpc_alloc_bulk() 254 svc->sv_cpt_data = cfs_percpt_alloc(lnet_cpt_table(), in srpc_service_init() 260 1 : cfs_cpt_number(lnet_cpt_table()); in srpc_service_init() 293 LIBCFS_CPT_ALLOC(rpc, lnet_cpt_table(), in srpc_service_init()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 326 LIBCFS_CPT_ALLOC(peer, lnet_cpt_table(), cpt, sizeof(*peer)); in kiblnd_create_peer() 607 mask = cfs_cpt_cpumask(lnet_cpt_table(), cpt); in kiblnd_get_completion_vector() 657 LIBCFS_CPT_ALLOC(init_qp_attr, lnet_cpt_table(), cpt, in kiblnd_create_conn() 665 LIBCFS_CPT_ALLOC(conn, lnet_cpt_table(), cpt, sizeof(*conn)); in kiblnd_create_conn() 688 LIBCFS_CPT_ALLOC(conn->ibc_connvars, lnet_cpt_table(), cpt, in kiblnd_create_conn() 723 LIBCFS_CPT_ALLOC(conn->ibc_rxs, lnet_cpt_table(), cpt, in kiblnd_create_conn() 1096 LIBCFS_CPT_ALLOC(p, lnet_cpt_table(), cpt, in kiblnd_alloc_pages() 1108 cfs_cpt_spread_node(lnet_cpt_table(), cpt), in kiblnd_alloc_pages() 1396 LIBCFS_CPT_ALLOC(frd, lnet_cpt_table(), fps->fps_cpt, in kiblnd_alloc_freg_pool() 1446 LIBCFS_CPT_ALLOC(fpo, lnet_cpt_table(), fps->fps_cpt, sizeof(*fpo)); in kiblnd_create_fmr_pool() [all …]
|
D | o2iblnd_cb.c | 3560 rc = cfs_cpt_bind(lnet_cpt_table(), sched->ibs_cpt); in kiblnd_scheduler()
|
/drivers/staging/lustre/lnet/lnet/ |
D | peer.c | 48 the_lnet.ln_peer_tables = cfs_percpt_alloc(lnet_cpt_table(), in lnet_peer_tables_create() 58 LIBCFS_CPT_ALLOC(hash, lnet_cpt_table(), i, in lnet_peer_tables_create() 297 LIBCFS_CPT_ALLOC(lp, lnet_cpt_table(), cpt2, sizeof(*lp)); in lnet_nid2peer_locked()
|
D | lib-msg.c | 572 container->msc_nfinalizers = cfs_cpt_weight(lnet_cpt_table(), cpt); in lnet_msg_container_setup() 574 LIBCFS_CPT_ALLOC(container->msc_finalizers, lnet_cpt_table(), cpt, in lnet_msg_container_setup() 610 the_lnet.ln_msg_containers = cfs_percpt_alloc(lnet_cpt_table(), in lnet_msg_containers_create()
|
D | lib-eq.c | 110 eq->eq_refs = cfs_percpt_alloc(lnet_cpt_table(), in LNetEQAlloc()
|
D | api-ni.c | 158 the_lnet.ln_res_lock = cfs_percpt_lock_alloc(lnet_cpt_table()); in lnet_create_locks() 162 the_lnet.ln_net_lock = cfs_percpt_lock_alloc(lnet_cpt_table()); in lnet_create_locks() 429 LIBCFS_CPT_ALLOC(rec->rec_lh_hash, lnet_cpt_table(), cpt, in lnet_res_container_setup() 468 recs = cfs_percpt_alloc(lnet_cpt_table(), sizeof(*rec)); in lnet_res_containers_create() 561 the_lnet.ln_counters = cfs_percpt_alloc(lnet_cpt_table(), in lnet_prepare()
|
D | lib-ptl.c | 792 ptl->ptl_mtables = cfs_percpt_alloc(lnet_cpt_table(), in lnet_ptl_setup() 805 LIBCFS_CPT_ALLOC(mhash, lnet_cpt_table(), i, in lnet_ptl_setup()
|
D | router.c | 1324 LIBCFS_CPT_ALLOC(rb, lnet_cpt_table(), cpt, sz); in lnet_new_rtrbuf() 1332 cfs_cpt_spread_node(lnet_cpt_table(), cpt), in lnet_new_rtrbuf() 1591 the_lnet.ln_rtrpools = cfs_percpt_alloc(lnet_cpt_table(), in lnet_rtrpools_alloc()
|
D | config.c | 146 ni->ni_refs = cfs_percpt_alloc(lnet_cpt_table(), in lnet_ni_alloc() 151 ni->ni_tx_queues = cfs_percpt_alloc(lnet_cpt_table(), in lnet_ni_alloc()
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 109 LIBCFS_CPT_ALLOC(peer, lnet_cpt_table(), cpt, sizeof(*peer)); in ksocknal_create_peer() 2434 ksocknal_data.ksnd_sched_info = cfs_percpt_alloc(lnet_cpt_table(), in ksocknal_base_startup() 2443 nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in ksocknal_base_startup() 2457 LIBCFS_CPT_ALLOC(info->ksi_scheds, lnet_cpt_table(), i, in ksocknal_base_startup() 2739 nthrs = cfs_cpt_weight(lnet_cpt_table(), in ksocknal_start_schedulers() 2782 LASSERT(ncpts > 0 && ncpts <= cfs_cpt_number(lnet_cpt_table())); in ksocknal_net_start_threads() 2788 LASSERT(cpt < cfs_cpt_number(lnet_cpt_table())); in ksocknal_net_start_threads()
|
D | socklnd_cb.c | 1411 rc = cfs_cpt_bind(lnet_cpt_table(), info->ksi_cpt); in ksocknal_scheduler()
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 112 #define lnet_cpt_table() (the_lnet.ln_cpt_table) macro
|