Lines Matching refs:page_vec
172 struct iser_page_vec *page_vec, in iser_sg_to_page_vec() argument
182 page_vec->offset = (u64) sgl[0].offset & ~MASK_4K; in iser_sg_to_page_vec()
206 page_vec->pages[cur_page++] = page; in iser_sg_to_page_vec()
211 page_vec->data_size = total_sz; in iser_sg_to_page_vec()
212 iser_dbg("page_vec->data_size:%d cur_page %d\n", page_vec->data_size,cur_page); in iser_sg_to_page_vec()
280 static void iser_dump_page_vec(struct iser_page_vec *page_vec) in iser_dump_page_vec() argument
285 page_vec->length, page_vec->data_size); in iser_dump_page_vec()
286 for (i = 0; i < page_vec->length; i++) in iser_dump_page_vec()
287 iser_err("%d %lx\n",i,(unsigned long)page_vec->pages[i]); in iser_dump_page_vec()
291 struct iser_page_vec *page_vec, in iser_page_vec_build() argument
296 page_vec->length = 0; in iser_page_vec_build()
297 page_vec->offset = 0; in iser_page_vec_build()
300 page_vec_len = iser_sg_to_page_vec(data, page_vec, ibdev); in iser_page_vec_build()
303 page_vec->length = page_vec_len; in iser_page_vec_build()
305 if (page_vec_len * SIZE_4K < page_vec->data_size) { in iser_page_vec_build()
308 iser_dump_page_vec(page_vec); in iser_page_vec_build()
405 iser_page_vec_build(mem, ib_conn->page_vec, ibdev); in iser_reg_rdma_mem()
406 err = iser_reg_page_vec(ib_conn, ib_conn->page_vec, ®d_buf->reg); in iser_reg_rdma_mem()
413 ib_conn->page_vec->data_size, ib_conn->page_vec->length, in iser_reg_rdma_mem()
414 ib_conn->page_vec->offset); in iser_reg_rdma_mem()
415 for (i=0 ; i<ib_conn->page_vec->length ; i++) in iser_reg_rdma_mem()
417 (unsigned long long) ib_conn->page_vec->pages[i]); in iser_reg_rdma_mem()