Lines Matching refs:ibdev
173 struct ib_device *ibdev) in iser_sg_to_page_vec() argument
187 start_addr = ib_sg_dma_address(ibdev, sg); in iser_sg_to_page_vec()
190 dma_len = ib_sg_dma_len(ibdev, sg); in iser_sg_to_page_vec()
224 struct ib_device *ibdev) in iser_data_buf_aligned_len() argument
234 start_addr = ib_sg_dma_address(ibdev, sgl); in iser_data_buf_aligned_len()
244 end_addr = start_addr + ib_sg_dma_len(ibdev, sg); in iser_data_buf_aligned_len()
245 start_addr = ib_sg_dma_address(ibdev, next_sg); in iser_data_buf_aligned_len()
263 struct ib_device *ibdev) in iser_data_buf_dump() argument
275 i, (unsigned long)ib_sg_dma_address(ibdev, sg), in iser_data_buf_dump()
277 sg->length, ib_sg_dma_len(ibdev, sg)); in iser_data_buf_dump()
292 struct ib_device *ibdev) in iser_page_vec_build() argument
300 page_vec_len = iser_sg_to_page_vec(data, page_vec, ibdev); in iser_page_vec_build()
307 iser_data_buf_dump(data, ibdev); in iser_page_vec_build()
361 struct ib_device *ibdev = device->ib_device; in iser_reg_rdma_mem() local
371 aligned_len = iser_data_buf_aligned_len(mem, ibdev); in iser_reg_rdma_mem()
376 iser_data_buf_dump(mem, ibdev); in iser_reg_rdma_mem()
394 regd_buf->reg.len = ib_sg_dma_len(ibdev, &sg[0]); in iser_reg_rdma_mem()
395 regd_buf->reg.va = ib_sg_dma_address(ibdev, &sg[0]); in iser_reg_rdma_mem()
405 iser_page_vec_build(mem, ib_conn->page_vec, ibdev); in iser_reg_rdma_mem()
408 iser_data_buf_dump(mem, ibdev); in iser_reg_rdma_mem()