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 _UAPI__DLM_DOT_H__ |
| 8 | #define _UAPI__DLM_DOT_H__ |
| 9 | #include <linux/dlmconstants.h> |
| 10 | #include <linux/types.h> |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | typedef void dlm_lockspace_t; |
| 12 | #define DLM_SBF_DEMOTED 0x01 |
| 13 | #define DLM_SBF_VALNOTVALID 0x02 |
| 14 | #define DLM_SBF_ALTMODE 0x04 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | struct dlm_lksb { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 16 | int sb_status; |
| 17 | __u32 sb_lkid; |
| 18 | char sb_flags; |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 19 | char * sb_lvbptr; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 20 | }; |
| 21 | #define DLM_LSFL_TIMEWARN 0x00000002 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 22 | #define DLM_LSFL_NEWEXCL 0x00000008 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 23 | #endif |