Searched refs:ftx (Results 1 - 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/x86/ |
H A D | fsgsbase.c | 173 static volatile unsigned int ftx; variable 271 while (ftx == 0) 272 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); 273 if (ftx == 3) 276 if (ftx == 1) 278 else if (ftx == 2) 283 ftx = 0; 284 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); 311 ftx = 1; 312 syscall(SYS_futex, &ftx, FUTEX_WAK [all...] |
H A D | ldt_gdt.c | 375 static volatile unsigned int ftx; variable 386 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); 387 while (ftx != 2) { 388 if (ftx >= 3) 397 /* If ftx == 2, set it to zero. If ftx == 100, quit. */ 399 asm volatile ("lock xaddl %[x], %[ftx]" : 400 [x] "+r" (x), [ftx] "+m" (ftx)); 465 while (ftx ! [all...] |
Completed in 96 milliseconds