Lines Matching refs:ftx
381 static volatile unsigned int ftx; variable
392 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
393 while (ftx != 2) { in threadproc()
394 if (ftx >= 3) in threadproc()
406 [x] "+r" (x), [ftx] "+m" (ftx)); in threadproc()
471 while (ftx != 0) in do_multicpu_tests()
494 ftx = 1; in do_multicpu_tests()
495 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()
500 ftx = 2; in do_multicpu_tests()
502 while (ftx != 0) in do_multicpu_tests()
514 ftx = 100; /* Kill the thread. */ in do_multicpu_tests()
515 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()