Lines Matching refs:rdma_entry
31 struct rdma_user_mmap_entry rdma_entry; member
163 to_emmap(struct rdma_user_mmap_entry *rdma_entry) in to_emmap() argument
165 return container_of(rdma_entry, struct efa_user_mmap_entry, rdma_entry); in to_emmap()
478 err = rdma_user_mmap_entry_insert(ucontext, &entry->rdma_entry, in efa_user_mmap_entry_insert()
484 *offset = rdma_user_mmap_get_offset(&entry->rdma_entry); in efa_user_mmap_entry_insert()
486 return &entry->rdma_entry; in efa_user_mmap_entry_insert()
1863 void efa_mmap_free(struct rdma_user_mmap_entry *rdma_entry) in efa_mmap_free() argument
1865 struct efa_user_mmap_entry *entry = to_emmap(rdma_entry); in efa_mmap_free()
1873 struct rdma_user_mmap_entry *rdma_entry; in __efa_mmap() local
1879 rdma_entry = rdma_user_mmap_entry_get(&ucontext->ibucontext, vma); in __efa_mmap()
1880 if (!rdma_entry) { in __efa_mmap()
1887 entry = to_emmap(rdma_entry); in __efa_mmap()
1891 entry->address, rdma_entry->npages * PAGE_SIZE, in __efa_mmap()
1898 entry->rdma_entry.npages * PAGE_SIZE, in __efa_mmap()
1900 rdma_entry); in __efa_mmap()
1904 entry->rdma_entry.npages * PAGE_SIZE, in __efa_mmap()
1906 rdma_entry); in __efa_mmap()
1924 entry->address, rdma_entry->npages * PAGE_SIZE, in __efa_mmap()
1929 rdma_user_mmap_entry_put(rdma_entry); in __efa_mmap()