1139823Simp/*- 222521Sdyson * Copyright (c) 1989, 1993, 1995 31541Srgrimes * The Regents of the University of California. All rights reserved. 41541Srgrimes * 51541Srgrimes * This code is derived from software contributed to Berkeley by 61541Srgrimes * Rick Macklem at The University of Guelph. 71541Srgrimes * 81541Srgrimes * Redistribution and use in source and binary forms, with or without 91541Srgrimes * modification, are permitted provided that the following conditions 101541Srgrimes * are met: 111541Srgrimes * 1. Redistributions of source code must retain the above copyright 121541Srgrimes * notice, this list of conditions and the following disclaimer. 131541Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 141541Srgrimes * notice, this list of conditions and the following disclaimer in the 151541Srgrimes * documentation and/or other materials provided with the distribution. 161541Srgrimes * 4. Neither the name of the University nor the names of its contributors 171541Srgrimes * may be used to endorse or promote products derived from this software 181541Srgrimes * without specific prior written permission. 191541Srgrimes * 201541Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 211541Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 221541Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 231541Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 241541Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 251541Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 261541Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 271541Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 281541Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 291541Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 301541Srgrimes * SUCH DAMAGE. 311541Srgrimes * 3222521Sdyson * @(#)nfs.h 8.4 (Berkeley) 5/1/95 3350477Speter * $FreeBSD$ 341541Srgrimes */ 351541Srgrimes 3683651Speter#ifndef _NFSCLIENT_NFSSTATS_H_ 3783651Speter#define _NFSCLIENT_NFSSTATS_H_ 382175Spaul 391541Srgrimes/* 401541Srgrimes * Stats structure 411541Srgrimes */ 421541Srgrimesstruct nfsstats { 431541Srgrimes int attrcache_hits; 441541Srgrimes int attrcache_misses; 451541Srgrimes int lookupcache_hits; 461541Srgrimes int lookupcache_misses; 471541Srgrimes int direofcache_hits; 481541Srgrimes int direofcache_misses; 4983651Speter int accesscache_hits; 5083651Speter int accesscache_misses; 511541Srgrimes int biocache_reads; 521541Srgrimes int read_bios; 531541Srgrimes int read_physios; 541541Srgrimes int biocache_writes; 551541Srgrimes int write_bios; 561541Srgrimes int write_physios; 571541Srgrimes int biocache_readlinks; 581541Srgrimes int readlink_bios; 591541Srgrimes int biocache_readdirs; 601541Srgrimes int readdir_bios; 611541Srgrimes int rpcretries; 621541Srgrimes int rpcrequests; 631541Srgrimes int rpctimeouts; 641541Srgrimes int rpcunexpected; 651541Srgrimes int rpcinvalid; 6683651Speter int rpccnt[NFS_NPROCS]; 671541Srgrimes}; 681541Srgrimes 6930354Sphk#endif 70