Searched refs:async_q (Results 1 – 1 of 1) sorted by relevance
4539 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_free_mem() local4549 dma_unmap_single(vhost->dev, async_q->msg_token, in ibmvfc_free_mem()4550 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); in ibmvfc_free_mem()4551 free_page((unsigned long)async_q->msgs); in ibmvfc_free_mem()4564 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_alloc_mem() local4568 async_q->msgs = (struct ibmvfc_async_crq *)get_zeroed_page(GFP_KERNEL); in ibmvfc_alloc_mem()4569 if (!async_q->msgs) { in ibmvfc_alloc_mem()4574 async_q->size = PAGE_SIZE / sizeof(struct ibmvfc_async_crq); in ibmvfc_alloc_mem()4575 async_q->msg_token = dma_map_single(dev, async_q->msgs, in ibmvfc_alloc_mem()4576 async_q->size * sizeof(*async_q->msgs), in ibmvfc_alloc_mem()[all …]