Path: blob/master/arch/powerpc/include/uapi/asm/msgbuf.h
26515 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _ASM_POWERPC_MSGBUF_H2#define _ASM_POWERPC_MSGBUF_H34#include <asm/ipcbuf.h>56/*7* The msqid64_ds structure for the PowerPC architecture.8* Note extra padding because this structure is passed back and forth9* between kernel and user space.10*/1112struct msqid64_ds {13struct ipc64_perm msg_perm;14#ifdef __powerpc64__15long msg_stime; /* last msgsnd time */16long msg_rtime; /* last msgrcv time */17long msg_ctime; /* last change time */18#else19unsigned long msg_stime_high;20unsigned long msg_stime; /* last msgsnd time */21unsigned long msg_rtime_high;22unsigned long msg_rtime; /* last msgrcv time */23unsigned long msg_ctime_high;24unsigned long msg_ctime; /* last change time */25#endif26unsigned long msg_cbytes; /* current number of bytes on queue */27unsigned long msg_qnum; /* number of messages in queue */28unsigned long msg_qbytes; /* max number of bytes on queue */29__kernel_pid_t msg_lspid; /* pid of last msgsnd */30__kernel_pid_t msg_lrpid; /* last receive pid */31unsigned long __unused4;32unsigned long __unused5;33};3435#endif /* _ASM_POWERPC_MSGBUF_H */363738