Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / frv / include / uapi / asm / shmbuf.h
blob1de8f892e41277db85090127d90924762f5da200
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_SHMBUF_H
3 #define _ASM_SHMBUF_H
5 /*
6 * The shmid64_ds structure for FR-V architecture.
7 * Note extra padding because this structure is passed back and forth
8 * between kernel and user space.
10 * Pad space is left for:
11 * - 64-bit time_t to solve y2038 problem
12 * - 2 miscellaneous 32-bit values
15 struct shmid64_ds {
16 struct ipc64_perm shm_perm; /* operation perms */
17 size_t shm_segsz; /* size of segment (bytes) */
18 __kernel_time_t shm_atime; /* last attach time */
19 unsigned long __unused1;
20 __kernel_time_t shm_dtime; /* last detach time */
21 unsigned long __unused2;
22 __kernel_time_t shm_ctime; /* last change time */
23 unsigned long __unused3;
24 __kernel_pid_t shm_cpid; /* pid of creator */
25 __kernel_pid_t shm_lpid; /* pid of last operator */
26 unsigned long shm_nattch; /* no. of current attaches */
27 unsigned long __unused4;
28 unsigned long __unused5;
31 struct shminfo64 {
32 unsigned long shmmax;
33 unsigned long shmmin;
34 unsigned long shmmni;
35 unsigned long shmseg;
36 unsigned long shmall;
37 unsigned long __unused1;
38 unsigned long __unused2;
39 unsigned long __unused3;
40 unsigned long __unused4;
43 #endif /* _ASM_SHMBUF_H */