Path: blob/master/arch/parisc/include/uapi/asm/sembuf.h
26305 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _PARISC_SEMBUF_H2#define _PARISC_SEMBUF_H34#include <asm/bitsperlong.h>5#include <asm/ipcbuf.h>67/*8* The semid64_ds structure for parisc architecture.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 semid64_ds {17struct ipc64_perm sem_perm; /* permissions .. see ipc.h */18#if __BITS_PER_LONG == 6419long sem_otime; /* last semop time */20long sem_ctime; /* last change time */21#else22unsigned long sem_otime_high;23unsigned long sem_otime; /* last semop time */24unsigned long sem_ctime_high;25unsigned long sem_ctime; /* last change time */26#endif27unsigned long sem_nsems; /* no. of semaphores in array */28unsigned long __unused1;29unsigned long __unused2;30};3132#endif /* _PARISC_SEMBUF_H */333435