Searched refs:async_q (Results 1 – 1 of 1) sorted by relevance
4945 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_free_mem() local4955 dma_unmap_single(vhost->dev, async_q->msg_token, in ibmvfc_free_mem()4956 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); in ibmvfc_free_mem()4957 free_page((unsigned long)async_q->msgs); in ibmvfc_free_mem()4970 struct ibmvfc_async_crq_queue *async_q = &vhost->async_crq; in ibmvfc_alloc_mem() local4974 async_q->msgs = (struct ibmvfc_async_crq *)get_zeroed_page(GFP_KERNEL); in ibmvfc_alloc_mem()4975 if (!async_q->msgs) { in ibmvfc_alloc_mem()4980 async_q->size = PAGE_SIZE / sizeof(struct ibmvfc_async_crq); in ibmvfc_alloc_mem()4981 async_q->msg_token = dma_map_single(dev, async_q->msgs, in ibmvfc_alloc_mem()4982 async_q->size * sizeof(*async_q->msgs), in ibmvfc_alloc_mem()[all …]