Home
last modified time | relevance | path

Searched refs:NR_FUTEXES (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/futex/functional/
H A Dfutex_waitv.c24 #define NR_FUTEXES 30 macro
25 static struct futex_waitv waitv[NR_FUTEXES];
26 u_int32_t futexes[NR_FUTEXES] = {0};
48 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in waiterfn()
52 } else if (res != NR_FUTEXES - 1) { in waiterfn()
54 res, NR_FUTEXES - 1); in waiterfn()
89 for (i = 0; i < NR_FUTEXES; i++) { in main()
102 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, FUTEX_PRIVATE_FLAG); in main()
113 for (i = 0; i < NR_FUTEXES; i++) { in main()
135 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, 0); in main()
[all …]