Lines Matching refs:ftx
433 static volatile unsigned int ftx; variable
444 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
445 while (ftx != 2) { in threadproc()
446 if (ftx >= 3) in threadproc()
458 [x] "+r" (x), [ftx] "+m" (ftx)); in threadproc()
569 while (ftx != 0) in do_multicpu_tests()
592 ftx = 1; in do_multicpu_tests()
593 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()
598 ftx = 2; in do_multicpu_tests()
600 while (ftx != 0) in do_multicpu_tests()
612 ftx = 100; /* Kill the thread. */ in do_multicpu_tests()
613 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()