Searched refs:ftx (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A 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 in threadproc() [all...] |
H A 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() 455 /* If ftx == 2, set it to zero. If ftx == 100, quit. */ in threadproc() 457 asm volatile ("lock xaddl %[x], %[ftx]" : in threadproc() 458 [x] "+r" (x), [ftx] "+m" (ftx)); in threadproc() 569 while (ftx ! in do_multicpu_tests() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A 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 in threadproc() [all...] |
H A 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() 455 /* If ftx == 2, set it to zero. If ftx == 100, quit. */ in threadproc() 457 asm volatile ("lock xaddl %[x], %[ftx]" : in threadproc() 458 [x] "+r" (x), [ftx] "+m" (ftx)); in threadproc() 569 while (ftx ! in do_multicpu_tests() [all...] |
Completed in 6 milliseconds