/linux-4.4.14/drivers/staging/lustre/lnet/selftest/ |
D | module.c | 72 i < cfs_cpt_number(lnet_cpt_table()); i++) { in lnet_selftest_fini() 79 cfs_cpt_number(lnet_cpt_table())); in lnet_selftest_fini() 99 rc = cfs_wi_sched_create("lst_s", lnet_cpt_table(), CFS_CPT_ANY, in lnet_selftest_init() 107 nscheds = cfs_cpt_number(lnet_cpt_table()); in lnet_selftest_init() 114 int nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in lnet_selftest_init() 118 rc = cfs_wi_sched_create("lst_t", lnet_cpt_table(), i, in lnet_selftest_init()
|
D | rpc.c | 132 LIBCFS_CPT_ALLOC(bk, lnet_cpt_table(), cpt, in srpc_alloc_bulk() 148 pg = alloc_pages_node(cfs_cpt_spread_node(lnet_cpt_table(), cpt), in srpc_alloc_bulk() 260 svc->sv_cpt_data = cfs_percpt_alloc(lnet_cpt_table(), in srpc_service_init() 266 1 : cfs_cpt_number(lnet_cpt_table()); in srpc_service_init() 295 LIBCFS_CPT_ALLOC(rpc, lnet_cpt_table(), in srpc_service_init()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 332 LIBCFS_CPT_ALLOC(peer, lnet_cpt_table(), cpt, sizeof(*peer)); in kiblnd_create_peer() 621 mask = cfs_cpt_cpumask(lnet_cpt_table(), cpt); in kiblnd_get_completion_vector() 669 LIBCFS_CPT_ALLOC(init_qp_attr, lnet_cpt_table(), cpt, in kiblnd_create_conn() 677 LIBCFS_CPT_ALLOC(conn, lnet_cpt_table(), cpt, sizeof(*conn)); in kiblnd_create_conn() 698 LIBCFS_CPT_ALLOC(conn->ibc_connvars, lnet_cpt_table(), cpt, in kiblnd_create_conn() 733 LIBCFS_CPT_ALLOC(conn->ibc_rxs, lnet_cpt_table(), cpt, in kiblnd_create_conn() 1108 LIBCFS_CPT_ALLOC(p, lnet_cpt_table(), cpt, in kiblnd_alloc_pages() 1120 cfs_cpt_spread_node(lnet_cpt_table(), cpt), in kiblnd_alloc_pages() 1401 LIBCFS_CPT_ALLOC(fpo, lnet_cpt_table(), fps->fps_cpt, sizeof(*fpo)); in kiblnd_create_fmr_pool() 1855 LIBCFS_CPT_ALLOC(tpo, lnet_cpt_table(), ps->ps_cpt, sizeof(*tpo)); in kiblnd_create_tx_pool() [all …]
|
D | o2iblnd_cb.c | 3290 rc = cfs_cpt_bind(lnet_cpt_table(), sched->ibs_cpt); in kiblnd_scheduler()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | peer.c | 51 the_lnet.ln_peer_tables = cfs_percpt_alloc(lnet_cpt_table(), in lnet_peer_tables_create() 61 LIBCFS_CPT_ALLOC(hash, lnet_cpt_table(), i, in lnet_peer_tables_create() 244 LIBCFS_CPT_ALLOC(lp, lnet_cpt_table(), cpt2, sizeof(*lp)); in lnet_nid2peer_locked()
|
D | lib-msg.c | 592 container->msc_nfinalizers = cfs_cpt_weight(lnet_cpt_table(), cpt); in lnet_msg_container_setup() 594 LIBCFS_CPT_ALLOC(container->msc_finalizers, lnet_cpt_table(), cpt, in lnet_msg_container_setup() 630 the_lnet.ln_msg_containers = cfs_percpt_alloc(lnet_cpt_table(), in lnet_msg_containers_create()
|
D | api-ni.c | 157 the_lnet.ln_res_lock = cfs_percpt_lock_alloc(lnet_cpt_table()); in lnet_create_locks() 161 the_lnet.ln_net_lock = cfs_percpt_lock_alloc(lnet_cpt_table()); in lnet_create_locks() 437 LIBCFS_CPT_ALLOC(rec->rec_lh_hash, lnet_cpt_table(), cpt, in lnet_res_container_setup() 476 recs = cfs_percpt_alloc(lnet_cpt_table(), sizeof(*rec)); in lnet_res_containers_create() 559 the_lnet.ln_counters = cfs_percpt_alloc(lnet_cpt_table(), in lnet_prepare()
|
D | lib-eq.c | 109 eq->eq_refs = cfs_percpt_alloc(lnet_cpt_table(), in LNetEQAlloc()
|
D | lib-ptl.c | 760 ptl->ptl_mtables = cfs_percpt_alloc(lnet_cpt_table(), in lnet_ptl_setup() 773 LIBCFS_CPT_ALLOC(mhash, lnet_cpt_table(), i, in lnet_ptl_setup()
|
D | router.c | 1239 LIBCFS_CPT_ALLOC(rb, lnet_cpt_table(), cpt, sz); in lnet_new_rtrbuf() 1247 cfs_cpt_spread_node(lnet_cpt_table(), cpt), in lnet_new_rtrbuf() 1455 the_lnet.ln_rtrpools = cfs_percpt_alloc(lnet_cpt_table(), in lnet_rtrpools_alloc()
|
D | config.c | 134 ni->ni_refs = cfs_percpt_alloc(lnet_cpt_table(), in lnet_ni_alloc() 139 ni->ni_tx_queues = cfs_percpt_alloc(lnet_cpt_table(), in lnet_ni_alloc()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 2387 ksocknal_data.ksnd_sched_info = cfs_percpt_alloc(lnet_cpt_table(), in ksocknal_base_startup() 2396 nthrs = cfs_cpt_weight(lnet_cpt_table(), i); in ksocknal_base_startup() 2408 LIBCFS_CPT_ALLOC(info->ksi_scheds, lnet_cpt_table(), i, in ksocknal_base_startup() 2690 nthrs = cfs_cpt_weight(lnet_cpt_table(), in ksocknal_start_schedulers() 2733 LASSERT(ncpts > 0 && ncpts <= cfs_cpt_number(lnet_cpt_table())); in ksocknal_net_start_threads() 2739 LASSERT(cpt < cfs_cpt_number(lnet_cpt_table())); in ksocknal_net_start_threads()
|
D | socklnd_cb.c | 1398 rc = cfs_cpt_bind(lnet_cpt_table(), info->ksi_cpt); in ksocknal_scheduler()
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 97 #define lnet_cpt_table() (the_lnet.ln_cpt_table) macro
|