Searched refs:ftx (Results 1 – 2 of 2) sorted by relevance
/tools/testing/selftests/x86/ |
D | fsgsbase.c | 216 static volatile unsigned int ftx; variable 318 ftx = 1; in test_wrbase() 319 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_wrbase() 320 while (ftx != 0) in test_wrbase() 321 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_wrbase() 338 while (ftx == 0) in threadproc() 339 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc() 340 if (ftx == 3) in threadproc() 343 if (ftx == 1) { in threadproc() 345 } else if (ftx == 2) { in threadproc() [all …]
|
D | ldt_gdt.c | 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() [all …]
|