rcuja: document that destroy free_node_cb does not need to wait for Q.S.
[userspace-rcu.git] / rcuja / rcuja-internal.h
index 202f168a62fadcc50d50ca93ecbfcfe4ab724429..2d3f131e7764c64f2e57448c72ee385043869e1b 100644 (file)
@@ -165,7 +165,7 @@ struct cds_ja_inode *ja_node_ptr(struct cds_ja_inode_flag *node)
                v &= JA_PTR_MASK;
                break;
        }
-       return (struct cds_ja_node *) v;
+       return (struct cds_ja_inode *) v;
 }
 
 __attribute__((visibility("protected")))
@@ -174,7 +174,7 @@ unsigned long ja_node_type(struct cds_ja_inode_flag *node);
 __attribute__((visibility("protected")))
 void rcuja_free_all_children(struct cds_ja_shadow_node *shadow_node,
                struct cds_ja_inode_flag *node_flag,
-               void (*rcu_free_node)(struct cds_ja_node *node));
+               void (*free_node_cb)(struct cds_ja_node *node));
 
 __attribute__((visibility("protected")))
 struct cds_ja_shadow_node *rcuja_shadow_lookup_lock(struct cds_lfht *ht,
@@ -204,7 +204,7 @@ int rcuja_shadow_clear(struct cds_lfht *ht,
 __attribute__((visibility("protected")))
 void rcuja_shadow_prune(struct cds_lfht *ht,
                unsigned int flags,
-               void (*rcu_free_node)(struct cds_ja_node *node));
+               void (*free_node_cb)(struct cds_ja_node *node));
 
 __attribute__((visibility("protected")))
 struct cds_lfht *rcuja_create_ht(const struct rcu_flavor_struct *flavor);
This page took 0.023616 seconds and 4 git commands to generate.