/* * * Get Lock Information Data Identifier Definitions */ #ifndef _LKIDEF_H #define _LKIDEF_H /* item list blocks */ #define LKI$K_LENGTH 24 /* length of list block without byte range info */ #define LKI$C_LENGTH 24 #define LKI$K_BR_LENGTH 56 /* length of list block with byte range info */ #define LKI$C_BR_LENGTH 56 struct lkidef { union { unsigned long lki$l_mstlkid; /* lock ID on master */ unsigned long lki$l_lockid; /* old symbol */ } lki$r_u1; unsigned long lki$l_pid; /* process ID */ union { unsigned long lki$l_mstcsid; /* CSID of master */ unsigned long lki$l_sysid; /* old symbol */ } lki$r_u2; unsigned char lki$b_rqmode; /* request mode */ unsigned char lki$b_grmode; /* granted mode */ char lki$b_queue; /* lock queue */ char lki$$$_spare; /* spare byte */ union { unsigned long lki$l_lkid; /* lock ID on process node */ unsigned long lki$l_remlkid; /* old symbol */ } lki$r_u3; union { unsigned long lki$l_csid; /* CSID of process node */ unsigned long lki$l_remsysid; /* old symbol */ } lki$r_u4; unsigned long lki$q_rqstart[2]; /* request range start */ unsigned long lki$q_rqlength[2]; /* request range length */ unsigned long lki$q_grstart[2]; /* granted range start */ unsigned long lki$q_grlength[2]; /* granted range length */ }; /* define namspace fields */ #define LKI$V_SYSNAM 28 #define LKI$M_SYSNAM (1<