Home
last modified time | relevance | path

Searched refs:bk_iovs (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/lustre/lnet/selftest/
Drpc.c94 bk->bk_iovs[i].bv_offset = 0; in srpc_add_bulk_page()
95 bk->bk_iovs[i].bv_page = pg; in srpc_add_bulk_page()
96 bk->bk_iovs[i].bv_len = nob; in srpc_add_bulk_page()
109 pg = bk->bk_iovs[i].bv_page; in srpc_free_bulk()
116 LIBCFS_FREE(bk, offsetof(struct srpc_bulk, bk_iovs[bk->bk_niov])); in srpc_free_bulk()
128 offsetof(struct srpc_bulk, bk_iovs[bulk_npg])); in srpc_alloc_bulk()
134 memset(bk, 0, offsetof(struct srpc_bulk, bk_iovs[bulk_npg])); in srpc_alloc_bulk()
861 &bk->bk_iovs[0], bk->bk_niov, opt, in srpc_prepare_bulk()
889 &bk->bk_iovs[0], bk->bk_niov, opt, in srpc_do_bulk()
1317 crpc_bulk.bk_iovs[nbulkiov])); in srpc_create_client_rpc()
Dconrpc.c155 if (!bulk->bk_iovs[i].bv_page) in lstcon_rpc_put()
158 __free_page(bulk->bk_iovs[i].bv_page); in lstcon_rpc_put()
852 bulk->bk_iovs[i].bv_offset = 0; in lstcon_testrpc_prep()
853 bulk->bk_iovs[i].bv_len = len; in lstcon_testrpc_prep()
854 bulk->bk_iovs[i].bv_page = alloc_page(GFP_KERNEL); in lstcon_testrpc_prep()
856 if (!bulk->bk_iovs[i].bv_page) { in lstcon_testrpc_prep()
870 npg, &bulk->bk_iovs[0]); in lstcon_testrpc_prep()
Dbrw_test.c229 pg = bk->bk_iovs[i].bv_page; in brw_fill_bulk()
241 pg = bk->bk_iovs[i].bv_page; in brw_check_bulk()
296 memcpy(&rpc->crpc_bulk, bulk, offsetof(struct srpc_bulk, bk_iovs[npg])); in brw_client_prep_rpc()
Dselftest.h158 lnet_kiov_t bk_iovs[0]; member
233 offsetof(struct srpc_client_rpc, crpc_bulk.bk_iovs[(rpc)->crpc_bulk.bk_niov])
525 crpc_bulk.bk_iovs[nbulkiov])); in srpc_init_client_rpc()
Dframework.c787 dests = page_address(bk->bk_iovs[i / SFW_ID_PER_PAGE].bv_page); in sfw_add_test_instance()