projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RCU lock-free hash table: implement cds_lfht_is_node_deleted()
[userspace-rcu.git]
/
rculfhash-internal.h
diff --git
a/rculfhash-internal.h
b/rculfhash-internal.h
index a8a1ce42f1af1620f62aa7df9161ea68c5c05b14..284125af29887ca474206391ae69e0fe5d7eec2f 100644
(file)
--- a/
rculfhash-internal.h
+++ b/
rculfhash-internal.h
@@
-137,8
+137,8
@@
struct cds_lfht {
*/
};
*/
};
-extern unsigned int fls_ulong(unsigned long x);
-extern int get_count_order_ulong(unsigned long x);
+extern unsigned int
cds_lfht_
fls_ulong(unsigned long x);
+extern int
cds_lfht_
get_count_order_ulong(unsigned long x);
#ifdef POISON_FREE
#define poison_free(ptr) \
#ifdef POISON_FREE
#define poison_free(ptr) \
@@
-168,7
+168,7
@@
struct cds_lfht *__default_alloc_cds_lfht(
ht->bucket_at = mm->bucket_at;
ht->min_nr_alloc_buckets = min_nr_alloc_buckets;
ht->min_alloc_buckets_order =
ht->bucket_at = mm->bucket_at;
ht->min_nr_alloc_buckets = min_nr_alloc_buckets;
ht->min_alloc_buckets_order =
- get_count_order_ulong(min_nr_alloc_buckets);
+
cds_lfht_
get_count_order_ulong(min_nr_alloc_buckets);
ht->max_nr_buckets = max_nr_buckets;
return ht;
ht->max_nr_buckets = max_nr_buckets;
return ht;
This page took
0.023512 seconds
and
4
git commands to generate.