Lines Matching refs:item
105 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item)
111 unsigned long key = item->key;
125 hlist_add_after(parent, &item->head);
127 hlist_add_head(&item->head, h_list);
134 * Just insert an item and return any "bits" bit key that hasn't been
137 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
148 item->key = (unshifted_key << shift) + add;
149 ret = drm_ht_insert_item(ht, item);
163 struct drm_hash_item **item)
171 *item = hlist_entry(list, struct drm_hash_item, head);
189 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item)
191 hlist_del_init(&item->head);