Lines Matching refs:rdma_entry
311 ucontext, &entry->rdma_entry, length, in hns_roce_user_mmap_entry_insert()
325 &context->db_mmap_entry->rdma_entry); in hns_roce_dealloc_uar_entry()
329 &context->tptr_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()
444 ret = rdma_user_mmap_io(uctx, vma, pfn, rdma_entry->npages * PAGE_SIZE, in hns_roce_mmap()
445 prot, rdma_entry); in hns_roce_mmap()
447 rdma_user_mmap_entry_put(rdma_entry); in hns_roce_mmap()
452 static void hns_roce_free_mmap(struct rdma_user_mmap_entry *rdma_entry) in hns_roce_free_mmap() argument
454 struct hns_user_mmap_entry *entry = to_hns_mmap(rdma_entry); in hns_roce_free_mmap()