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_GENERIC_SHMBUF_H
8 #define __ASM_GENERIC_SHMBUF_H
9 #include <asm/bitsperlong.h>
10 #include <asm/ipcbuf.h>
11 #include <asm/posix_types.h>
12 struct shmid64_ds {
13   struct ipc64_perm shm_perm;
14   __kernel_size_t shm_segsz;
15 #if __BITS_PER_LONG == 64
16   long shm_atime;
17   long shm_dtime;
18   long shm_ctime;
19 #else
20   unsigned long shm_atime;
21   unsigned long shm_atime_high;
22   unsigned long shm_dtime;
23   unsigned long shm_dtime_high;
24   unsigned long shm_ctime;
25   unsigned long shm_ctime_high;
26 #endif
27   __kernel_pid_t shm_cpid;
28   __kernel_pid_t shm_lpid;
29   unsigned long shm_nattch;
30   unsigned long __unused4;
31   unsigned long __unused5;
32 };
33 struct shminfo64 {
34   unsigned long shmmax;
35   unsigned long shmmin;
36   unsigned long shmmni;
37   unsigned long shmseg;
38   unsigned long shmall;
39   unsigned long __unused1;
40   unsigned long __unused2;
41   unsigned long __unused3;
42   unsigned long __unused4;
43 };
44 #endif
45