Rev 1964 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1964 | Rev 3192 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); |
59 | extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); |
60 | extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key); |
60 | extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key); |
61 | extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); |
61 | extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); |
62 | extern void drm_ht_remove(struct drm_open_hash *ht); |
62 | extern void drm_ht_remove(struct drm_open_hash *ht); |
Line -... | Line 63... | ||
- | 63 | ||
- | 64 | /* |
|
- | 65 | * RCU-safe interface |
|
- | 66 | * |
|
- | 67 | * The user of this API needs to make sure that two or more instances of the |
|
- | 68 | * hash table manipulation functions are never run simultaneously. |
|
- | 69 | * The lookup function drm_ht_find_item_rcu may, however, run simultaneously |
|
- | 70 | * with any of the manipulation functions as long as it's called from within |
|
- | 71 | * an RCU read-locked section. |
|
- | 72 | */ |
|
- | 73 | #define drm_ht_insert_item_rcu drm_ht_insert_item |
|
- | 74 | #define drm_ht_just_insert_please_rcu drm_ht_just_insert_please |
|
- | 75 | #define drm_ht_remove_key_rcu drm_ht_remove_key |
|
- | 76 | #define drm_ht_remove_item_rcu drm_ht_remove_item |
|
Line 63... | Line 77... | ||
63 | 77 | #define drm_ht_find_item_rcu drm_ht_find_item |