HomeSort by: relevance | last modified time | path
    Searched defs:futex (Results 1 - 7 of 7) sorted by relevancy

  /src/external/lgpl2/userspace-rcu/dist/include/urcu/
futex.h 38 # include <sys/futex.h>
44 # include <sys/futex.h>
78 static inline int futex(int32_t *uaddr, int op, int32_t val, function
89 ret = futex(uaddr, op, val, timeout, uaddr2, val3);
93 * the compat futex implementation, because the
95 * concurrently with calls to futex(). Indeed, sys_futex
112 ret = futex(uaddr, op, val, timeout, uaddr2, val3);
180 ret = futex((volatile uint32_t *) uaddr, op, val, timeout,
200 ret = futex((volatile uint32_t *) uaddr, op, val, timeout,
211 static inline int futex(int32_t *uaddr, int op, int32_t val function
    [all...]
  /src/external/lgpl2/userspace-rcu/dist/include/urcu/static/
urcu-common.h 30 #include <urcu/futex.h>
63 int32_t futex; member in struct:urcu_gp
82 if (caa_unlikely(uatomic_read(&gp->futex) == -1)) {
83 uatomic_set(&gp->futex, 0);
89 (void) futex_async(&gp->futex, FUTEX_WAKE, 1,
  /src/external/gpl3/gcc/dist/libgomp/config/rtems/
bar.h 27 that the futex API is slightly different. This type is private to the
41 struct _Futex_Control futex; member in struct:__anon14442
63 _Futex_Initialize (&bar->futex);
  /src/external/gpl3/gcc.old/dist/libgomp/config/rtems/
bar.h 27 that the futex API is slightly different. This type is private to the
41 struct _Futex_Control futex; member in struct:__anon16854
63 _Futex_Initialize (&bar->futex);
  /src/external/lgpl2/userspace-rcu/dist/src/
workqueue.c 28 #include <urcu/futex.h>
50 int32_t futex; member in struct:urcu_workqueue
67 int32_t futex; member in struct:urcu_workqueue_completion
116 static void futex_wait(int32_t *futex)
118 /* Read condition before read futex */
120 while (uatomic_read(futex) == -1) {
121 if (!futex_async(futex, FUTEX_WAIT, -1, NULL, NULL, 0)) {
124 * using the same address can cause futex wait to
125 * return 0 even through the futex value is still
146 static void futex_wake_up(int32_t *futex)
    [all...]
urcu-call-rcu-impl.h 28 #include <urcu/futex.h>
51 int32_t futex; member in struct:call_rcu_data
61 int32_t futex; member in struct:call_rcu_completion
231 /* Read call_rcu list before read futex */
233 while (uatomic_read(&crdp->futex) == -1) {
234 if (!futex_async(&crdp->futex, FUTEX_WAIT, -1, NULL, NULL, 0)) {
237 * using the same address can cause futex wait to
238 * return 0 even through the futex value is still
261 /* Write to call_rcu list before reading/writing futex */
263 if (caa_unlikely(uatomic_read(&crdp->futex) == -1))
    [all...]
  /src/sys/kern/
sys_futex.c 38 * The futex system call coordinates notifying threads waiting for
62 * futex(&lock, FUTEX_WAIT, v | 2, NULL, NULL, 0,
79 * futex(&lock, FUTEX_WAKE, 1, NULL, NULL, 0, 0);
82 * The goal is to avoid the futex system call unless there is
86 * For a simple implementation, futex(FUTEX_WAIT) could queue
96 * The futex(&lock, FUTEX_CMP_REQUEUE, n, timeout, &lock2, m, val)
102 * a hash function; we must distinguish futex queues exactly by
122 #include <sys/futex.h>
137 * futex::fx_qlock ordered by kva of struct futex
171 struct futex { struct
    [all...]

Completed in 29 milliseconds