Lines Matching refs:syscall
165 if (syscall(SYS_arch_prctl, ARCH_SET_GS, value) != 0) in check_gs_value()
179 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &base) != 0) in check_gs_value()
196 if (syscall(SYS_arch_prctl, ARCH_SET_GS, initial_base) != 0) in mov_0_gs()
204 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &arch_base) != 0) in mov_0_gs()
233 if (syscall(SYS_arch_prctl, ARCH_SET_GS, to_set) != 0) in do_remote_base()
255 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) in load_gs()
270 if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) == 0) { in load_gs()
319 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_wrbase()
321 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_wrbase()
339 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
358 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc()
379 if (syscall(SYS_arch_prctl, ARCH_SET_GS, local) != 0) in set_gs_and_switch_to()
405 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in set_gs_and_switch_to()
407 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
434 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) in test_unexpected_base()
439 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_unexpected_base()
441 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
466 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 1) != 0) in test_ptrace_write_gs_read_base()
678 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in main()