Home
last modified time | relevance | path

Searched refs:npg (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/lustre/lnet/selftest/
Dbrw_test.c74 int npg; in brw_client_init() local
88 npg = breq->blk_npg; in brw_client_init()
91 len = npg * PAGE_CACHE_SIZE; in brw_client_init()
103 npg = (len + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in brw_client_init()
106 if (npg > LNET_MAX_IOV || npg <= 0) in brw_client_init()
118 npg, len, opc == LST_BRW_READ); in brw_client_init()
264 int npg; in brw_client_prep_rpc() local
277 npg = breq->blk_npg; in brw_client_prep_rpc()
278 len = npg * PAGE_CACHE_SIZE; in brw_client_prep_rpc()
290 npg = (len + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in brw_client_prep_rpc()
[all …]
Dconrpc.c820 int npg = 0; in lstcon_testrpc_prep() local
825 npg = sfw_id_pages(test->tes_span); in lstcon_testrpc_prep()
827 npg * PAGE_CACHE_SIZE : in lstcon_testrpc_prep()
831 rc = lstcon_rpc_prep(nd, SRPC_SERVICE_TEST, feats, npg, nob, crpc); in lstcon_testrpc_prep()
848 for (i = 0; i < npg; i++) { in lstcon_testrpc_prep()
876 npg, &bulk->bk_iovs[0]); in lstcon_testrpc_prep()
Dframework.c1165 int npg = sfw_id_pages(request->tsr_ndest); in sfw_add_test() local
1169 len = npg * PAGE_CACHE_SIZE; in sfw_add_test()
1176 return sfw_alloc_pages(rpc, CFS_CPT_ANY, npg, len, 1); in sfw_add_test()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c2037 int npg; in kiblnd_create_tx_pool() local
2052 npg = (size * IBLND_MSG_SIZE + PAGE_SIZE - 1) / PAGE_SIZE; in kiblnd_create_tx_pool()
2053 if (kiblnd_alloc_pages(&tpo->tpo_tx_pages, ps->ps_cpt, npg) != 0) { in kiblnd_create_tx_pool()
2054 CERROR("Can't allocate tx pages: %d\n", npg); in kiblnd_create_tx_pool()