Lines Matching refs:ftx
375 static volatile unsigned int ftx; variable
386 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
387 while (ftx != 2) { in threadproc()
388 if (ftx >= 3) in threadproc()
400 [x] "+r" (x), [ftx] "+m" (ftx)); in threadproc()
465 while (ftx != 0) in do_multicpu_tests()
488 ftx = 1; in do_multicpu_tests()
489 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()
494 ftx = 2; in do_multicpu_tests()
496 while (ftx != 0) in do_multicpu_tests()
508 ftx = 100; /* Kill the thread. */ in do_multicpu_tests()
509 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()