Home
last modified time | relevance | path

Searched refs:drm_open_hash (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/include/drm/
Ddrm_hashtab.h47 struct drm_open_hash { struct
52 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order); argument
53 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
54 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
57 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **ite…
59 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
60 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
61 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
62 extern void drm_ht_remove(struct drm_open_hash *ht);
DdrmP.h766 struct drm_open_hash map_hash; /**< User token hash table for maps */
/linux-4.4.14/drivers/gpu/drm/
Ddrm_hashtab.c41 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create()
59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list()
73 static struct hlist_node *drm_ht_find_key(struct drm_open_hash *ht, in drm_ht_find_key()
91 static struct hlist_node *drm_ht_find_key_rcu(struct drm_open_hash *ht, in drm_ht_find_key_rcu()
109 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_insert_item()
140 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, in drm_ht_just_insert_please()
165 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, in drm_ht_find_item()
179 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) in drm_ht_remove_key()
191 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_remove_item()
198 void drm_ht_remove(struct drm_open_hash *ht) in drm_ht_remove()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_object.c73 struct drm_open_hash ref_hash[TTM_REF_NUM];
91 struct drm_open_hash object_hash;
234 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup()
256 struct drm_open_hash *ht = &tdev->object_hash; in ttm_base_object_lookup_for_ref()
286 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists()
323 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add()
393 struct drm_open_hash *ht; in ttm_ref_object_release()
413 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c62 struct drm_open_hash resources;
Dvmwgfx_drv.h291 struct drm_open_hash res_ht;