1*11773STim.Szeto@Sun.COM /* 2*11773STim.Szeto@Sun.COM * CDDL HEADER START 3*11773STim.Szeto@Sun.COM * 4*11773STim.Szeto@Sun.COM * The contents of this file are subject to the terms of the 5*11773STim.Szeto@Sun.COM * Common Development and Distribution License (the "License"). 6*11773STim.Szeto@Sun.COM * You may not use this file except in compliance with the License. 7*11773STim.Szeto@Sun.COM * 8*11773STim.Szeto@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*11773STim.Szeto@Sun.COM * or http://www.opensolaris.org/os/licensing. 10*11773STim.Szeto@Sun.COM * See the License for the specific language governing permissions 11*11773STim.Szeto@Sun.COM * and limitations under the License. 12*11773STim.Szeto@Sun.COM * 13*11773STim.Szeto@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 14*11773STim.Szeto@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*11773STim.Szeto@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 16*11773STim.Szeto@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 17*11773STim.Szeto@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 18*11773STim.Szeto@Sun.COM * 19*11773STim.Szeto@Sun.COM * CDDL HEADER END 20*11773STim.Szeto@Sun.COM */ 21*11773STim.Szeto@Sun.COM /* 22*11773STim.Szeto@Sun.COM * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 23*11773STim.Szeto@Sun.COM * Use is subject to license terms. 24*11773STim.Szeto@Sun.COM */ 25*11773STim.Szeto@Sun.COM #ifndef _STMF_STATS_H 26*11773STim.Szeto@Sun.COM #define _STMF_STATS_H 27*11773STim.Szeto@Sun.COM 28*11773STim.Szeto@Sun.COM #ifdef __cplusplus 29*11773STim.Szeto@Sun.COM extern "C" { 30*11773STim.Szeto@Sun.COM #endif 31*11773STim.Szeto@Sun.COM 32*11773STim.Szeto@Sun.COM typedef struct stmf_kstat_itl_info { 33*11773STim.Szeto@Sun.COM kstat_named_t i_rport_name; 34*11773STim.Szeto@Sun.COM kstat_named_t i_rport_alias; 35*11773STim.Szeto@Sun.COM kstat_named_t i_lport_name; 36*11773STim.Szeto@Sun.COM kstat_named_t i_lport_alias; 37*11773STim.Szeto@Sun.COM kstat_named_t i_protocol; 38*11773STim.Szeto@Sun.COM kstat_named_t i_lu_guid; 39*11773STim.Szeto@Sun.COM kstat_named_t i_lu_alias; 40*11773STim.Szeto@Sun.COM kstat_named_t i_lu_number; 41*11773STim.Szeto@Sun.COM kstat_named_t i_task_waitq_elapsed; 42*11773STim.Szeto@Sun.COM kstat_named_t i_task_read_elapsed; 43*11773STim.Szeto@Sun.COM kstat_named_t i_task_write_elapsed; 44*11773STim.Szeto@Sun.COM kstat_named_t i_lu_read_elapsed; 45*11773STim.Szeto@Sun.COM kstat_named_t i_lu_write_elapsed; 46*11773STim.Szeto@Sun.COM kstat_named_t i_lport_read_elapsed; 47*11773STim.Szeto@Sun.COM kstat_named_t i_lport_write_elapsed; 48*11773STim.Szeto@Sun.COM } stmf_kstat_itl_info_t; 49*11773STim.Szeto@Sun.COM 50*11773STim.Szeto@Sun.COM typedef struct stmf_kstat_lu_info { 51*11773STim.Szeto@Sun.COM kstat_named_t i_lun_guid; 52*11773STim.Szeto@Sun.COM kstat_named_t i_lun_alias; 53*11773STim.Szeto@Sun.COM } stmf_kstat_lu_info_t; 54*11773STim.Szeto@Sun.COM 55*11773STim.Szeto@Sun.COM typedef struct stmf_kstat_tgt_info { 56*11773STim.Szeto@Sun.COM kstat_named_t i_tgt_name; 57*11773STim.Szeto@Sun.COM kstat_named_t i_tgt_alias; 58*11773STim.Szeto@Sun.COM kstat_named_t i_protocol; 59*11773STim.Szeto@Sun.COM } stmf_kstat_tgt_info_t; 60*11773STim.Szeto@Sun.COM 61*11773STim.Szeto@Sun.COM #ifdef __cplusplus 62*11773STim.Szeto@Sun.COM } 63*11773STim.Szeto@Sun.COM #endif 64*11773STim.Szeto@Sun.COM 65*11773STim.Szeto@Sun.COM #endif /* _STMF_STATS_H */ 66