PATH:
usr
/
src
/
kernels
/
5.14.0-611.54.3.el9_7.x86_64
/
include
/
asm-generic
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_GENERIC_COMPAT_H #define __ASM_GENERIC_COMPAT_H #if !defined(compat_arg_u64) && !defined(CONFIG_CPU_BIG_ENDIAN) #define compat_arg_u64(name) u32 name##_lo, u32 name##_hi #define compat_arg_u64_dual(name) u32, name##_lo, u32, name##_hi #define compat_arg_u64_glue(name) (((u64)name##_lo & 0xffffffffUL) | \ ((u64)name##_hi << 32)) #endif #ifndef COMPAT_USER_HZ #define COMPAT_USER_HZ 100 #endif #ifndef COMPAT_RLIM_INFINITY #define COMPAT_RLIM_INFINITY 0xffffffff #endif #ifndef COMPAT_OFF_T_MAX #define COMPAT_OFF_T_MAX 0x7fffffff #endif /* These types are common across all compat ABIs */ typedef u32 compat_size_t; typedef s32 compat_ssize_t; typedef s32 compat_clock_t; typedef s32 compat_pid_t; typedef u32 compat_ino_t; typedef s32 compat_off_t; typedef s64 compat_loff_t; typedef s32 compat_daddr_t; typedef s32 compat_timer_t; typedef s32 compat_key_t; typedef s16 compat_short_t; typedef s32 compat_int_t; typedef s32 compat_long_t; typedef u16 compat_ushort_t; typedef u32 compat_uint_t; typedef u32 compat_ulong_t; typedef u32 compat_uptr_t; typedef u32 compat_caddr_t; typedef u32 compat_aio_context_t; typedef u32 compat_old_sigset_t; #ifndef __compat_uid_t typedef u32 __compat_uid_t; typedef u32 __compat_gid_t; #endif #ifndef __compat_uid32_t typedef u32 __compat_uid32_t; typedef u32 __compat_gid32_t; #endif #ifndef compat_mode_t typedef u32 compat_mode_t; #endif #ifdef CONFIG_COMPAT_FOR_U64_ALIGNMENT typedef s64 __attribute__((aligned(4))) compat_s64; typedef u64 __attribute__((aligned(4))) compat_u64; #else typedef s64 compat_s64; typedef u64 compat_u64; #endif #ifndef _COMPAT_NSIG typedef u32 compat_sigset_word; #define _COMPAT_NSIG _NSIG #define _COMPAT_NSIG_BPW 32 #endif #ifndef compat_dev_t typedef u32 compat_dev_t; #endif #ifndef compat_ipc_pid_t typedef s32 compat_ipc_pid_t; #endif #ifndef compat_fsid_t typedef __kernel_fsid_t compat_fsid_t; #endif #ifndef compat_statfs struct compat_statfs { compat_int_t f_type; compat_int_t f_bsize; compat_int_t f_blocks; compat_int_t f_bfree; compat_int_t f_bavail; compat_int_t f_files; compat_int_t f_ffree; compat_fsid_t f_fsid; compat_int_t f_namelen; compat_int_t f_frsize; compat_int_t f_flags; compat_int_t f_spare[4]; }; #endif #ifndef compat_ipc64_perm struct compat_ipc64_perm { compat_key_t key; __compat_uid32_t uid; __compat_gid32_t gid; __compat_uid32_t cuid; __compat_gid32_t cgid; compat_mode_t mode; unsigned char __pad1[4 - sizeof(compat_mode_t)]; compat_ushort_t seq; compat_ushort_t __pad2; compat_ulong_t unused1; compat_ulong_t unused2; }; struct compat_semid64_ds { struct compat_ipc64_perm sem_perm; compat_ulong_t sem_otime; compat_ulong_t sem_otime_high; compat_ulong_t sem_ctime; compat_ulong_t sem_ctime_high; compat_ulong_t sem_nsems; compat_ulong_t __unused3; compat_ulong_t __unused4; }; struct compat_msqid64_ds { struct compat_ipc64_perm msg_perm; compat_ulong_t msg_stime; compat_ulong_t msg_stime_high; compat_ulong_t msg_rtime; compat_ulong_t msg_rtime_high; compat_ulong_t msg_ctime; compat_ulong_t msg_ctime_high; compat_ulong_t msg_cbytes; compat_ulong_t msg_qnum; compat_ulong_t msg_qbytes; compat_pid_t msg_lspid; compat_pid_t msg_lrpid; compat_ulong_t __unused4; compat_ulong_t __unused5; }; struct compat_shmid64_ds { struct compat_ipc64_perm shm_perm; compat_size_t shm_segsz; compat_ulong_t shm_atime; compat_ulong_t shm_atime_high; compat_ulong_t shm_dtime; compat_ulong_t shm_dtime_high; compat_ulong_t shm_ctime; compat_ulong_t shm_ctime_high; compat_pid_t shm_cpid; compat_pid_t shm_lpid; compat_ulong_t shm_nattch; compat_ulong_t __unused4; compat_ulong_t __unused5; }; #endif #endif
[-] mmu_context.h
[edit]
[-] tlbflush.h
[edit]
[-] access_ok.h
[edit]
[-] ftrace.h
[edit]
[-] percpu.h
[edit]
[-] asm-offsets.h
[edit]
[-] runtime-const.h
[edit]
[-] bug.h
[edit]
[-] current.h
[edit]
[-] shmparam.h
[edit]
[-] vmlinux.lds.h
[edit]
[-] vga.h
[edit]
[-] spinlock_types.h
[edit]
[-] irq.h
[edit]
[-] dma-mapping.h
[edit]
[-] audit_dir_write.h
[edit]
[-] ide_iops.h
[edit]
[-] cfi.h
[edit]
[+]
vdso
[-] topology.h
[edit]
[-] cmpxchg-local.h
[edit]
[-] mshyperv.h
[edit]
[-] rwonce.h
[edit]
[-] logic_io.h
[edit]
[-] flat.h
[edit]
[-] qspinlock.h
[edit]
[-] module.h
[edit]
[-] cmpxchg.h
[edit]
[-] termios.h
[edit]
[-] int-ll64.h
[edit]
[-] kmap_size.h
[edit]
[-] numa.h
[edit]
[-] user.h
[edit]
[-] audit_signal.h
[edit]
[-] asm-prototypes.h
[edit]
[-] pci_iomap.h
[edit]
[-] syscalls.h
[edit]
[-] ioctl.h
[edit]
[-] xor.h
[edit]
[-] hardirq.h
[edit]
[-] audit_read.h
[edit]
[-] atomic.h
[edit]
[-] hw_irq.h
[edit]
[-] bugs.h
[edit]
[-] preempt.h
[edit]
[-] irqflags.h
[edit]
[-] trace_clock.h
[edit]
[-] seccomp.h
[edit]
[-] vermagic.h
[edit]
[-] uaccess.h
[edit]
[-] barrier.h
[edit]
[-] mm_hooks.h
[edit]
[-] set_memory.h
[edit]
[-] page.h
[edit]
[-] hugetlb.h
[edit]
[-] exec.h
[edit]
[-] statfs.h
[edit]
[-] parport.h
[edit]
[-] cache.h
[edit]
[-] extable.h
[edit]
[-] kvm_para.h
[edit]
[-] mmiowb.h
[edit]
[-] device.h
[edit]
[-] cacheflush.h
[edit]
[-] local64.h
[edit]
[-] msi.h
[edit]
[-] dma.h
[edit]
[-] linkage.h
[edit]
[-] timex.h
[edit]
[-] vtime.h
[edit]
[-] mmiowb_types.h
[edit]
[-] mmu.h
[edit]
[-] param.h
[edit]
[-] bitsperlong.h
[edit]
[-] softirq_stack.h
[edit]
[-] nommu_context.h
[edit]
[-] qrwlock_types.h
[edit]
[-] kvm_types.h
[edit]
[-] fb.h
[edit]
[-] audit_write.h
[edit]
[-] pci.h
[edit]
[-] sections.h
[edit]
[-] pgtable-nopud.h
[edit]
[-] archrandom.h
[edit]
[-] pgalloc.h
[edit]
[-] futex.h
[edit]
[-] syscall.h
[edit]
[-] serial.h
[edit]
[-] spinlock.h
[edit]
[-] module.lds.h
[edit]
[-] qrwlock.h
[edit]
[-] delay.h
[edit]
[-] atomic64.h
[edit]
[+]
bitops
[-] unaligned.h
[edit]
[-] checksum.h
[edit]
[-] emergency-restart.h
[edit]
[-] signal.h
[edit]
[-] irq_work.h
[edit]
[-] audit_change_attr.h
[edit]
[-] error-injection.h
[edit]
[-] qspinlock_types.h
[edit]
[-] string.h
[edit]
[-] early_ioremap.h
[edit]
[-] io.h
[edit]
[-] iomap.h
[edit]
[-] mcs_spinlock.h
[edit]
[-] bitops.h
[edit]
[-] kprobes.h
[edit]
[-] fixmap.h
[edit]
[-] pgtable-nopmd.h
[edit]
[-] irq_regs.h
[edit]
[-] word-at-a-time.h
[edit]
[-] compat.h
[edit]
[-] pgtable-nop4d.h
[edit]
[-] div64.h
[edit]
[-] local.h
[edit]
[-] tlb.h
[edit]
[-] resource.h
[edit]
[-] simd.h
[edit]
[-] export.h
[edit]
[-] kdebug.h
[edit]
[+]
..
[-] pgtable_uffd.h
[edit]
[-] memory_model.h
[edit]
[-] switch_to.h
[edit]
[-] Kbuild
[edit]
[-] getorder.h
[edit]