Home
last modified time | relevance | path

Searched refs:ftx (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dfsgsbase.c173 static volatile unsigned int ftx; variable
271 while (ftx == 0) in threadproc()
272 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
273 if (ftx == 3) in threadproc()
276 if (ftx == 1) in threadproc()
278 else if (ftx == 2) in threadproc()
283 ftx = 0; in threadproc()
284 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc()
311 ftx = 1; in set_gs_and_switch_to()
312 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in set_gs_and_switch_to()
[all …]
Dldt_gdt.c381 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()
[all …]