Lines Matching refs:syscall
154 ret = syscall(SYS_set_thread_area, &desc); in install_valid_mode()
156 ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, in install_valid_mode()
204 int ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, in install_invalid()
226 int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); in safe_modify_ldt()
444 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
452 if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) != 0) in threadproc()
485 if (syscall(SYS_rt_sigaction, sig, NULL, &ksa, 8) == 0) { in fix_sa_restorer()
496 if (syscall(SYS_rt_sigaction, sig, &ksa, NULL, in fix_sa_restorer()
593 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()
613 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_multicpu_tests()
808 syscall(SYS_arch_prctl, ARCH_GET_FS, &saved_base); in test_gdt_invalidation()
828 syscall(SYS_arch_prctl, ARCH_GET_FS, &new_base); in test_gdt_invalidation()
835 syscall(SYS_arch_prctl, ARCH_SET_FS, saved_base); in test_gdt_invalidation()
861 syscall(SYS_arch_prctl, ARCH_GET_GS, &saved_base); in test_gdt_invalidation()
881 syscall(SYS_arch_prctl, ARCH_GET_GS, &new_base); in test_gdt_invalidation()
888 syscall(SYS_arch_prctl, ARCH_SET_GS, saved_base); in test_gdt_invalidation()