Home | History | Annotate | Download | only in drm

Lines Matching refs:item

118 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item)
124 unsigned long key = item->key;
137 hlist_add_behind_rcu(&item->head, parent);
139 hlist_add_head_rcu(&item->head, h_list);
146 * Just insert an item and return any "bits" bit key that hasn't been
149 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
160 item->key = (unshifted_key << shift) + add;
161 ret = drm_ht_insert_item(ht, item);
175 struct drm_hash_item **item)
183 *item = hlist_entry(list, struct drm_hash_item, head);
200 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item)
202 hlist_del_init_rcu(&item->head);