Searched refs:async_q (Results 1 – 1 of 1) sorted by relevance
4576 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_free_mem() local4586 dma_unmap_single(vhost->dev, async_q->msg_token, in ibmvfc_free_mem()4587 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); in ibmvfc_free_mem()4588 free_page((unsigned long)async_q->msgs); in ibmvfc_free_mem()4601 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_alloc_mem() local4605 async_q->msgs = (struct ibmvfc_async_crq *)get_zeroed_page(GFP_KERNEL); in ibmvfc_alloc_mem()4606 if (!async_q->msgs) { in ibmvfc_alloc_mem()4611 async_q->size = PAGE_SIZE / sizeof(struct ibmvfc_async_crq); in ibmvfc_alloc_mem()4612 async_q->msg_token = dma_map_single(dev, async_q->msgs, in ibmvfc_alloc_mem()4613 async_q->size * sizeof(*async_q->msgs), in ibmvfc_alloc_mem()[all …]