Path: blob/master/arch/xtensa/include/uapi/asm/msgbuf.h
26498 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* include/asm-xtensa/msgbuf.h3*4* The msqid64_ds structure for the Xtensa architecture.5* Note extra padding because this structure is passed back and forth6* between kernel and user space.7*8* Pad space is left for:9* - 2 miscellaneous 32-bit values10*11* This file is subject to the terms and conditions of the GNU General12* Public License. See the file "COPYING" in the main directory of13* this archive for more details.14*/1516#ifndef _XTENSA_MSGBUF_H17#define _XTENSA_MSGBUF_H1819#include <asm/ipcbuf.h>2021struct msqid64_ds {22struct ipc64_perm msg_perm;23#ifdef __XTENSA_EB__24unsigned long msg_stime_high;25unsigned long msg_stime; /* last msgsnd time */26unsigned long msg_rtime_high;27unsigned long msg_rtime; /* last msgrcv time */28unsigned long msg_ctime_high;29unsigned long msg_ctime; /* last change time */30#elif defined(__XTENSA_EL__)31unsigned long msg_stime; /* last msgsnd time */32unsigned long msg_stime_high;33unsigned long msg_rtime; /* last msgrcv time */34unsigned long msg_rtime_high;35unsigned long msg_ctime; /* last change time */36unsigned long msg_ctime_high;37#else38# error processor byte order undefined!39#endif40unsigned long msg_cbytes; /* current number of bytes on queue */41unsigned long msg_qnum; /* number of messages in queue */42unsigned long msg_qbytes; /* max number of bytes on queue */43__kernel_pid_t msg_lspid; /* pid of last msgsnd */44__kernel_pid_t msg_lrpid; /* last receive pid */45unsigned long __unused4;46unsigned long __unused5;47};4849#endif /* _XTENSA_MSGBUF_H */505152