/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | futextest.h | 88 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() argument 90 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake() 110 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() argument 112 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset() 140 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, in futex_wake_op() argument 143 return futex(uaddr, FUTEX_WAKE_OP, nr_wake, nr_wake2, uaddr2, wake_op, in futex_wake_op() 156 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() argument 159 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue() 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() argument 172 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 123 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() argument 125 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake() 145 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() argument 147 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset() 175 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, in futex_wake_op() argument 178 return futex(uaddr, FUTEX_WAKE_OP, nr_wake, nr_wake2, uaddr2, wake_op, in futex_wake_op() 191 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() argument 194 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue() 204 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() argument 207 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() [all …]
|
D | futex_wake01.c | 33 int nr_wake; member 55 res = futex_wake(tc->f_addr, tc->nr_wake, tc->opflags); in verify_futex_wake()
|
/external/ltp/lib/ |
D | tst_checkpoint.c | 106 int tst_checkpoint_wake(unsigned int id, unsigned int nr_wake, in tst_checkpoint_wake() argument 120 if (waked == nr_wake) in tst_checkpoint_wake() 155 unsigned int nr_wake) in tst_safe_checkpoint_wake() argument 157 int ret = tst_checkpoint_wake(id, nr_wake, DEFAULT_MSEC_TIMEOUT); in tst_safe_checkpoint_wake() 162 file, lineno, id, nr_wake, DEFAULT_MSEC_TIMEOUT); in tst_safe_checkpoint_wake()
|
/external/rust/crates/futures/tests/ |
D | arc_wake.rs | 6 nr_wake: Mutex<i32>, field 12 nr_wake: Mutex::new(0), in new() 17 *self.nr_wake.lock().unwrap() in wakes() 23 let mut lock = arc_self.nr_wake.lock().unwrap(); in wake_by_ref()
|
/external/ltp/testcases/lib/ |
D | tst_checkpoint.c | 42 unsigned int id, timeout, nr_wake; in main() local 60 if (get_val("NR_WAKE", argv[4], &nr_wake)) in main() 76 ret = tst_checkpoint_wake(id, nr_wake, timeout); in main()
|
/external/ltp/include/ |
D | tst_checkpoint_fn.h | 44 int tst_checkpoint_wake(unsigned int id, unsigned int nr_wake, 53 unsigned int nr_wake);
|
D | tst_checkpoint.h | 32 #define TST_CHECKPOINT_WAKE2(id, nr_wake) \ argument 33 tst_safe_checkpoint_wake(__FILE__, __LINE__, NULL, id, nr_wake);
|
/external/ltp/include/old/ |
D | old_checkpoint.h | 52 #define TST_SAFE_CHECKPOINT_WAKE2(cleanup_fn, id, nr_wake) \ argument 53 tst_safe_checkpoint_wake(__FILE__, __LINE__, cleanup_fn, id, nr_wake);
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 150 int nr_wake = 1; in broadcast_wakerfn() local 165 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn() 198 int nr_wake = 1; in signal_wakerfn() local 218 nr_wake, nr_requeue, in signal_wakerfn()
|
/external/ltp/doc/ |
D | test-writing-guidelines.txt | 774 TST_CHECKPOINT_WAKE2(id, nr_wake) 795 be used to wake precisely 'nr_wake' processes.
|