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