projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RCU dereference check if within read-side critical section
[userspace-rcu.git]
/
wfcqueue.c
diff --git
a/wfcqueue.c
b/wfcqueue.c
index ab0eb939e912e15c4b8f44ca9d65d67df0a3b4cd..e28d51ad6dc0f17b853f1ac6ac1f76cbffc87ecf 100644
(file)
--- a/
wfcqueue.c
+++ b/
wfcqueue.c
@@
-40,14
+40,20
@@
void cds_wfcq_init(struct cds_wfcq_head *head,
_cds_wfcq_init(head, tail);
}
_cds_wfcq_init(head, tail);
}
-bool cds_wfcq_empty(struct cds_wfcq_head *head,
+void __cds_wfcq_init(struct __cds_wfcq_head *head,
+ struct cds_wfcq_tail *tail)
+{
+ ___cds_wfcq_init(head, tail);
+}
+
+bool cds_wfcq_empty(cds_wfcq_head_ptr_t head,
struct cds_wfcq_tail *tail)
{
return _cds_wfcq_empty(head, tail);
}
struct cds_wfcq_tail *tail)
{
return _cds_wfcq_empty(head, tail);
}
-bool cds_wfcq_enqueue(
struct cds_wfcq_head *
head,
+bool cds_wfcq_enqueue(
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail,
struct cds_wfcq_node *node)
{
struct cds_wfcq_tail *tail,
struct cds_wfcq_node *node)
{
@@
-73,6
+79,14
@@
struct cds_wfcq_node *cds_wfcq_dequeue_blocking(
return _cds_wfcq_dequeue_blocking(head, tail);
}
return _cds_wfcq_dequeue_blocking(head, tail);
}
+struct cds_wfcq_node *cds_wfcq_dequeue_with_state_blocking(
+ struct cds_wfcq_head *head,
+ struct cds_wfcq_tail *tail,
+ int *state)
+{
+ return _cds_wfcq_dequeue_with_state_blocking(head, tail, state);
+}
+
enum cds_wfcq_ret cds_wfcq_splice_blocking(
struct cds_wfcq_head *dest_q_head,
struct cds_wfcq_tail *dest_q_tail,
enum cds_wfcq_ret cds_wfcq_splice_blocking(
struct cds_wfcq_head *dest_q_head,
struct cds_wfcq_tail *dest_q_tail,
@@
-84,23
+98,39
@@
enum cds_wfcq_ret cds_wfcq_splice_blocking(
}
struct cds_wfcq_node *__cds_wfcq_dequeue_blocking(
}
struct cds_wfcq_node *__cds_wfcq_dequeue_blocking(
-
struct cds_wfcq_head *
head,
+
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_dequeue_blocking(head, tail);
}
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_dequeue_blocking(head, tail);
}
+struct cds_wfcq_node *__cds_wfcq_dequeue_with_state_blocking(
+ cds_wfcq_head_ptr_t head,
+ struct cds_wfcq_tail *tail,
+ int *state)
+{
+ return ___cds_wfcq_dequeue_with_state_blocking(head, tail, state);
+}
+
struct cds_wfcq_node *__cds_wfcq_dequeue_nonblocking(
struct cds_wfcq_node *__cds_wfcq_dequeue_nonblocking(
-
struct cds_wfcq_head *
head,
+
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_dequeue_nonblocking(head, tail);
}
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_dequeue_nonblocking(head, tail);
}
+struct cds_wfcq_node *__cds_wfcq_dequeue_with_state_nonblocking(
+ cds_wfcq_head_ptr_t head,
+ struct cds_wfcq_tail *tail,
+ int *state)
+{
+ return ___cds_wfcq_dequeue_with_state_nonblocking(head, tail, state);
+}
+
enum cds_wfcq_ret __cds_wfcq_splice_blocking(
enum cds_wfcq_ret __cds_wfcq_splice_blocking(
-
struct cds_wfcq_head *
dest_q_head,
+
cds_wfcq_head_ptr_t
dest_q_head,
struct cds_wfcq_tail *dest_q_tail,
struct cds_wfcq_tail *dest_q_tail,
-
struct cds_wfcq_head *
src_q_head,
+
cds_wfcq_head_ptr_t
src_q_head,
struct cds_wfcq_tail *src_q_tail)
{
return ___cds_wfcq_splice_blocking(dest_q_head, dest_q_tail,
struct cds_wfcq_tail *src_q_tail)
{
return ___cds_wfcq_splice_blocking(dest_q_head, dest_q_tail,
@@
-108,9
+138,9
@@
enum cds_wfcq_ret __cds_wfcq_splice_blocking(
}
enum cds_wfcq_ret __cds_wfcq_splice_nonblocking(
}
enum cds_wfcq_ret __cds_wfcq_splice_nonblocking(
-
struct cds_wfcq_head *
dest_q_head,
+
cds_wfcq_head_ptr_t
dest_q_head,
struct cds_wfcq_tail *dest_q_tail,
struct cds_wfcq_tail *dest_q_tail,
-
struct cds_wfcq_head *
src_q_head,
+
cds_wfcq_head_ptr_t
src_q_head,
struct cds_wfcq_tail *src_q_tail)
{
return ___cds_wfcq_splice_nonblocking(dest_q_head, dest_q_tail,
struct cds_wfcq_tail *src_q_tail)
{
return ___cds_wfcq_splice_nonblocking(dest_q_head, dest_q_tail,
@@
-118,21
+148,21
@@
enum cds_wfcq_ret __cds_wfcq_splice_nonblocking(
}
struct cds_wfcq_node *__cds_wfcq_first_blocking(
}
struct cds_wfcq_node *__cds_wfcq_first_blocking(
-
struct cds_wfcq_head *
head,
+
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_first_blocking(head, tail);
}
struct cds_wfcq_node *__cds_wfcq_first_nonblocking(
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_first_blocking(head, tail);
}
struct cds_wfcq_node *__cds_wfcq_first_nonblocking(
-
struct cds_wfcq_head *
head,
+
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_first_nonblocking(head, tail);
}
struct cds_wfcq_node *__cds_wfcq_next_blocking(
struct cds_wfcq_tail *tail)
{
return ___cds_wfcq_first_nonblocking(head, tail);
}
struct cds_wfcq_node *__cds_wfcq_next_blocking(
-
struct cds_wfcq_head *
head,
+
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail,
struct cds_wfcq_node *node)
{
struct cds_wfcq_tail *tail,
struct cds_wfcq_node *node)
{
@@
-140,7
+170,7
@@
struct cds_wfcq_node *__cds_wfcq_next_blocking(
}
struct cds_wfcq_node *__cds_wfcq_next_nonblocking(
}
struct cds_wfcq_node *__cds_wfcq_next_nonblocking(
-
struct cds_wfcq_head *
head,
+
cds_wfcq_head_ptr_t
head,
struct cds_wfcq_tail *tail,
struct cds_wfcq_node *node)
{
struct cds_wfcq_tail *tail,
struct cds_wfcq_node *node)
{
This page took
0.02519 seconds
and
4
git commands to generate.