projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Lai Jiangshan's copyright to rculfhash
[urcu.git]
/
rculfhash.c
diff --git
a/rculfhash.c
b/rculfhash.c
index bda3bd6e5e79b6cae109226430b8a23dc0e85f07..4f82da4451b48d73ceef111f7e23f26b22330af7 100644
(file)
--- a/
rculfhash.c
+++ b/
rculfhash.c
@@
-4,6
+4,7
@@
* Userspace RCU library - Lock-Free Resizable RCU Hash Table
*
* Copyright 2010-2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* Userspace RCU library - Lock-Free Resizable RCU Hash Table
*
* Copyright 2010-2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright 2011 - Lai Jiangshan <laijs@cn.fujitsu.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-318,7
+319,7
@@
struct partition_resize_work {
static
void _cds_lfht_add(struct cds_lfht *ht,
cds_lfht_match_fct match,
static
void _cds_lfht_add(struct cds_lfht *ht,
cds_lfht_match_fct match,
- void *key,
+
const
void *key,
unsigned long size,
struct cds_lfht_node *node,
struct cds_lfht_iter *unique_ret,
unsigned long size,
struct cds_lfht_node *node,
struct cds_lfht_iter *unique_ret,
@@
-890,7
+891,7
@@
int _cds_lfht_replace(struct cds_lfht *ht, unsigned long size,
static
void _cds_lfht_add(struct cds_lfht *ht,
cds_lfht_match_fct match,
static
void _cds_lfht_add(struct cds_lfht *ht,
cds_lfht_match_fct match,
- void *key,
+
const
void *key,
unsigned long size,
struct cds_lfht_node *node,
struct cds_lfht_iter *unique_ret,
unsigned long size,
struct cds_lfht_node *node,
struct cds_lfht_iter *unique_ret,
@@
-1382,7
+1383,7
@@
struct cds_lfht *_cds_lfht_new(unsigned long init_size,
}
void cds_lfht_lookup(struct cds_lfht *ht, unsigned long hash,
}
void cds_lfht_lookup(struct cds_lfht *ht, unsigned long hash,
- cds_lfht_match_fct match, void *key,
+ cds_lfht_match_fct match,
const
void *key,
struct cds_lfht_iter *iter)
{
struct cds_lfht_node *node, *next, *bucket;
struct cds_lfht_iter *iter)
{
struct cds_lfht_node *node, *next, *bucket;
@@
-1420,7
+1421,7
@@
void cds_lfht_lookup(struct cds_lfht *ht, unsigned long hash,
}
void cds_lfht_next_duplicate(struct cds_lfht *ht, cds_lfht_match_fct match,
}
void cds_lfht_next_duplicate(struct cds_lfht *ht, cds_lfht_match_fct match,
- void *key, struct cds_lfht_iter *iter)
+
const
void *key, struct cds_lfht_iter *iter)
{
struct cds_lfht_node *node, *next;
unsigned long reverse_hash;
{
struct cds_lfht_node *node, *next;
unsigned long reverse_hash;
@@
-1501,7
+1502,7
@@
void cds_lfht_add(struct cds_lfht *ht, unsigned long hash,
struct cds_lfht_node *cds_lfht_add_unique(struct cds_lfht *ht,
unsigned long hash,
cds_lfht_match_fct match,
struct cds_lfht_node *cds_lfht_add_unique(struct cds_lfht *ht,
unsigned long hash,
cds_lfht_match_fct match,
- void *key,
+
const
void *key,
struct cds_lfht_node *node)
{
unsigned long size;
struct cds_lfht_node *node)
{
unsigned long size;
@@
-1518,7
+1519,7
@@
struct cds_lfht_node *cds_lfht_add_unique(struct cds_lfht *ht,
struct cds_lfht_node *cds_lfht_add_replace(struct cds_lfht *ht,
unsigned long hash,
cds_lfht_match_fct match,
struct cds_lfht_node *cds_lfht_add_replace(struct cds_lfht *ht,
unsigned long hash,
cds_lfht_match_fct match,
- void *key,
+
const
void *key,
struct cds_lfht_node *node)
{
unsigned long size;
struct cds_lfht_node *node)
{
unsigned long size;
This page took
0.023789 seconds
and
4
git commands to generate.