/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _SPARC_MSGBUF_H2#define _SPARC_MSGBUF_H34#include <asm/ipcbuf.h>56/*7* The msqid64_ds structure for sparc64 architecture.8* Note extra padding because this structure is passed back and forth9* between kernel and user space.10*11* Pad space is left for:12* - 2 miscellaneous 32-bit values13*/14struct msqid64_ds {15struct ipc64_perm msg_perm;16#if defined(__sparc__) && defined(__arch64__)17long msg_stime; /* last msgsnd time */18long msg_rtime; /* last msgrcv time */19long msg_ctime; /* last change time */20#else21unsigned long msg_stime_high;22unsigned long msg_stime; /* last msgsnd time */23unsigned long msg_rtime_high;24unsigned long msg_rtime; /* last msgrcv time */25unsigned long msg_ctime_high;26unsigned long msg_ctime; /* last change time */27#endif28unsigned long msg_cbytes; /* current number of bytes on queue */29unsigned long msg_qnum; /* number of messages in queue */30unsigned long msg_qbytes; /* max number of bytes on queue */31__kernel_pid_t msg_lspid; /* pid of last msgsnd */32__kernel_pid_t msg_lrpid; /* last receive pid */33unsigned long __unused1;34unsigned long __unused2;35};36#endif /* _SPARC_MSGBUF_H */373839