Searched refs:drm_open_hash (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/include/drm/ |
D | drm_hashtab.h | 47 struct drm_open_hash { struct 52 int drm_ht_create(struct drm_open_hash *ht, unsigned int order); argument 53 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 54 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 57 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); 60 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key); 61 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); 62 void drm_ht_remove(struct drm_open_hash *ht);
|
D | drm_device.h | 101 struct drm_open_hash map_hash; /**< User token hash table for maps */
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_hashtab.c | 41 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-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_object.c | 74 struct drm_open_hash ref_hash[TTM_REF_NUM]; 92 struct drm_open_hash object_hash; 235 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() 257 struct drm_open_hash *ht = &tdev->object_hash; in ttm_base_object_lookup_for_ref() 287 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() 325 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() 402 struct drm_open_hash *ht; in ttm_ref_object_release() 422 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf_res.c | 62 struct drm_open_hash resources;
|
D | vmwgfx_drv.h | 296 struct drm_open_hash res_ht;
|