Searched refs:npg (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/lustre/lnet/selftest/ |
D | brw_test.c | 70 int npg; in brw_client_init() local 84 npg = breq->blk_npg; in brw_client_init() 89 len = npg * PAGE_SIZE; in brw_client_init() 102 npg = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in brw_client_init() 105 if (npg > LNET_MAX_IOV || npg <= 0) in brw_client_init() 117 npg, len, opc == LST_BRW_READ); in brw_client_init() 262 int npg; in brw_client_prep_rpc() local 275 npg = breq->blk_npg; in brw_client_prep_rpc() 276 len = npg * PAGE_SIZE; in brw_client_prep_rpc() 289 npg = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in brw_client_prep_rpc() [all …]
|
D | conrpc.c | 813 int npg = 0; in lstcon_testrpc_prep() local 818 npg = sfw_id_pages(test->tes_span); in lstcon_testrpc_prep() 820 npg * PAGE_SIZE : in lstcon_testrpc_prep() 824 rc = lstcon_rpc_prep(nd, SRPC_SERVICE_TEST, feats, npg, nob, crpc); in lstcon_testrpc_prep() 842 for (i = 0; i < npg; i++) { in lstcon_testrpc_prep() 870 npg, &bulk->bk_iovs[0]); in lstcon_testrpc_prep()
|
D | framework.c | 1156 int npg = sfw_id_pages(request->tsr_ndest); in sfw_add_test() local 1160 len = npg * PAGE_SIZE; in sfw_add_test() 1167 return sfw_alloc_pages(rpc, CFS_CPT_ANY, npg, len, 1); in sfw_add_test()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2045 int npg; in kiblnd_create_tx_pool() local 2060 npg = (size * IBLND_MSG_SIZE + PAGE_SIZE - 1) / PAGE_SIZE; in kiblnd_create_tx_pool() 2061 if (kiblnd_alloc_pages(&tpo->tpo_tx_pages, ps->ps_cpt, npg)) { in kiblnd_create_tx_pool() 2062 CERROR("Can't allocate tx pages: %d\n", npg); in kiblnd_create_tx_pool()
|