Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef __ASM_GENERIC_MSGBUF_H |
| 8 | #define __ASM_GENERIC_MSGBUF_H |
| 9 | #include <asm/bitsperlong.h> |
Christopher Ferris | ef80d68 | 2020-02-04 16:16:51 -0800 | [diff] [blame] | 10 | #include <asm/ipcbuf.h> |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | struct msqid64_ds { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 12 | struct ipc64_perm msg_perm; |
Christopher Ferris | a981e2e | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 13 | #if __BITS_PER_LONG == 64 |
Christopher Ferris | ef80d68 | 2020-02-04 16:16:51 -0800 | [diff] [blame] | 14 | long msg_stime; |
| 15 | long msg_rtime; |
| 16 | long msg_ctime; |
Christopher Ferris | a981e2e | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 17 | #else |
| 18 | unsigned long msg_stime; |
| 19 | unsigned long msg_stime_high; |
| 20 | unsigned long msg_rtime; |
| 21 | unsigned long msg_rtime_high; |
| 22 | unsigned long msg_ctime; |
| 23 | unsigned long msg_ctime_high; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 24 | #endif |
Christopher Ferris | a981e2e | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 25 | unsigned long msg_cbytes; |
| 26 | unsigned long msg_qnum; |
| 27 | unsigned long msg_qbytes; |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 28 | __kernel_pid_t msg_lspid; |
| 29 | __kernel_pid_t msg_lrpid; |
Christopher Ferris | a981e2e | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 30 | unsigned long __unused4; |
| 31 | unsigned long __unused5; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 32 | }; |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 33 | #endif |