Lines Matching defs:rxe
12 #include "rxe.h"
20 struct rxe_dev *rxe = to_rdev(ip->context->device);
22 spin_lock_bh(&rxe->pending_lock);
27 spin_unlock_bh(&rxe->pending_lock);
64 struct rxe_dev *rxe = to_rdev(context->device);
75 spin_lock_bh(&rxe->pending_lock);
76 list_for_each_entry_safe(ip, pp, &rxe->pending_mmaps, pending_mmaps) {
82 rxe_dbg_dev(rxe, "mmap region is larger than the object!\n");
83 spin_unlock_bh(&rxe->pending_lock);
90 rxe_dbg_dev(rxe, "unable to find pending mmap info\n");
91 spin_unlock_bh(&rxe->pending_lock);
97 spin_unlock_bh(&rxe->pending_lock);
101 rxe_dbg_dev(rxe, "err %d from remap_vmalloc_range\n", ret);
115 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *rxe, u32 size,
129 spin_lock_bh(&rxe->mmap_offset_lock);
131 if (rxe->mmap_offset == 0)
132 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA);
134 ip->info.offset = rxe->mmap_offset;
135 rxe->mmap_offset += ALIGN(size, SHMLBA);
137 spin_unlock_bh(&rxe->mmap_offset_lock);