![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 #ifndef _SPARC_MSGBUF_H 0003 #define _SPARC_MSGBUF_H 0004 0005 #include <asm/ipcbuf.h> 0006 0007 /* 0008 * The msqid64_ds structure for sparc64 architecture. 0009 * Note extra padding because this structure is passed back and forth 0010 * between kernel and user space. 0011 * 0012 * Pad space is left for: 0013 * - 2 miscellaneous 32-bit values 0014 */ 0015 struct msqid64_ds { 0016 struct ipc64_perm msg_perm; 0017 #if defined(__sparc__) && defined(__arch64__) 0018 long msg_stime; /* last msgsnd time */ 0019 long msg_rtime; /* last msgrcv time */ 0020 long msg_ctime; /* last change time */ 0021 #else 0022 unsigned long msg_stime_high; 0023 unsigned long msg_stime; /* last msgsnd time */ 0024 unsigned long msg_rtime_high; 0025 unsigned long msg_rtime; /* last msgrcv time */ 0026 unsigned long msg_ctime_high; 0027 unsigned long msg_ctime; /* last change time */ 0028 #endif 0029 unsigned long msg_cbytes; /* current number of bytes on queue */ 0030 unsigned long msg_qnum; /* number of messages in queue */ 0031 unsigned long msg_qbytes; /* max number of bytes on queue */ 0032 __kernel_pid_t msg_lspid; /* pid of last msgsnd */ 0033 __kernel_pid_t msg_lrpid; /* last receive pid */ 0034 unsigned long __unused1; 0035 unsigned long __unused2; 0036 }; 0037 #endif /* _SPARC_MSGBUF_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |