• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef __ASM_GENERIC_SHMBUF_H
7 #define __ASM_GENERIC_SHMBUF_H
8 #include <asm/bitsperlong.h>
9 struct shmid64_ds {
10 	struct ipc64_perm	shm_perm;
11 	size_t			shm_segsz;
12 #if __BITS_PER_LONG == 64
13 	__kernel_time_t		shm_atime;
14 	__kernel_time_t		shm_dtime;
15 	__kernel_time_t		shm_ctime;
16 #else
17 	unsigned long		shm_atime;
18 	unsigned long		shm_atime_high;
19 	unsigned long		shm_dtime;
20 	unsigned long		shm_dtime_high;
21 	unsigned long		shm_ctime;
22 	unsigned long		shm_ctime_high;
23 #endif
24 	__kernel_pid_t		shm_cpid;
25 	__kernel_pid_t		shm_lpid;
26 	unsigned long		shm_nattch;
27 	unsigned long		__unused4;
28 	unsigned long		__unused5;
29 };
30 struct shminfo64 {
31 	unsigned long		shmmax;
32 	unsigned long		shmmin;
33 	unsigned long		shmmni;
34 	unsigned long		shmseg;
35 	unsigned long		shmall;
36 	unsigned long		__unused1;
37 	unsigned long		__unused2;
38 	unsigned long		__unused3;
39 	unsigned long		__unused4;
40 };
41 #endif
42