sembuf.h 603 B

12345678910111213141516171819202122
  1. #ifndef _ASM_SEMBUF_H
  2. #define _ASM_SEMBUF_H
  3. /*
  4. * The semid64_ds structure for the MIPS architecture.
  5. * Note extra padding because this structure is passed back and forth
  6. * between kernel and user space.
  7. *
  8. * Pad space is left for:
  9. * - 2 miscellaneous 64-bit values
  10. */
  11. struct semid64_ds {
  12. struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
  13. __kernel_time_t sem_otime; /* last semop time */
  14. __kernel_time_t sem_ctime; /* last change time */
  15. unsigned long sem_nsems; /* no. of semaphores in array */
  16. unsigned long __unused1;
  17. unsigned long __unused2;
  18. };
  19. #endif /* _ASM_SEMBUF_H */