Path: blob/master/arch/parisc/include/uapi/asm/msgbuf.h
26304 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _PARISC_MSGBUF_H2#define _PARISC_MSGBUF_H34#include <asm/bitsperlong.h>5#include <asm/ipcbuf.h>67/*8* The msqid64_ds structure for parisc architecture, copied from sparc.9* Note extra padding because this structure is passed back and forth10* between kernel and user space.11*12* Pad space is left for:13* - 2 miscellaneous 32-bit values14*/1516struct msqid64_ds {17struct ipc64_perm msg_perm;18#if __BITS_PER_LONG == 6419long msg_stime; /* last msgsnd time */20long msg_rtime; /* last msgrcv time */21long msg_ctime; /* last change time */22#else23unsigned long msg_stime_high;24unsigned long msg_stime; /* last msgsnd time */25unsigned long msg_rtime_high;26unsigned long msg_rtime; /* last msgrcv time */27unsigned long msg_ctime_high;28unsigned long msg_ctime; /* last change time */29#endif30unsigned long msg_cbytes; /* current number of bytes on queue */31unsigned long msg_qnum; /* number of messages in queue */32unsigned long msg_qbytes; /* max number of bytes on queue */33__kernel_pid_t msg_lspid; /* pid of last msgsnd */34__kernel_pid_t msg_lrpid; /* last receive pid */35unsigned long __unused1;36unsigned long __unused2;37};3839#endif /* _PARISC_MSGBUF_H */404142