nfsstats.h (29288) | nfsstats.h (30354) |
---|---|
1/* 2 * Copyright (c) 1989, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs.h 8.4 (Berkeley) 5/1/95 | 1/* 2 * Copyright (c) 1989, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs.h 8.4 (Berkeley) 5/1/95 |
37 * $Id: nfs.h,v 1.30 1997/08/16 19:15:54 wollman Exp $ | 37 * $Id: nfs.h,v 1.31 1997/09/10 19:52:24 phk Exp $ |
38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43/* 44 * Tunable constants for nfs 45 */ --- 249 unchanged lines hidden (view full) --- 295 * What should be in this set is open to debate, but I believe that since 296 * I/O system calls on ufs are never interrupted by signals the set should 297 * be minimal. My reasoning is that many current programs that use signals 298 * such as SIGALRM will not expect file I/O system calls to be interrupted 299 * by them and break. 300 */ 301#ifdef KERNEL 302 | 38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43/* 44 * Tunable constants for nfs 45 */ --- 249 unchanged lines hidden (view full) --- 295 * What should be in this set is open to debate, but I believe that since 296 * I/O system calls on ufs are never interrupted by signals the set should 297 * be minimal. My reasoning is that many current programs that use signals 298 * such as SIGALRM will not expect file I/O system calls to be interrupted 299 * by them and break. 300 */ 301#ifdef KERNEL 302 |
303#ifdef MALLOC_DECLARE 304MALLOC_DECLARE(M_NFSREQ); 305MALLOC_DECLARE(M_NFSMNT); 306MALLOC_DECLARE(M_NFSDIROFF); 307MALLOC_DECLARE(M_NFSRVDESC); 308MALLOC_DECLARE(M_NFSUID); 309MALLOC_DECLARE(M_NQLEASE); 310MALLOC_DECLARE(M_NFSD); 311MALLOC_DECLARE(M_NFSBIGFH); 312#endif 313 |
|
303struct uio; struct buf; struct vattr; struct nameidata; /* XXX */ 304 305#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \ 306 sigmask(SIGHUP)|sigmask(SIGQUIT)) 307 308/* 309 * Socket errors ignored for connectionless sockets?? 310 * For now, ignore them all --- 395 unchanged lines hidden --- | 314struct uio; struct buf; struct vattr; struct nameidata; /* XXX */ 315 316#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \ 317 sigmask(SIGHUP)|sigmask(SIGQUIT)) 318 319/* 320 * Socket errors ignored for connectionless sockets?? 321 * For now, ignore them all --- 395 unchanged lines hidden --- |