Lines Matching refs:rdma_entry
30 struct rdma_user_mmap_entry rdma_entry; member
162 to_emmap(struct rdma_user_mmap_entry *rdma_entry) in to_emmap() argument
164 return container_of(rdma_entry, struct efa_user_mmap_entry, rdma_entry); in to_emmap()
476 err = rdma_user_mmap_entry_insert(ucontext, &entry->rdma_entry, in efa_user_mmap_entry_insert()
482 *offset = rdma_user_mmap_get_offset(&entry->rdma_entry); in efa_user_mmap_entry_insert()
484 return &entry->rdma_entry; in efa_user_mmap_entry_insert()
1856 void efa_mmap_free(struct rdma_user_mmap_entry *rdma_entry) in efa_mmap_free() argument
1858 struct efa_user_mmap_entry *entry = to_emmap(rdma_entry); in efa_mmap_free()
1866 struct rdma_user_mmap_entry *rdma_entry; in __efa_mmap() local
1872 rdma_entry = rdma_user_mmap_entry_get(&ucontext->ibucontext, vma); in __efa_mmap()
1873 if (!rdma_entry) { in __efa_mmap()
1880 entry = to_emmap(rdma_entry); in __efa_mmap()
1884 entry->address, rdma_entry->npages * PAGE_SIZE, in __efa_mmap()
1891 entry->rdma_entry.npages * PAGE_SIZE, in __efa_mmap()
1893 rdma_entry); in __efa_mmap()
1897 entry->rdma_entry.npages * PAGE_SIZE, in __efa_mmap()
1899 rdma_entry); in __efa_mmap()
1917 entry->address, rdma_entry->npages * PAGE_SIZE, in __efa_mmap()
1922 rdma_user_mmap_entry_put(rdma_entry); in __efa_mmap()