From 3883c0e5c31408fa15090c6e1ef1e0316530f773 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 27 Sep 2011 14:45:41 -0400 Subject: [PATCH] rculfhash: rename _next into _next_duplicate Signed-off-by: Mathieu Desnoyers --- rculfhash.c | 2 +- urcu/rculfhash.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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. -- 2.34.1