projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja: rename to cds_ja
[userspace-rcu.git]
/
rcuja
/
rcuja-internal.h
diff --git
a/rcuja/rcuja-internal.h
b/rcuja/rcuja-internal.h
index 80202ed0f9683eacaf3d888a512406e676f05f91..b1d7baadd229800a223a10762eafd6d7888f25a3 100644
(file)
--- a/
rcuja/rcuja-internal.h
+++ b/
rcuja/rcuja-internal.h
@@
-27,14
+27,14
@@
#include <urcu/rculfhash.h>
/* Never declared. Opaque type used to store flagged node pointers. */
#include <urcu/rculfhash.h>
/* Never declared. Opaque type used to store flagged node pointers. */
-struct
rcu
_ja_node_flag;
+struct
cds
_ja_node_flag;
/*
* Shadow node contains mutex and call_rcu head associated with a node.
*/
/*
* Shadow node contains mutex and call_rcu head associated with a node.
*/
-struct
rcu
_ja_shadow_node {
+struct
cds
_ja_shadow_node {
struct cds_lfht_node ht_node; /* hash table node */
struct cds_lfht_node ht_node; /* hash table node */
- struct
rcu
_ja_node *node; /* reverse mapping and hash table key */
+ struct
cds
_ja_node *node; /* reverse mapping and hash table key */
/*
* mutual exclusion on all nodes belonging to the same tree
* position (e.g. both nodes before and after recompaction
/*
* mutual exclusion on all nodes belonging to the same tree
* position (e.g. both nodes before and after recompaction
@@
-45,8
+45,8
@@
struct rcu_ja_shadow_node {
struct rcu_head head; /* for deferred node and shadow node reclaim */
};
struct rcu_head head; /* for deferred node and shadow node reclaim */
};
-struct
rcu
_ja {
- struct
rcu
_ja_node_flag *root;
+struct
cds
_ja {
+ struct
cds
_ja_node_flag *root;
/*
* We use a hash table to associate node keys to their
* respective shadow node. This helps reducing lookup hot path
/*
* We use a hash table to associate node keys to their
* respective shadow node. This helps reducing lookup hot path
@@
-56,14
+56,14
@@
struct rcu_ja {
};
__attribute__((visibility("protected")))
};
__attribute__((visibility("protected")))
-struct
rcu
_ja_shadow_node *rcuja_shadow_lookup_lock(struct cds_lfht *ht,
- struct
rcu
_ja_node *node);
+struct
cds
_ja_shadow_node *rcuja_shadow_lookup_lock(struct cds_lfht *ht,
+ struct
cds
_ja_node *node);
__attribute__((visibility("protected")))
__attribute__((visibility("protected")))
-void rcuja_shadow_unlock(struct
rcu
_ja_shadow_node *shadow_node);
+void rcuja_shadow_unlock(struct
cds
_ja_shadow_node *shadow_node);
__attribute__((visibility("protected")))
int rcuja_shadow_set(struct cds_lfht *ht,
__attribute__((visibility("protected")))
int rcuja_shadow_set(struct cds_lfht *ht,
- struct
rcu
_ja_node *new_node,
- struct
rcu
_ja_shadow_node *inherit_from);
+ struct
cds
_ja_node *new_node,
+ struct
cds
_ja_shadow_node *inherit_from);
__attribute__((visibility("protected")))
/* rcuja_shadow_clear flags */
__attribute__((visibility("protected")))
/* rcuja_shadow_clear flags */
@@
-73,7
+73,7
@@
enum {
};
int rcuja_shadow_clear(struct cds_lfht *ht,
};
int rcuja_shadow_clear(struct cds_lfht *ht,
- struct
rcu
_ja_node *node,
+ struct
cds
_ja_node *node,
unsigned int flags);
__attribute__((visibility("protected")))
struct cds_lfht *rcuja_create_ht(const struct rcu_flavor_struct *flavor);
unsigned int flags);
__attribute__((visibility("protected")))
struct cds_lfht *rcuja_create_ht(const struct rcu_flavor_struct *flavor);
This page took
0.023816 seconds
and
4
git commands to generate.