1
2 #ifndef __ASM_GENERIC_SHMBUF_H
3 #define __ASM_GENERIC_SHMBUF_H
4
5 #include <asm/bitsperlong.h>
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 struct shmid64_ds {
26 struct ipc64_perm shm_perm;
27 size_t shm_segsz;
28 #if __BITS_PER_LONG == 64
29 __kernel_time_t shm_atime;
30 __kernel_time_t shm_dtime;
31 __kernel_time_t shm_ctime;
32 #else
33 unsigned long shm_atime;
34 unsigned long shm_atime_high;
35 unsigned long shm_dtime;
36 unsigned long shm_dtime_high;
37 unsigned long shm_ctime;
38 unsigned long shm_ctime_high;
39 #endif
40 __kernel_pid_t shm_cpid;
41 __kernel_pid_t shm_lpid;
42 unsigned long shm_nattch;
43 unsigned long __unused4;
44 unsigned long __unused5;
45 };
46
47 struct shminfo64 {
48 unsigned long shmmax;
49 unsigned long shmmin;
50 unsigned long shmmni;
51 unsigned long shmseg;
52 unsigned long shmall;
53 unsigned long __unused1;
54 unsigned long __unused2;
55 unsigned long __unused3;
56 unsigned long __unused4;
57 };
58
59 #endif