Rev 1408 | Rev 3192 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1408 | Rev 1964 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | struct hlist_node head; |
43 | struct hlist_node head; |
44 | unsigned long key; |
44 | unsigned long key; |
45 | }; |
45 | }; |
Line 46... | Line 46... | ||
46 | 46 | ||
47 | struct drm_open_hash { |
- | |
48 | unsigned int size; |
- | |
49 | unsigned int order; |
- | |
50 | unsigned int fill; |
47 | struct drm_open_hash { |
51 | struct hlist_head *table; |
48 | struct hlist_head *table; |
52 | int use_vmalloc; |
49 | u8 order; |
Line 53... | Line -... | ||
53 | }; |
- | |
54 | 50 | }; |
|
55 | 51 | ||
56 | extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order); |
52 | extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order); |
57 | extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); |
53 | extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); |
58 | extern int drm_ht_just_insert_please(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, |