Lines Matching refs:rdma_entry
313 ucontext, &entry->rdma_entry, length, 0); in hns_roce_user_mmap_entry_insert()
317 ucontext, &entry->rdma_entry, length, 1, in hns_roce_user_mmap_entry_insert()
337 &context->db_mmap_entry->rdma_entry); in hns_roce_dealloc_uar_entry()
427 struct rdma_user_mmap_entry *rdma_entry; in hns_roce_mmap() local
433 rdma_entry = rdma_user_mmap_entry_get_pgoff(uctx, vma->vm_pgoff); in hns_roce_mmap()
434 if (!rdma_entry) in hns_roce_mmap()
437 entry = to_hns_mmap(rdma_entry); in hns_roce_mmap()
449 ret = rdma_user_mmap_io(uctx, vma, pfn, rdma_entry->npages * PAGE_SIZE, in hns_roce_mmap()
450 prot, rdma_entry); in hns_roce_mmap()
452 rdma_user_mmap_entry_put(rdma_entry); in hns_roce_mmap()
457 static void hns_roce_free_mmap(struct rdma_user_mmap_entry *rdma_entry) in hns_roce_free_mmap() argument
459 struct hns_user_mmap_entry *entry = to_hns_mmap(rdma_entry); in hns_roce_free_mmap()