Lines Matching refs:waitv
25 static struct futex_waitv waitv[NR_FUTEXES]; variable
48 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in waiterfn()
90 waitv[i].uaddr = (uintptr_t)&futexes[i]; in main()
91 waitv[i].flags = FUTEX_32 | FUTEX_PRIVATE_FLAG; in main()
92 waitv[i].val = 0; in main()
93 waitv[i].__reserved = 0; in main()
102 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, FUTEX_PRIVATE_FLAG); in main()
124 waitv[i].uaddr = (uintptr_t)shared_data; in main()
125 waitv[i].flags = FUTEX_32; in main()
126 waitv[i].val = 0; in main()
127 waitv[i].__reserved = 0; in main()
135 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, 0); in main()
146 shmdt(u64_to_ptr(waitv[i].uaddr)); in main()
149 waitv[0].flags = FUTEX_PRIVATE_FLAG; in main()
156 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in main()
167 waitv[0].flags = FUTEX_PRIVATE_FLAG | FUTEX_32; in main()
168 waitv[0].uaddr = 1; in main()
175 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in main()
186 waitv[0].uaddr = 0x00000000; in main()
193 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in main()