#ifndef __ASM_GENERIC_SEMBUF_H #define __ASM_GENERIC_SEMBUF_H #include <asm/bitsperlong.h> /* * The semid64_ds structure for x86 architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * semid64_ds was originally meant to be architecture specific, but * everyone just ended up making identical copies without specific * optimizations, so we may just as well all use the same one. * * 64 bit architectures typically define a 64 bit __kernel_time_t, * so they do not need the first two padding words. * On big-endian systems, the padding is in the wrong place. * * Pad space is left for: * - 64-bit time_t to solve y2038 problem * - 2 miscellaneous 32-bit values */ struct semid64_ds { struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ __kernel_time_t sem_otime; /* last semop time */ #if __BITS_PER_LONG != 64 unsigned long __unused1; #endif __kernel_time_t sem_ctime; /* last change time */ #if __BITS_PER_LONG != 64 unsigned long __unused2; #endif unsigned long sem_nsems; /* no. of semaphores in array */ unsigned long __unused3; unsigned long __unused4; }; #endif /* __ASM_GENERIC_SEMBUF_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
auxvec.h | File | 218 B | 0644 |
|
bitsperlong.h | File | 501 B | 0644 |
|
bpf_perf_event.h | File | 238 B | 0644 |
|
errno-base.h | File | 1.51 KB | 0644 |
|
errno.h | File | 5.12 KB | 0644 |
|
fcntl.h | File | 5.23 KB | 0644 |
|
int-l64.h | File | 655 B | 0644 |
|
int-ll64.h | File | 801 B | 0644 |
|
ioctl.h | File | 3.33 KB | 0644 |
|
ioctls.h | File | 3.65 KB | 0644 |
|
ipcbuf.h | File | 936 B | 0644 |
|
kvm_para.h | File | 96 B | 0644 |
|
mman-common.h | File | 3.19 KB | 0644 |
|
mman.h | File | 1017 B | 0644 |
|
msgbuf.h | File | 1.46 KB | 0644 |
|
param.h | File | 290 B | 0644 |
|
poll.h | File | 795 B | 0644 |
|
posix_types.h | File | 2.18 KB | 0644 |
|
resource.h | File | 1.9 KB | 0644 |
|
sembuf.h | File | 1.17 KB | 0644 |
|
setup.h | File | 127 B | 0644 |
|
shmbuf.h | File | 1.66 KB | 0644 |
|
shmparam.h | File | 168 B | 0644 |
|
siginfo.h | File | 9.09 KB | 0644 |
|
signal-defs.h | File | 737 B | 0644 |
|
signal.h | File | 2.53 KB | 0644 |
|
socket.h | File | 1.82 KB | 0644 |
|
sockios.h | File | 376 B | 0644 |
|
stat.h | File | 2.51 KB | 0644 |
|
statfs.h | File | 1.72 KB | 0644 |
|
swab.h | File | 439 B | 0644 |
|
termbits.h | File | 4.54 KB | 0644 |
|
termios.h | File | 1.28 KB | 0644 |
|
types.h | File | 220 B | 0644 |
|
ucontext.h | File | 294 B | 0644 |
|
unistd.h | File | 28.77 KB | 0644 |
|