Lines Matching refs:syscall
122 if (syscall(SYS_arch_prctl, ARCH_SET_GS, value) != 0) in check_gs_value()
136 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &base) != 0) in check_gs_value()
153 if (syscall(SYS_arch_prctl, ARCH_SET_GS, initial_base) != 0) in mov_0_gs()
161 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &arch_base) != 0) in mov_0_gs()
190 if (syscall(SYS_arch_prctl, ARCH_SET_GS, to_set) != 0) in do_remote_base()
215 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) in do_unexpected_base()
230 if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) == 0) { in do_unexpected_base()
272 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
284 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc()
300 if (syscall(SYS_arch_prctl, ARCH_SET_GS, local) != 0) in set_gs_and_switch_to()
312 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in set_gs_and_switch_to()
314 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
330 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) in test_unexpected_base()
335 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_unexpected_base()
337 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
392 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in main()