• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  */
7 #ifndef _UAPI__DLM_PLOCK_DOT_H__
8 #define _UAPI__DLM_PLOCK_DOT_H__
9 #include <linux/types.h>
10 #define DLM_PLOCK_MISC_NAME "dlm_plock"
11 #define DLM_PLOCK_VERSION_MAJOR 1
12 #define DLM_PLOCK_VERSION_MINOR 2
13 #define DLM_PLOCK_VERSION_PATCH 0
14 enum {
15   DLM_PLOCK_OP_LOCK = 1,
16   DLM_PLOCK_OP_UNLOCK,
17   DLM_PLOCK_OP_GET,
18   DLM_PLOCK_OP_CANCEL,
19 };
20 #define DLM_PLOCK_FL_CLOSE 1
21 struct dlm_plock_info {
22   __u32 version[3];
23   __u8 optype;
24   __u8 ex;
25   __u8 wait;
26   __u8 flags;
27   __u32 pid;
28   __s32 nodeid;
29   __s32 rv;
30   __u32 fsid;
31   __u64 number;
32   __u64 start;
33   __u64 end;
34   __u64 owner;
35 };
36 #endif
37