4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
33 typedef struct vslist_s
37 struct vslist_s
*next
;
42 extern int iterations
;
48 extern vslist_t
*vs_top
;
50 /* kstat named character limit */
60 #define DSSTAT_SUCCESS 0 /* Success */
61 #define DSSTAT_NOSTAT 1 /* No Statistics Avaiable */
62 #define DSSTAT_EINVAL 2 /* Invalid Argument */
63 #define DSSTAT_ENOMEM 3 /* No Memory Available To Get Statistics */
64 #define DSSTAT_EUNKNWN 4 /* Unknown Error */
65 #define DSSTAT_EMAP 5 /* Mapped kstat memory is invalid */
87 #define ASYNC_QUEUE 0x200
90 #define SNDR_REP_MASK (SNDR_PRI | SNDR_NET | SNDR_BMP)
91 #define SNDR_DIS_MASK (SUMMARY | READ | WRITE | TIMING | FLAGS | PCTS | \
94 #define IIMG_REP_MASK (IIMG_MST | IIMG_SHD | IIMG_BMP | IIMG_OVR)
95 #define IIMG_DIS_MASK (SUMMARY | READ | WRITE | TIMING | FLAGS | PCTS | RATIO)
97 #define CACHE_REP_MASK 0
98 #define CACHE_DIS_MASK (SUMMARY | READ | WRITE | FLAGS | DESTAGED | WRCANCEL)
100 /* Field header defines */
101 #define DISPLAY_LINES 19
102 #define HEADERS_OUT 0x01 /* flag to show headers output for cycle */
103 #define HEADERS_BOR 0x02 /* field headers at beginning of run */
104 #define HEADERS_ATT 0x04 /* field headers all the time */
105 #define HEADERS_EXL 0x08 /* field headers every X lines */
111 #endif /* _DSSTAT_H */