Home
last modified time | relevance | path

Searched refs:__X32_SYSCALL_BIT (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Dunistd_x32.h21 #define __NR_read (__X32_SYSCALL_BIT + 0)
22 #define __NR_write (__X32_SYSCALL_BIT + 1)
23 #define __NR_open (__X32_SYSCALL_BIT + 2)
24 #define __NR_close (__X32_SYSCALL_BIT + 3)
25 #define __NR_stat (__X32_SYSCALL_BIT + 4)
26 #define __NR_fstat (__X32_SYSCALL_BIT + 5)
27 #define __NR_lstat (__X32_SYSCALL_BIT + 6)
28 #define __NR_poll (__X32_SYSCALL_BIT + 7)
29 #define __NR_lseek (__X32_SYSCALL_BIT + 8)
30 #define __NR_mmap (__X32_SYSCALL_BIT
[all...]
H A Dunistd.h21 #define __X32_SYSCALL_BIT 0x40000000 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
H A Dunistd_x32.h21 #define __NR_read (__X32_SYSCALL_BIT + 0)
22 #define __NR_write (__X32_SYSCALL_BIT + 1)
23 #define __NR_open (__X32_SYSCALL_BIT + 2)
24 #define __NR_close (__X32_SYSCALL_BIT + 3)
25 #define __NR_stat (__X32_SYSCALL_BIT + 4)
26 #define __NR_fstat (__X32_SYSCALL_BIT + 5)
27 #define __NR_lstat (__X32_SYSCALL_BIT + 6)
28 #define __NR_poll (__X32_SYSCALL_BIT + 7)
29 #define __NR_lseek (__X32_SYSCALL_BIT + 8)
30 #define __NR_mmap (__X32_SYSCALL_BIT
[all...]
H A Dunistd.h21 #define __X32_SYSCALL_BIT 0x40000000 macro
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dcompat.h80 (!!(task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT))
86 if (task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT) in in_x32_syscall()
/kernel/linux/linux-5.10/arch/x86/entry/
H A Dcommon.c48 } else if (likely((nr & __X32_SYSCALL_BIT) && in do_syscall_64()
49 (nr & ~__X32_SYSCALL_BIT) < X32_NR_syscalls)) { in do_syscall_64()
50 nr = array_index_nospec(nr & ~__X32_SYSCALL_BIT, in do_syscall_64()
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Dunistd.h7 * and __X32_SYSCALL_BIT to have type int, even though syscall numbers
10 * Fortunately, expressions like (nr & ~__X32_SYSCALL_BIT) do the right
13 #define __X32_SYSCALL_BIT 0x40000000 macro
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/
H A Dunistd.h7 * and __X32_SYSCALL_BIT to have type int, even though syscall numbers
10 * Fortunately, expressions like (nr & ~__X32_SYSCALL_BIT) do the right
13 #define __X32_SYSCALL_BIT 0x40000000 macro
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Dunistd.h7 * and __X32_SYSCALL_BIT to have type int, even though syscall numbers
10 * Fortunately, expressions like (nr & ~__X32_SYSCALL_BIT) do the right
13 #define __X32_SYSCALL_BIT 0x40000000 macro
/kernel/linux/linux-6.6/tools/arch/x86/include/uapi/asm/
H A Dunistd.h7 * and __X32_SYSCALL_BIT to have type int, even though syscall numbers
10 * Fortunately, expressions like (nr & ~__X32_SYSCALL_BIT) do the right
13 #define __X32_SYSCALL_BIT 0x40000000 macro
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dcompat.h173 (!!(task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT))
193 if (task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT) in in_x32_syscall()
/kernel/linux/linux-5.10/arch/x86/entry/syscalls/
H A DMakefile36 syshdr_offset_unistd_x32 := __X32_SYSCALL_BIT
/kernel/linux/linux-6.6/arch/x86/entry/syscalls/
H A DMakefile37 $(uapi)/unistd_x32.h: offset := __X32_SYSCALL_BIT
/kernel/linux/linux-6.6/arch/x86/entry/
H A Dcommon.c61 * < __X32_SYSCALL_BIT to very high and thus out of range in do_syscall_x32()
64 unsigned int xnr = nr - __X32_SYSCALL_BIT; in do_syscall_x32()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dsignal.c294 return __NR_restart_syscall | (regs->orig_ax & __X32_SYSCALL_BIT); in get_nr_restart_syscall()
H A Dprocess_64.c701 task_pt_regs(current)->orig_ax = __NR_x32_execve | __X32_SYSCALL_BIT; in __set_personality_x32()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dprocess_64.c676 task_pt_regs(current)->orig_ax = __NR_x32_execve | __X32_SYSCALL_BIT; in __set_personality_x32()
H A Dsignal.c790 return __NR_restart_syscall | (regs->orig_ax & __X32_SYSCALL_BIT); in get_nr_restart_syscall()

Completed in 12 milliseconds