/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:27:14 by OpenVMS SDL EV3-3 */ /* Source: 24-AUG-2001 04:04:28 $1$DGA7274:[LIB_H.SRC]LCKSTRDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $LCKSTRDEF ***/ #ifndef __LCKSTRDEF_LOADED #define __LCKSTRDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* LCKSTR - Lock manager structure context block */ /* */ #define LCKSTR$K_LENGTH 384 /* Length of LCKSTR */ #define LCKSTR$C_LENGTH 384 /* Length of LCKSTR */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _lckstr { #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ void *lckstr$q_fill1; /* reserved */ #else unsigned __int64 lckstr$q_fill1; #endif unsigned short int lckstr$w_mbo; /* must-be-one field */ unsigned char lckstr$b_type; /* structure type */ unsigned char lckstr$b_subtype; /* structure sub-type */ int lckstr$l_fill2; /* reserved */ unsigned __int64 lckstr$q_size; /* structure size */ #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ void *lckstr$q_queuelock; /* pointer to queue lock */ #else unsigned __int64 lckstr$q_queuelock; #endif unsigned __int64 lckstr$q_lckrq_table; /* pointer to LCKRQ address table */ unsigned __int64 lckstr$q_lckrq_curidx; /* current index into LCKRQ address table */ unsigned int lckstr$l_lckmgr_cpuid; /* CPU id, where lckmgr_server process runs */ unsigned int lckstr$l_lckmgr_pcb; /* PCB address of lckmgr_server process */ unsigned int lckstr$l_lckmgr_pid; /* PID of lckmgr_server process */ unsigned int lckstr$l_flag; /* flag */ unsigned __int64 lckstr$q_spin_count; /* number of times lckmgr was in spinloop */ unsigned __int64 lckstr$q_spin_time_acc; /* accumulated spin time in cycles */ unsigned __int64 lckstr$q_req_count; /* number of lock requests handled */ unsigned __int64 lckstr$q_req_time_acc; /* accumulated time to work requests */ unsigned int lckstr$l_overflow_queue; /* overflow queue */ unsigned int lckstr$l_overflow_shadow; /* overflow shadow queue */ unsigned int lckstr$l_sanity_counter; /* sanity check counter */ char lckstr$b_fill_0_ [4]; #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif unsigned __int64 lckstr$q_seq; /* sequence number */ unsigned __int64 lckstr$q_reserved1; #pragma __nomember_alignment unsigned __int64 lckstr$q_reserved2; unsigned __int64 lckstr$q_reserved3; unsigned __int64 lckstr$q_reserved4; char lckstr$t_align2 [104]; /* Assure 128 byte alignment */ __union { unsigned __int64 lckstr$q_lckrq_nxtidx; /* next index into LCKRQ address table */ __struct { unsigned int lckstr$l_fill3; unsigned int lckstr$l_lckrq_shadidx; /* shadow of current idx into LCKRQ table */ } lckstr$r_shadidx; } lckstr$r_idx_overlay; char lckstr$t_align3 [120]; /* Assure 128 byte alignment */ } LCKSTR; #if !defined(__VAXC) #define lckstr$q_lckrq_nxtidx lckstr$r_idx_overlay.lckstr$q_lckrq_nxtidx #define lckstr$l_fill3 lckstr$r_idx_overlay.lckstr$r_shadidx.lckstr$l_fill3 #define lckstr$l_lckrq_shadidx lckstr$r_idx_overlay.lckstr$r_shadidx.lckstr$l_lckrq_shadidx #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __LCKSTRDEF_LOADED */