/**/ /***************************************************************************/ /** **/ /** © 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:29 by OpenVMS SDL EV3-3 */ /* Source: 05-MAY-1993 16:24:16 $1$DGA7274:[LIB_H.SRC]EWDATADEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $EWDATADEF ***/ #ifndef __EWDATADEF_LOADED #define __EWDATADEF_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 /*+ */ /* $EWDATADEF - Symbolic offsets within the exec-writable page */ /* */ /* An exec-writable page is allocated when the system is bootstrapped. */ /* The fields within this page are being defined below. These data cells */ /* were originally defined in the system (i.e. in SYS.EXE) with the form: */ /* */ /* PMS$xL_cellname. */ /* */ /* Now that this cell resides in a seperate exec-writable page that is */ /* pointed by a cell in the system's base image, the symbolic offset from */ /* the base of the exec-writable page to this cell has the form: */ /* */ /* EW_PMS$xL_cellname. */ /* */ /* */ /* NOTE: The PMS Arrays (COUNT, MCNT, WRITE, CACHE, CPU, PFA) must immediately */ /* follow FCP and FCP2 fields. */ /* */ /*- */ #define EW$K_LENGTH 378 #define EW$C_LENGTH 378 #define EW$S_EWDATADEF 378 /* Old size name - synonym */ typedef struct _ewdata { __struct { #if defined(__VAXC) char ew_pms$gl_fcp[]; #else #define ew_pms$gl_fcp ew_pms$gl_fcp2 #endif /* #if defined(__VAXC) */ #if defined(__VAXC) char ew_pms$gl_fcp2[]; #else #define ew_pms$gl_fcp2 ew_pms$al_count #endif /* #if defined(__VAXC) */ unsigned int ew_pms$al_count [10]; /* number of operations */ unsigned int ew_pms$al_mcnt [10]; /* number of modifiers */ unsigned int ew_pms$al_read [10]; /* number of disk reads */ unsigned int ew_pms$al_write [10]; /* number of disk writes */ unsigned int ew_pms$al_cache [10]; /* number of cache hits */ unsigned int ew_pms$al_cpu [10]; /* accumulated cpu times */ unsigned int ew_pms$al_pfa [10]; /* accumulated page faults */ unsigned int ew_pms$gl_turn; /* number of window turns */ unsigned int ew_pms$gl_dirhit; /* count of directory LRU hits */ unsigned int ew_pms$gl_dirmiss; /* count of directory LRU misses */ unsigned int ew_pms$gl_quohit; /* count of quota cache hits */ unsigned int ew_pms$gl_quomiss; /* count of quota cache misses */ unsigned int ew_pms$gl_fidhit; /* count of file ID cache hits */ unsigned int ew_pms$gl_fidmiss; /* count of file ID cache misses */ unsigned int ew_pms$gl_exthit; /* count of extent cache hits */ unsigned int ew_pms$gl_extmiss; /* count of extent cache misses */ unsigned int ew_pms$gl_filhdr_hit; /* count of file header cache hits */ unsigned int ew_pms$gl_filhdr_miss; /* count of file header cache misses */ unsigned int ew_pms$gl_dirdata_hit; /* count of directory data block hits */ unsigned int ew_pms$gl_dirdata_miss; /* count of directory data block misses */ unsigned int ew_pms$gl_storagmap_hit; /* count of storage bit map cache hits */ unsigned int ew_pms$gl_storagmap_miss; /* count of storage bit map cache misses */ unsigned int ew_pms$gl_open; /* number of currently open files */ unsigned int ew_pms$gl_opens; /* total count of opens */ unsigned int ew_pms$gl_eraseio; /* total count of erase QIO's issued */ unsigned int ew_pms$gl_vollck; /* count of XQP volume synch locks */ unsigned int ew_pms$gl_volwait; /* # of times XQP had to wait for a */ /* volume synch lock */ unsigned int ew_pms$gl_synchlck; /* count of XQP directory and */ /* file synch locks */ unsigned int ew_pms$gl_synchwait; /* # of times XQP had to wait for a */ /* directory or file synch lock */ unsigned int ew_pms$gl_acclck; /* count of XQP access locks */ unsigned int ew_pms$gl_xqpcachewait; /* # of times XQP had to wait for free */ /* space in a cache */ } ew$r_pmsewdata; __struct { unsigned short int ew_rms$gw_gblbufquo; /* current global buffer quota remaining */ } ew$r_rmsewdata; } EWDATA; #if !defined(__VAXC) #define ew_pms$al_count ew$r_pmsewdata.ew_pms$al_count #define ew_pms$al_mcnt ew$r_pmsewdata.ew_pms$al_mcnt #define ew_pms$al_read ew$r_pmsewdata.ew_pms$al_read #define ew_pms$al_write ew$r_pmsewdata.ew_pms$al_write #define ew_pms$al_cache ew$r_pmsewdata.ew_pms$al_cache #define ew_pms$al_cpu ew$r_pmsewdata.ew_pms$al_cpu #define ew_pms$al_pfa ew$r_pmsewdata.ew_pms$al_pfa #define ew_pms$gl_turn ew$r_pmsewdata.ew_pms$gl_turn #define ew_pms$gl_dirhit ew$r_pmsewdata.ew_pms$gl_dirhit #define ew_pms$gl_dirmiss ew$r_pmsewdata.ew_pms$gl_dirmiss #define ew_pms$gl_quohit ew$r_pmsewdata.ew_pms$gl_quohit #define ew_pms$gl_quomiss ew$r_pmsewdata.ew_pms$gl_quomiss #define ew_pms$gl_fidhit ew$r_pmsewdata.ew_pms$gl_fidhit #define ew_pms$gl_fidmiss ew$r_pmsewdata.ew_pms$gl_fidmiss #define ew_pms$gl_exthit ew$r_pmsewdata.ew_pms$gl_exthit #define ew_pms$gl_extmiss ew$r_pmsewdata.ew_pms$gl_extmiss #define ew_pms$gl_filhdr_hit ew$r_pmsewdata.ew_pms$gl_filhdr_hit #define ew_pms$gl_filhdr_miss ew$r_pmsewdata.ew_pms$gl_filhdr_miss #define ew_pms$gl_dirdata_hit ew$r_pmsewdata.ew_pms$gl_dirdata_hit #define ew_pms$gl_dirdata_miss ew$r_pmsewdata.ew_pms$gl_dirdata_miss #define ew_pms$gl_storagmap_hit ew$r_pmsewdata.ew_pms$gl_storagmap_hit #define ew_pms$gl_storagmap_miss ew$r_pmsewdata.ew_pms$gl_storagmap_miss #define ew_pms$gl_open ew$r_pmsewdata.ew_pms$gl_open #define ew_pms$gl_opens ew$r_pmsewdata.ew_pms$gl_opens #define ew_pms$gl_eraseio ew$r_pmsewdata.ew_pms$gl_eraseio #define ew_pms$gl_vollck ew$r_pmsewdata.ew_pms$gl_vollck #define ew_pms$gl_volwait ew$r_pmsewdata.ew_pms$gl_volwait #define ew_pms$gl_synchlck ew$r_pmsewdata.ew_pms$gl_synchlck #define ew_pms$gl_synchwait ew$r_pmsewdata.ew_pms$gl_synchwait #define ew_pms$gl_acclck ew$r_pmsewdata.ew_pms$gl_acclck #define ew_pms$gl_xqpcachewait ew$r_pmsewdata.ew_pms$gl_xqpcachewait #define ew_rms$gw_gblbufquo ew$r_rmsewdata.ew_rms$gw_gblbufquo #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 /* __EWDATADEF_LOADED */