⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hubstat.h

📁 该文件是rt_linux
💻 H
字号:
/* * This file is subject to the terms and conditions of the GNU General Public * License.  See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2000 - 2001 Silicon Graphics, Inc. All rights reserved. */#ifndef _ASM_IA64_SN_SN1_HUBSTAT_H#define _ASM_IA64_SN_SN1_HUBSTAT_Htypedef int64_t 	hub_count_t;#define HUBSTAT_VERSION	1typedef struct hubstat_s {        char            hs_version;		/* structure version    */        cnodeid_t       hs_cnode;       	/* cnode of this hub    */        nasid_t         hs_nasid;       	/* Nasid of same        */		int64_t		hs_timebase;		/* Time of first sample */	int64_t		hs_timestamp;		/* Time of last sample	*/	int64_t		hs_per_minute;		/* Ticks per minute 	*/	union {		hubreg_t	hs_niu_stat_rev_id; /* SN0: Status rev ID */		hubreg_t	hs_niu_port_status; /* SN1: Port status */	} hs_niu;        hub_count_t	hs_ni_retry_errors;	/* Total retry errors   */        hub_count_t	hs_ni_sn_errors;	/* Total sn errors      */        hub_count_t	hs_ni_cb_errors;	/* Total cb errors      */        int		hs_ni_overflows;	/* NI count overflows   */        hub_count_t	hs_ii_sn_errors;	/* Total sn errors      */        hub_count_t	hs_ii_cb_errors;	/* Total cb errors      */        int		hs_ii_overflows;	/* II count overflows   */	/*	 * Anything below this comment is intended for kernel internal-use	 * only and may be changed at any time.	 *	 * Any members that contain pointers or are conditionally compiled	 * need to be below here also.	 */        int64_t		hs_last_print;		/* When we last printed */        char		hs_print;		/* Should we print      */	char	       *hs_name;		/* This hub's name */	unsigned char	hs_maint;		/* Should we print to availmon */} hubstat_t;#define       hs_ni_stat_rev_id       hs_niu.hs_niu_stat_rev_id#define       hs_ni_port_status       hs_niu.hs_niu_port_statusextern struct file_operations hub_mon_fops;#endif /* _ASM_IA64_SN_SN1_HUBSTAT_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -