Searched refs:ARCH_SET_GS (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/x86/ |
D | fsgsbase.c | 165 if (syscall(SYS_arch_prctl, ARCH_SET_GS, value) != 0) in check_gs_value() 196 if (syscall(SYS_arch_prctl, ARCH_SET_GS, initial_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() 379 if (syscall(SYS_arch_prctl, ARCH_SET_GS, local) != 0) in set_gs_and_switch_to() 434 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) in test_unexpected_base() 466 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 1) != 0) in test_ptrace_write_gs_read_base()
|
D | ldt_gdt.c | 888 syscall(SYS_arch_prctl, ARCH_SET_GS, saved_base); in test_gdt_invalidation()
|
/tools/arch/x86/include/uapi/asm/ |
D | prctl.h | 5 #define ARCH_SET_GS 0x1001 macro
|