Lines Matching refs:create_req

284 			    struct gdma_create_dma_region_req *create_req,  in mana_ib_gd_first_dma_region()  argument
293 struct_size(create_req, page_addr_list, num_pages); in mana_ib_gd_first_dma_region()
294 create_req->page_addr_list_len = num_pages; in mana_ib_gd_first_dma_region()
296 err = mana_gd_send_request(gc, create_req_msg_size, create_req, in mana_ib_gd_first_dma_region()
350 struct gdma_create_dma_region_req *create_req; in mana_ib_gd_create_dma_region() local
369 (hwc->max_req_msg_size - sizeof(*create_req)) / sizeof(u64); in mana_ib_gd_create_dma_region()
373 struct_size(create_req, page_addr_list, num_pages_to_handle); in mana_ib_gd_create_dma_region()
379 create_req = request_buf; in mana_ib_gd_create_dma_region()
380 mana_gd_init_req_hdr(&create_req->hdr, GDMA_CREATE_DMA_REGION, in mana_ib_gd_create_dma_region()
384 create_req->length = umem->length; in mana_ib_gd_create_dma_region()
385 create_req->offset_in_page = ib_umem_dma_offset(umem, page_sz); in mana_ib_gd_create_dma_region()
386 create_req->gdma_page_type = order_base_2(page_sz) - MANA_PAGE_SHIFT; in mana_ib_gd_create_dma_region()
387 create_req->page_count = num_pages_total; in mana_ib_gd_create_dma_region()
393 page_sz, create_req->offset_in_page); in mana_ib_gd_create_dma_region()
396 num_pages_to_handle, create_req->gdma_page_type); in mana_ib_gd_create_dma_region()
398 page_addr_list = create_req->page_addr_list; in mana_ib_gd_create_dma_region()
412 err = mana_ib_gd_first_dma_region(dev, gc, create_req, in mana_ib_gd_create_dma_region()