blob: 62f72520a50c951033237ac04c8ec91979c28524 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Ferris76a1d452018-06-27 14:12:29 -07007#ifndef __ASM_X86_SHMBUF_H
8#define __ASM_X86_SHMBUF_H
9#if !defined(__x86_64__) || !defined(__ILP32__)
Elliott Hughesabd62612013-11-08 11:45:48 -080010#include <asm-generic/shmbuf.h>
Christopher Ferris76a1d452018-06-27 14:12:29 -070011#else
Christopher Ferris10a76e62022-06-08 13:31:52 -070012#include <asm/ipcbuf.h>
13#include <asm/posix_types.h>
Christopher Ferris76a1d452018-06-27 14:12:29 -070014struct shmid64_ds {
15 struct ipc64_perm shm_perm;
Christopher Ferris10a76e62022-06-08 13:31:52 -070016 __kernel_size_t shm_segsz;
Christopher Ferrisd32ca142020-02-04 16:16:51 -080017 __kernel_long_t shm_atime;
18 __kernel_long_t shm_dtime;
19 __kernel_long_t shm_ctime;
Christopher Ferris76a1d452018-06-27 14:12:29 -070020 __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};
26struct 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