Searched refs:async_q (Results 1 – 1 of 1) sorted by relevance
4916 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_free_mem() local4926 dma_unmap_single(vhost->dev, async_q->msg_token, in ibmvfc_free_mem()4927 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); in ibmvfc_free_mem()4928 free_page((unsigned long)async_q->msgs); in ibmvfc_free_mem()4941 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_alloc_mem() local4945 async_q->msgs = (struct ibmvfc_async_crq *)get_zeroed_page(GFP_KERNEL); in ibmvfc_alloc_mem()4946 if (!async_q->msgs) { in ibmvfc_alloc_mem()4951 async_q->size = PAGE_SIZE / sizeof(struct ibmvfc_async_crq); in ibmvfc_alloc_mem()4952 async_q->msg_token = dma_map_single(dev, async_q->msgs, in ibmvfc_alloc_mem()4953 async_q->size * sizeof(*async_q->msgs), in ibmvfc_alloc_mem()[all …]