From: Mathieu Desnoyers Date: Tue, 27 Sep 2011 18:45:41 +0000 (-0400) Subject: rculfhash: rename _next into _next_duplicate X-Git-Tag: v0.7.0~43^2~120 X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=commitdiff_plain;h=3883c0e5c31408fa15090c6e1ef1e0316530f773 rculfhash: rename _next into _next_duplicate Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 79b8e86..50b7834 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -1355,7 +1355,7 @@ void cds_lfht_lookup(struct cds_lfht *ht, void *key, size_t key_len, iter->next = next; } -void cds_lfht_next(struct cds_lfht *ht, struct cds_lfht_iter *iter) +void cds_lfht_next_duplicate(struct cds_lfht *ht, struct cds_lfht_iter *iter) { struct cds_lfht_node *node, *next; unsigned long reverse_hash; diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index a08f043..5e149ef 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -185,7 +185,7 @@ void cds_lfht_lookup(struct cds_lfht *ht, void *key, size_t key_len, struct cds_lfht_iter *iter); /* - * cds_lfht_next - get the next item with same key (after a lookup). + * cds_lfht_next_duplicate - get the next item with same key (after a lookup). * * Uses an iterator initialized by a lookup. * Sets *iter-node to the following node with same key. @@ -195,7 +195,7 @@ void cds_lfht_lookup(struct cds_lfht *ht, void *key, size_t key_len, * node returned by a previous cds_lfht_next. * Call with rcu_read_lock held. */ -void cds_lfht_next(struct cds_lfht *ht, struct cds_lfht_iter *iter); +void cds_lfht_next_duplicate(struct cds_lfht *ht, struct cds_lfht_iter *iter); /* * cds_lfht_add - add a node to the hash table.