Searched refs:mmap_offset (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_mmap.c144 if (dev->mmap_offset == 0) ipath_create_mmap_info()
145 dev->mmap_offset = PAGE_SIZE; ipath_create_mmap_info()
146 ip->offset = dev->mmap_offset; ipath_create_mmap_info()
147 dev->mmap_offset += size; ipath_create_mmap_info()
166 if (dev->mmap_offset == 0) ipath_update_mmap_info()
167 dev->mmap_offset = PAGE_SIZE; ipath_update_mmap_info()
168 ip->offset = dev->mmap_offset; ipath_update_mmap_info()
169 dev->mmap_offset += size; ipath_update_mmap_info()
H A Dipath_verbs.h546 u32 mmap_offset; member in struct:ipath_ibdev
H A Dipath_verbs.c2083 idev->mmap_offset = PAGE_SIZE; ipath_register_ib_device()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_mmap.c144 if (dev->mmap_offset == 0) qib_create_mmap_info()
145 dev->mmap_offset = PAGE_SIZE; qib_create_mmap_info()
146 ip->offset = dev->mmap_offset; qib_create_mmap_info()
147 dev->mmap_offset += size; qib_create_mmap_info()
166 if (dev->mmap_offset == 0) qib_update_mmap_info()
167 dev->mmap_offset = PAGE_SIZE; qib_update_mmap_info()
168 ip->offset = dev->mmap_offset; qib_update_mmap_info()
169 dev->mmap_offset += size; qib_update_mmap_info()
H A Dqib_verbs.h757 spinlock_t mmap_offset_lock; /* protect mmap_offset */
758 u32 mmap_offset; member in struct:qib_ibdev
H A Dqib_verbs.c2149 dev->mmap_offset = PAGE_SIZE; qib_register_ib_device()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dmmap.c162 if (dev->mmap_offset == 0) hfi1_create_mmap_info()
163 dev->mmap_offset = PAGE_SIZE; hfi1_create_mmap_info()
164 ip->offset = dev->mmap_offset; hfi1_create_mmap_info()
165 dev->mmap_offset += size; hfi1_create_mmap_info()
184 if (dev->mmap_offset == 0) hfi1_update_mmap_info()
185 dev->mmap_offset = PAGE_SIZE; hfi1_update_mmap_info()
186 ip->offset = dev->mmap_offset; hfi1_update_mmap_info()
187 dev->mmap_offset += size; hfi1_update_mmap_info()
H A Dverbs.h740 spinlock_t mmap_offset_lock; /* protect mmap_offset */
741 u32 mmap_offset; member in struct:hfi1_ibdev
H A Dverbs.c1970 dev->mmap_offset = PAGE_SIZE; hfi1_register_ib_device()
/linux-4.4.14/drivers/gpu/drm/msm/
H A Dmsm_gem.c249 static uint64_t mmap_offset(struct drm_gem_object *obj) mmap_offset() function
271 offset = mmap_offset(obj); msm_gem_mmap_offset()
303 offset = (uint32_t)mmap_offset(obj); msm_gem_get_iova_locked()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
H A Domap_gem.c123 static uint64_t mmap_offset(struct drm_gem_object *obj);
159 loff_t off = mmap_offset(obj) + evict_entry()
305 static uint64_t mmap_offset(struct drm_gem_object *obj) mmap_offset() function
328 offset = mmap_offset(obj); omap_gem_mmap_offset()
/linux-4.4.14/drivers/gpu/drm/qxl/
H A Dqxl_fb.c372 "surface0 at gpu offset %lld, mmap_offset %lld (virt %p, shadow %p)\n", qxlfb_create()

Completed in 361 milliseconds