Lines Matching refs:rxe
13 #include "rxe.h"
21 struct rxe_dev *rxe = to_rdev(ip->context->device);
23 spin_lock_bh(&rxe->pending_lock);
28 spin_unlock_bh(&rxe->pending_lock);
65 struct rxe_dev *rxe = to_rdev(context->device);
76 spin_lock_bh(&rxe->pending_lock);
77 list_for_each_entry_safe(ip, pp, &rxe->pending_mmaps, pending_mmaps) {
84 spin_unlock_bh(&rxe->pending_lock);
92 spin_unlock_bh(&rxe->pending_lock);
98 spin_unlock_bh(&rxe->pending_lock);
116 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *rxe, u32 size,
130 spin_lock_bh(&rxe->mmap_offset_lock);
132 if (rxe->mmap_offset == 0)
133 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA);
135 ip->info.offset = rxe->mmap_offset;
136 rxe->mmap_offset += ALIGN(size, SHMLBA);
138 spin_unlock_bh(&rxe->mmap_offset_lock);