Searched refs:mmap_entry (Results 1 – 3 of 3) sorted by relevance
97 struct rdma_user_mmap_entry *mmap_entry; in UVERBS_HANDLER() local106 mmap_entry = ib_dev->ops.pgoff_to_mmap_entry(attrs->context, pg_off); in UVERBS_HANDLER()107 if (!mmap_entry) in UVERBS_HANDLER()110 ret = ib_dev->ops.mmap_get_pfns(mmap_entry, &uverbs_dmabuf->phys_vec, in UVERBS_HANDLER()129 mutex_lock(&mmap_entry->dmabufs_lock); in UVERBS_HANDLER()130 if (mmap_entry->driver_removed) in UVERBS_HANDLER()133 list_add_tail(&uverbs_dmabuf->dmabufs_elm, &mmap_entry->dmabufs); in UVERBS_HANDLER()134 mutex_unlock(&mmap_entry->dmabufs_lock); in UVERBS_HANDLER()139 uverbs_dmabuf->mmap_entry = mmap_entry; in UVERBS_HANDLER()146 rdma_user_mmap_entry_put(mmap_entry); in UVERBS_HANDLER()[all …]
140 struct rdma_user_mmap_entry *mmap_entry; member
1052 rdma_user_mmap_entry_remove(cq->mmap_entry); in efa_cq_user_mmap_entries_remove() 1088 cq->mmap_entry = efa_user_mmap_entry_insert(&cq->ucontext->ibucontext, in cq_mmap_entries_setup() 1092 if (!cq->mmap_entry) in cq_mmap_entries_setup() 1102 rdma_user_mmap_entry_remove(cq->mmap_entry); in cq_mmap_entries_setup()