Lines Matching refs:key
62 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() argument
69 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
70 DRM_DEBUG("Key is 0x%08lx, Hashed key is 0x%08x\n", key, hashed_key); in drm_ht_verbose_list()
73 DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key); in drm_ht_verbose_list()
77 unsigned long key) in drm_ht_find_key() argument
83 hashed_key = hash_long(key, ht->order); in drm_ht_find_key()
86 if (entry->key == key) in drm_ht_find_key()
88 if (entry->key > key) in drm_ht_find_key()
95 unsigned long key) in drm_ht_find_key_rcu() argument
101 hashed_key = hash_long(key, ht->order); in drm_ht_find_key_rcu()
104 if (entry->key == key) in drm_ht_find_key_rcu()
106 if (entry->key > key) in drm_ht_find_key_rcu()
118 unsigned long key = item->key; in drm_ht_insert_item() local
120 hashed_key = hash_long(key, ht->order); in drm_ht_insert_item()
124 if (entry->key == key) in drm_ht_insert_item()
126 if (entry->key > key) in drm_ht_insert_item()
153 item->key = (unshifted_key << shift) + add; in drm_ht_just_insert_please()
166 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, in drm_ht_find_item() argument
171 list = drm_ht_find_key_rcu(ht, 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() argument
183 list = drm_ht_find_key(ht, key); in drm_ht_remove_key()