The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/alpha/linux/linux_ipc64.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * Copyright (c) 2002 Maxim Sobolev <sobomax@FreeBSD.org>
    3  * All rights reserved.
    4  *
    5  * Redistribution and use in source and binary forms, with or without
    6  * modification, are permitted provided that the following conditions
    7  * are met:
    8  * 1. Redistributions of source code must retain the above copyright
    9  *    notice, this list of conditions and the following disclaimer 
   10  *    in this position and unchanged.
   11  * 2. Redistributions in binary form must reproduce the above copyright
   12  *    notice, this list of conditions and the following disclaimer in the
   13  *    documentation and/or other materials provided with the distribution.
   14  * 3. The name of the author may not be used to endorse or promote products
   15  *    derived from this software without specific prior written permission
   16  *
   17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   18  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   19  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   20  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   21  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   22  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   23  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   24  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   25  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   26  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   27  *
   28  * $FreeBSD: releng/6.4/sys/alpha/linux/linux_ipc64.h 104893 2002-10-11 11:43:09Z sobomax $
   29  */
   30 
   31 #ifndef _ALPHA_LINUX_LINUX_IPC64_H_
   32 #define _ALPHA_LINUX_LINUX_IPC64_H_
   33 
   34 /*
   35  * The ipc64_perm structure for alpha architecture.
   36  * Note extra padding because this structure is passed back and forth
   37  * between kernel and user space.
   38  *
   39  * Pad space is left for:
   40  * - 32-bit seq
   41  * - 2 miscellaneous 64-bit values
   42  */
   43 
   44 struct l_ipc64_perm
   45 {
   46         l_key_t         key;
   47         l_uid_t         uid;
   48         l_gid_t         gid;
   49         l_uid_t         cuid;
   50         l_gid_t         cgid;
   51         l_mode_t        mode;
   52         l_ushort        seq;
   53         l_ushort        __pad1;
   54         l_ulong         __unused1;
   55         l_ulong         __unused2;
   56 };
   57 
   58 /*
   59  * The msqid64_ds structure for alpha architecture.
   60  * Note extra padding because this structure is passed back and forth
   61  * between kernel and user space.
   62  *
   63  * Pad space is left for:
   64  * - 2 miscellaneous 64-bit values
   65  */
   66 
   67 struct l_msqid64_ds {
   68         struct l_ipc64_perm msg_perm;
   69         l_time_t        msg_stime;      /* last msgsnd time */
   70         l_time_t        msg_rtime;      /* last msgrcv time */
   71         l_time_t        msg_ctime;      /* last change time */
   72         l_ulong         msg_cbytes;     /* current number of bytes on queue */
   73         l_ulong         msg_qnum;       /* number of messages in queue */
   74         l_ulong         msg_qbytes;     /* max number of bytes on queue */
   75         l_pid_t         msg_lspid;      /* pid of last msgsnd */
   76         l_pid_t         msg_lrpid;      /* last receive pid */
   77         l_ulong         __unused1;
   78         l_ulong         __unused2;
   79 };
   80 
   81 /*
   82  * The semid64_ds structure for alpha architecture.
   83  * Note extra padding because this structure is passed back and forth
   84  * between kernel and user space.
   85  *
   86  * Pad space is left for:
   87  * - 2 miscellaneous 64-bit values
   88  */
   89 
   90 struct l_semid64_ds {
   91         struct l_ipc64_perm sem_perm;   /* permissions */
   92         l_time_t        sem_otime;      /* last semop time */
   93         l_time_t        sem_ctime;      /* last change time */
   94         l_ulong         sem_nsems;      /* no. of semaphores in array */
   95         l_ulong         __unused1;
   96         l_ulong         __unused2;
   97 };
   98 
   99 /*
  100  * The shmid64_ds structure for alpha architecture.
  101  * Note extra padding because this structure is passed back and forth
  102  * between kernel and user space.
  103  *
  104  * Pad space is left for:
  105  * - 2 miscellaneous 64-bit values
  106  */
  107 
  108 struct l_shmid64_ds {
  109         struct l_ipc64_perm shm_perm;   /* operation perms */
  110         l_size_t        shm_segsz;      /* size of segment (bytes) */
  111         l_time_t        shm_atime;      /* last attach time */
  112         l_time_t        shm_dtime;      /* last detach time */
  113         l_time_t        shm_ctime;      /* last change time */
  114         l_pid_t         shm_cpid;       /* pid of creator */
  115         l_pid_t         shm_lpid;       /* pid of last operator */
  116         l_ulong         shm_nattch;     /* no. of current attaches */
  117         l_ulong         __unused1;
  118         l_ulong         __unused2;
  119 };
  120 
  121 struct l_shminfo64 {
  122         l_ulong         shmmax;
  123         l_ulong         shmmin;
  124         l_ulong         shmmni;
  125         l_ulong         shmseg;
  126         l_ulong         shmall;
  127         l_ulong         __unused1;
  128         l_ulong         __unused2;
  129         l_ulong         __unused3;
  130         l_ulong         __unused4;
  131 };
  132 
  133 #endif /* !_ALPHA_LINUX_LINUX_IPC64_H_ */

Cache object: 0e69b39112e070bce324fc94bcd5591a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.