nfs.h (dfd233edd5040ed82a16a0074e220188e2c67ad4) | nfs.h (86ce6a83d16fdedede88990ffe1d85ad83d8e7c8) |
---|---|
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 --- 97 unchanged lines hidden (view full) --- 106#include <nfsclient/nfsstats.h> 107#endif 108 109/* 110 * vfs.nfs sysctl(3) identifiers 111 */ 112#define NFS_NFSSTATS 1 /* struct: struct nfsstats */ 113 | 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 --- 97 unchanged lines hidden (view full) --- 106#include <nfsclient/nfsstats.h> 107#endif 108 109/* 110 * vfs.nfs sysctl(3) identifiers 111 */ 112#define NFS_NFSSTATS 1 /* struct: struct nfsstats */ 113 |
114/* 115 * File context information for nfsv4. Currently, there is only one 116 * lockowner for the whole machine "0." 117 */ 118struct nfs4_fctx { 119 TAILQ_ENTRY(nfs4_fstate) next; 120 uint32_t refcnt; 121 struct nfs4_lowner *lop; 122 struct nfsnode *np; 123 char stateid[NFSX_V4STATEID]; 124}; 125 | |
126#ifdef _KERNEL 127 128#ifdef MALLOC_DECLARE 129MALLOC_DECLARE(M_NFSREQ); 130MALLOC_DECLARE(M_NFSDIROFF); 131MALLOC_DECLARE(M_NFSBIGFH); 132MALLOC_DECLARE(M_NFSHASH); 133MALLOC_DECLARE(M_NFSDIRECTIO); --- 239 unchanged lines hidden --- | 114#ifdef _KERNEL 115 116#ifdef MALLOC_DECLARE 117MALLOC_DECLARE(M_NFSREQ); 118MALLOC_DECLARE(M_NFSDIROFF); 119MALLOC_DECLARE(M_NFSBIGFH); 120MALLOC_DECLARE(M_NFSHASH); 121MALLOC_DECLARE(M_NFSDIRECTIO); --- 239 unchanged lines hidden --- |