Lines Matching refs:X32_BIT
42 #define X32_BIT 0x40000000 macro
148 const char * const type = (start & X32_BIT) ? "x32" : "x64"; in syscall_str()
156 lsb |= X32_BIT; in syscall_str()
158 lsb &= ~X32_BIT; in syscall_str()
232 ret = probe_syscall(0, SYS_GETPID | X32_BIT); in test_x32()
267 check_for(msb, X32_BIT-64, X32_BIT-1, -ENOSYS); in test_syscalls_common()
268 check_for(msb, -64-X32_BIT, -1-X32_BIT, -ENOSYS); in test_syscalls_common()
284 check_zero(msb, SYS_READ | X32_BIT); in test_syscalls_with_x32()
285 check_zero(msb, SYS_WRITE | X32_BIT); in test_syscalls_with_x32()
288 check_zero(msb, X32_READV | X32_BIT); in test_syscalls_with_x32()
289 check_zero(msb, X32_WRITEV | X32_BIT); in test_syscalls_with_x32()
292 check_enosys(msb, X64_IOCTL | X32_BIT); in test_syscalls_with_x32()
293 check_enosys(msb, X64_READV | X32_BIT); in test_syscalls_with_x32()
294 check_enosys(msb, X64_WRITEV | X32_BIT); in test_syscalls_with_x32()
300 check_for(msb, 0 | X32_BIT, 999 | X32_BIT, -ENOSYS); in test_syscalls_without_x32()
306 0, 1, -1, X32_BIT-1, X32_BIT, X32_BIT-1, -X32_BIT, INT_MAX, in test_syscall_numbering()