linux/arch/m32r/include/uapi/asm/shmbuf.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2#ifndef _ASM_M32R_SHMBUF_H
   3#define _ASM_M32R_SHMBUF_H
   4
   5/*
   6 * The shmid64_ds structure for M32R architecture.
   7 * Note extra padding because this structure is passed back and forth
   8 * between kernel and user space.
   9 *
  10 * Pad space is left for:
  11 * - 64-bit time_t to solve y2038 problem
  12 * - 2 miscellaneous 32-bit values
  13 */
  14
  15struct 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;
  29};
  30
  31struct 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;
  41};
  42
  43#endif /* _ASM_M32R_SHMBUF_H */
  44