Lines Matching defs:obj
114 struct drm_gem_object *obj;
122 obj = &shmem->base;
125 mask = mapping_gfp_mask(obj->filp->f_mapping);
128 mapping_set_gfp_mask(obj->filp->f_mapping, mask);
131 bo = to_lima_bo(obj);
144 err = drm_gem_handle_create(file, obj, handle);
148 drm_gem_object_put(obj);
153 static void lima_gem_free_object(struct drm_gem_object *obj)
155 struct lima_bo *bo = to_lima_bo(obj);
158 dev_err(obj->dev->dev, "lima gem free bo still has va\n");
163 static int lima_gem_object_open(struct drm_gem_object *obj, struct drm_file *file)
165 struct lima_bo *bo = to_lima_bo(obj);
172 static void lima_gem_object_close(struct drm_gem_object *obj, struct drm_file *file)
174 struct lima_bo *bo = to_lima_bo(obj);
181 static int lima_gem_pin(struct drm_gem_object *obj)
183 struct lima_bo *bo = to_lima_bo(obj);
191 static int lima_gem_vmap(struct drm_gem_object *obj, struct iosys_map *map)
193 struct lima_bo *bo = to_lima_bo(obj);
201 static int lima_gem_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma)
203 struct lima_bo *bo = to_lima_bo(obj);
243 struct drm_gem_object *obj;
248 obj = drm_gem_object_lookup(file, handle);
249 if (!obj)
252 bo = to_lima_bo(obj);
256 *offset = drm_vma_node_offset_addr(&obj->vma_node);
258 drm_gem_object_put(obj);
314 struct drm_gem_object *obj;
317 obj = drm_gem_object_lookup(file, submit->bos[i].handle);
318 if (!obj) {
323 bo = to_lima_bo(obj);
330 drm_gem_object_put(obj);