Lines Matching refs:obj
106 #define to_drm_gem_shmem_obj(obj) \ argument
107 container_of(obj, struct drm_gem_shmem_object, base)
110 void drm_gem_shmem_free_object(struct drm_gem_object *obj);
114 int drm_gem_shmem_pin(struct drm_gem_object *obj);
115 void drm_gem_shmem_unpin(struct drm_gem_object *obj);
116 int drm_gem_shmem_vmap(struct drm_gem_object *obj, struct dma_buf_map *map);
117 void drm_gem_shmem_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map);
119 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv);
128 void drm_gem_shmem_purge_locked(struct drm_gem_object *obj);
129 bool drm_gem_shmem_purge(struct drm_gem_object *obj);
134 int drm_gem_shmem_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
137 const struct drm_gem_object *obj);
139 struct sg_table *drm_gem_shmem_get_sg_table(struct drm_gem_object *obj);
152 static inline void drm_gem_shmem_object_free(struct drm_gem_object *obj) in drm_gem_shmem_object_free() argument
154 drm_gem_shmem_free_object(obj); in drm_gem_shmem_object_free()
167 const struct drm_gem_object *obj) in drm_gem_shmem_object_print_info() argument
169 drm_gem_shmem_print_info(p, indent, obj); in drm_gem_shmem_object_print_info()
179 static inline int drm_gem_shmem_object_pin(struct drm_gem_object *obj) in drm_gem_shmem_object_pin() argument
181 return drm_gem_shmem_pin(obj); in drm_gem_shmem_object_pin()
191 static inline void drm_gem_shmem_object_unpin(struct drm_gem_object *obj) in drm_gem_shmem_object_unpin() argument
193 drm_gem_shmem_unpin(obj); in drm_gem_shmem_object_unpin()
206 static inline struct sg_table *drm_gem_shmem_object_get_sg_table(struct drm_gem_object *obj) in drm_gem_shmem_object_get_sg_table() argument
208 return drm_gem_shmem_get_sg_table(obj); in drm_gem_shmem_object_get_sg_table()
222 static inline int drm_gem_shmem_object_vmap(struct drm_gem_object *obj, struct dma_buf_map *map) in drm_gem_shmem_object_vmap() argument
224 return drm_gem_shmem_vmap(obj, map); in drm_gem_shmem_object_vmap()
235 static inline void drm_gem_shmem_object_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map) in drm_gem_shmem_object_vunmap() argument
237 drm_gem_shmem_vunmap(obj, map); in drm_gem_shmem_object_vunmap()
251 static inline int drm_gem_shmem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in drm_gem_shmem_object_mmap() argument
253 return drm_gem_shmem_mmap(obj, vma); in drm_gem_shmem_object_mmap()
265 struct sg_table *drm_gem_shmem_get_pages_sgt(struct drm_gem_object *obj);