Home
last modified time | relevance | path

Searched refs:mmap_xa (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dib_core_uverbs.c16 * @entry: entry into the mmap_xa that needs to be linked with
102 * rdma_user_mmap_entry_get_pgoff() - Get an entry from the mmap_xa
125 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff()
127 entry = xa_load(&ucontext->mmap_xa, pgoff); in rdma_user_mmap_entry_get_pgoff()
138 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff()
146 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff()
152 * rdma_user_mmap_entry_get() - Get an entry from the mmap_xa
190 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_free()
192 __xa_erase(&ucontext->mmap_xa, entry->start_pgoff + i); in rdma_user_mmap_entry_free()
193 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_free()
[all...]
H A Drdma_core.c837 WARN_ON(!xa_empty(&ucontext->mmap_xa)); in ufile_destroy_ucontext()
H A Duverbs_cmd.c223 xa_init_flags(&ucontext->mmap_xa, XA_FLAGS_ALLOC); in ib_alloc_ucontext()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dib_core_uverbs.c16 * @entry: entry into the mmap_xa that needs to be linked with
102 * rdma_user_mmap_entry_get_pgoff() - Get an entry from the mmap_xa
125 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff()
127 entry = xa_load(&ucontext->mmap_xa, pgoff); in rdma_user_mmap_entry_get_pgoff()
138 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff()
146 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff()
152 * rdma_user_mmap_entry_get() - Get an entry from the mmap_xa
190 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_free()
192 __xa_erase(&ucontext->mmap_xa, entry->start_pgoff + i); in rdma_user_mmap_entry_free()
193 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_free()
[all...]
H A Drdma_core.c874 WARN_ON(!xa_empty(&ucontext->mmap_xa)); in ufile_destroy_ucontext()
H A Duverbs_cmd.c223 xa_init_flags(&ucontext->mmap_xa, XA_FLAGS_ALLOC); in ib_alloc_ucontext()
/kernel/linux/linux-5.10/include/rdma/
H A Dib_verbs.h1491 struct xarray mmap_xa; member
2393 * This will be called once refcount of an entry in mmap_xa reaches
/kernel/linux/linux-6.6/include/rdma/
H A Dib_verbs.h1521 struct xarray mmap_xa; member
2449 * This will be called once refcount of an entry in mmap_xa reaches

Completed in 30 milliseconds