/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_X86_SHMBUF_H #define __ASM_X86_SHMBUF_H #if !defined(__x86_64__) || !defined(__ILP32__) #include <asm-generic/shmbuf.h> #else /* * The shmid64_ds structure for x86 architecture with x32 ABI. * * On x86-32 and x86-64 we can just use the generic definition, but * x32 uses the same binary layout as x86_64, which is differnet * from other 32-bit architectures. */ struct shmid64_ds { struct ipc64_perm shm_perm; /* operation perms */ size_t shm_segsz; /* size of segment (bytes) */ __kernel_time_t shm_atime; /* last attach time */ __kernel_time_t shm_dtime; /* last detach time */ __kernel_time_t shm_ctime; /* last change time */ __kernel_pid_t shm_cpid; /* pid of creator */ __kernel_pid_t shm_lpid; /* pid of last operator */ __kernel_ulong_t shm_nattch; /* no. of current attaches */ __kernel_ulong_t __unused4; __kernel_ulong_t __unused5; }; struct shminfo64 { __kernel_ulong_t shmmax; __kernel_ulong_t shmmin; __kernel_ulong_t shmmni; __kernel_ulong_t shmseg; __kernel_ulong_t shmall; __kernel_ulong_t __unused1; __kernel_ulong_t __unused2; __kernel_ulong_t __unused3; __kernel_ulong_t __unused4; }; #endif #endif /* __ASM_X86_SHMBUF_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
a.out.h | File | 756 B | 0644 |
|
auxvec.h | File | 546 B | 0644 |
|
bitsperlong.h | File | 321 B | 0644 |
|
boot.h | File | 323 B | 0644 |
|
bootparam.h | File | 6.97 KB | 0644 |
|
bpf_perf_event.h | File | 40 B | 0644 |
|
byteorder.h | File | 176 B | 0644 |
|
debugreg.h | File | 3.21 KB | 0644 |
|
e820.h | File | 2.52 KB | 0644 |
|
errno.h | File | 31 B | 0644 |
|
fcntl.h | File | 31 B | 0644 |
|
hw_breakpoint.h | File | 69 B | 0644 |
|
hwcap2.h | File | 174 B | 0644 |
|
hyperv.h | File | 12.73 KB | 0644 |
|
ioctl.h | File | 31 B | 0644 |
|
ioctls.h | File | 32 B | 0644 |
|
ipcbuf.h | File | 32 B | 0644 |
|
ist.h | File | 854 B | 0644 |
|
kvm.h | File | 6.98 KB | 0644 |
|
kvm_para.h | File | 2.91 KB | 0644 |
|
kvm_perf.h | File | 388 B | 0644 |
|
ldt.h | File | 1.28 KB | 0644 |
|
mce.h | File | 1.28 KB | 0644 |
|
mman.h | File | 1002 B | 0644 |
|
msgbuf.h | File | 1.03 KB | 0644 |
|
msr.h | File | 346 B | 0644 |
|
mtrr.h | File | 4.13 KB | 0644 |
|
param.h | File | 31 B | 0644 |
|
perf_regs.h | File | 717 B | 0644 |
|
poll.h | File | 30 B | 0644 |
|
posix_types.h | File | 224 B | 0644 |
|
posix_types_32.h | File | 765 B | 0644 |
|
posix_types_64.h | File | 609 B | 0644 |
|
posix_types_x32.h | File | 581 B | 0644 |
|
prctl.h | File | 418 B | 0644 |
|
processor-flags.h | File | 6.47 KB | 0644 |
|
ptrace-abi.h | File | 1.99 KB | 0644 |
|
ptrace.h | File | 1.46 KB | 0644 |
|
resource.h | File | 34 B | 0644 |
|
sembuf.h | File | 777 B | 0644 |
|
setup.h | File | 6 B | 0644 |
|
shmbuf.h | File | 1.23 KB | 0644 |
|
sigcontext.h | File | 9.5 KB | 0644 |
|
sigcontext32.h | File | 247 B | 0644 |
|
siginfo.h | File | 494 B | 0644 |
|
signal.h | File | 2.83 KB | 0644 |
|
socket.h | File | 32 B | 0644 |
|
sockios.h | File | 33 B | 0644 |
|
stat.h | File | 3.06 KB | 0644 |
|
statfs.h | File | 416 B | 0644 |
|
svm.h | File | 6.9 KB | 0644 |
|
swab.h | File | 724 B | 0644 |
|
termbits.h | File | 34 B | 0644 |
|
termios.h | File | 33 B | 0644 |
|
types.h | File | 152 B | 0644 |
|
ucontext.h | File | 2.07 KB | 0644 |
|
unistd.h | File | 359 B | 0644 |
|
unistd_32.h | File | 9.9 KB | 0644 |
|
unistd_64.h | File | 8.68 KB | 0644 |
|
unistd_x32.h | File | 15.3 KB | 0644 |
|
vm86.h | File | 3.04 KB | 0644 |
|
vmx.h | File | 6.59 KB | 0644 |
|
vsyscall.h | File | 263 B | 0644 |
|