Searched refs:async_q (Results 1 – 1 of 1) sorted by relevance
4581 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_free_mem() local4591 dma_unmap_single(vhost->dev, async_q->msg_token, in ibmvfc_free_mem()4592 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); in ibmvfc_free_mem()4593 free_page((unsigned long)async_q->msgs); in ibmvfc_free_mem()4606 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_alloc_mem() local4610 async_q->msgs = (struct ibmvfc_async_crq *)get_zeroed_page(GFP_KERNEL); in ibmvfc_alloc_mem()4611 if (!async_q->msgs) { in ibmvfc_alloc_mem()4616 async_q->size = PAGE_SIZE / sizeof(struct ibmvfc_async_crq); in ibmvfc_alloc_mem()4617 async_q->msg_token = dma_map_single(dev, async_q->msgs, in ibmvfc_alloc_mem()4618 async_q->size * sizeof(*async_q->msgs), in ibmvfc_alloc_mem()[all …]