Searched refs:ftx (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/x86/ |
H A D | fsgsbase.c | 190 static volatile unsigned int ftx; variable 292 ftx = 1; in test_wrbase() 293 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_wrbase() 294 while (ftx != 0) in test_wrbase() 295 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_wrbase() 312 while (ftx == 0) in threadproc() 313 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc() 314 if (ftx == 3) in threadproc() 317 if (ftx == 1) { in threadproc() 319 } else if (ftx in threadproc() [all...] |
H A D | ldt_gdt.c | 435 static volatile unsigned int ftx; variable 446 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc() 447 while (ftx != 2) { in threadproc() 448 if (ftx >= 3) in threadproc() 457 /* If ftx == 2, set it to zero. If ftx == 100, quit. */ in threadproc() 459 asm volatile ("lock xaddl %[x], %[ftx]" : in threadproc() 460 [x] "+r" (x), [ftx] "+m" (ftx)); in threadproc() 559 while (ftx ! in do_multicpu_tests() [all...] |