1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef __ASM_X86_SHMBUF_H 8 #define __ASM_X86_SHMBUF_H 9 #if !defined(__x86_64__) || !defined(__ILP32__) 10 #include <asm-generic/shmbuf.h> 11 #else 12 #include <asm/ipcbuf.h> 13 #include <asm/posix_types.h> 14 struct shmid64_ds { 15 struct ipc64_perm shm_perm; 16 __kernel_size_t shm_segsz; 17 __kernel_long_t shm_atime; 18 __kernel_long_t shm_dtime; 19 __kernel_long_t shm_ctime; 20 __kernel_pid_t shm_cpid; 21 __kernel_pid_t shm_lpid; 22 __kernel_ulong_t shm_nattch; 23 __kernel_ulong_t __unused4; 24 __kernel_ulong_t __unused5; 25 }; 26 struct shminfo64 { 27 __kernel_ulong_t shmmax; 28 __kernel_ulong_t shmmin; 29 __kernel_ulong_t shmmni; 30 __kernel_ulong_t shmseg; 31 __kernel_ulong_t shmall; 32 __kernel_ulong_t __unused1; 33 __kernel_ulong_t __unused2; 34 __kernel_ulong_t __unused3; 35 __kernel_ulong_t __unused4; 36 }; 37 #endif 38 #endif 39