Lines Matching refs:drm_gem_object
126 struct drm_gem_object *obj, size_t size) in drm_gem_object_init()
153 struct drm_gem_object *obj, size_t size) in drm_gem_private_object_init()
182 static void drm_gem_object_handle_free(struct drm_gem_object *obj) in drm_gem_object_handle_free()
193 static void drm_gem_object_exported_dma_buf_free(struct drm_gem_object *obj) in drm_gem_object_exported_dma_buf_free()
203 drm_gem_object_handle_put_unlocked(struct drm_gem_object *obj) in drm_gem_object_handle_put_unlocked()
237 struct drm_gem_object *obj = ptr; in drm_gem_object_release_handle()
262 struct drm_gem_object *obj; in drm_gem_handle_delete()
300 struct drm_gem_object *obj; in drm_gem_dumb_map_offset()
348 struct drm_gem_object *obj, in drm_gem_handle_create_tail()
415 struct drm_gem_object *obj, in drm_gem_handle_create()
436 drm_gem_free_mmap_offset(struct drm_gem_object *obj) in drm_gem_free_mmap_offset()
462 drm_gem_create_mmap_offset_size(struct drm_gem_object *obj, size_t size) in drm_gem_create_mmap_offset_size()
485 int drm_gem_create_mmap_offset(struct drm_gem_object *obj) in drm_gem_create_mmap_offset()
527 struct page **drm_gem_get_pages(struct drm_gem_object *obj) in drm_gem_get_pages()
594 void drm_gem_put_pages(struct drm_gem_object *obj, struct page **pages, in drm_gem_put_pages()
635 struct drm_gem_object **objs) in objects_lookup()
638 struct drm_gem_object *obj; in objects_lookup()
677 int count, struct drm_gem_object ***objs_out) in drm_gem_objects_lookup()
681 struct drm_gem_object **objs; in drm_gem_objects_lookup()
686 objs = kvmalloc_array(count, sizeof(struct drm_gem_object *), in drm_gem_objects_lookup()
725 struct drm_gem_object *
728 struct drm_gem_object *obj = NULL; in drm_gem_object_lookup()
752 struct drm_gem_object *obj; in drm_gem_dma_resv_wait()
812 struct drm_gem_object *obj; in drm_gem_flink_ioctl()
862 struct drm_gem_object *obj; in drm_gem_open_ioctl()
931 drm_gem_object_release(struct drm_gem_object *obj) in drm_gem_object_release()
955 struct drm_gem_object *obj = in drm_gem_object_free()
956 container_of(kref, struct drm_gem_object, refcount); in drm_gem_object_free()
974 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_vm_open()
989 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_vm_close()
1019 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, in drm_gem_mmap_obj()
1082 struct drm_gem_object *obj = NULL; in drm_gem_mmap()
1094 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_mmap()
1128 const struct drm_gem_object *obj) in drm_gem_print_info()
1143 int drm_gem_pin(struct drm_gem_object *obj) in drm_gem_pin()
1151 void drm_gem_unpin(struct drm_gem_object *obj) in drm_gem_unpin()
1157 int drm_gem_vmap(struct drm_gem_object *obj, struct iosys_map *map) in drm_gem_vmap()
1174 void drm_gem_vunmap(struct drm_gem_object *obj, struct iosys_map *map) in drm_gem_vunmap()
1201 drm_gem_lock_reservations(struct drm_gem_object **objs, int count, in drm_gem_lock_reservations()
1211 struct drm_gem_object *obj = objs[contended]; in drm_gem_lock_reservations()
1253 drm_gem_unlock_reservations(struct drm_gem_object **objs, int count, in drm_gem_unlock_reservations()
1281 drm_gem_lru_remove_locked(struct drm_gem_object *obj) in drm_gem_lru_remove_locked()
1297 drm_gem_lru_remove(struct drm_gem_object *obj) in drm_gem_lru_remove()
1311 drm_gem_lru_move_tail_locked(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail_locked()
1334 drm_gem_lru_move_tail(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail()
1358 bool (*shrink)(struct drm_gem_object *obj)) in drm_gem_lru_scan()
1361 struct drm_gem_object *obj; in drm_gem_lru_scan()