Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 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 | */ |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 7 | #ifndef __ASM_X86_SHMBUF_H |
| 8 | #define __ASM_X86_SHMBUF_H |
| 9 | #if !defined(__x86_64__) || !defined(__ILP32__) |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 10 | #include <asm-generic/shmbuf.h> |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 11 | #else |
Christopher Ferris | 10a76e6 | 2022-06-08 13:31:52 -0700 | [diff] [blame] | 12 | #include <asm/ipcbuf.h> |
| 13 | #include <asm/posix_types.h> |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 14 | struct shmid64_ds { |
| 15 | struct ipc64_perm shm_perm; |
Christopher Ferris | 10a76e6 | 2022-06-08 13:31:52 -0700 | [diff] [blame] | 16 | __kernel_size_t shm_segsz; |
Christopher Ferris | d32ca14 | 2020-02-04 16:16:51 -0800 | [diff] [blame] | 17 | __kernel_long_t shm_atime; |
| 18 | __kernel_long_t shm_dtime; |
| 19 | __kernel_long_t shm_ctime; |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 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 |