Deleted Added
full compact
nfs.h (17761) nfs.h (19449)
1/*
2 * Copyright (c) 1989, 1993
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.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1989, 1993
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.1 (Berkeley) 6/10/93
37 * $Id: nfs.h,v 1.17 1996/01/30 22:59:39 mpp Exp $
37 * $Id: nfs.h,v 1.18 1996/08/21 21:55:44 dyson Exp $
38 */
39
40#ifndef _NFS_NFS_H_
41#define _NFS_NFS_H_
42
43#include <nfs/rpcv2.h>
44
45/*

--- 284 unchanged lines hidden (view full) ---

330#define NUIDHASH(sock, uid) \
331 (&(sock)->ns_uidhashtbl[(uid) % NFS_UIDHASHSIZ])
332#ifndef NFS_WDELAYHASHSIZ
333#define NFS_WDELAYHASHSIZ 16 /* and with this */
334#endif
335#define NWDELAYHASH(sock, f) \
336 (&(sock)->ns_wdelayhashtbl[(*((u_long *)(f))) % NFS_WDELAYHASHSIZ])
337#ifndef NFS_MUIDHASHSIZ
38 */
39
40#ifndef _NFS_NFS_H_
41#define _NFS_NFS_H_
42
43#include <nfs/rpcv2.h>
44
45/*

--- 284 unchanged lines hidden (view full) ---

330#define NUIDHASH(sock, uid) \
331 (&(sock)->ns_uidhashtbl[(uid) % NFS_UIDHASHSIZ])
332#ifndef NFS_WDELAYHASHSIZ
333#define NFS_WDELAYHASHSIZ 16 /* and with this */
334#endif
335#define NWDELAYHASH(sock, f) \
336 (&(sock)->ns_wdelayhashtbl[(*((u_long *)(f))) % NFS_WDELAYHASHSIZ])
337#ifndef NFS_MUIDHASHSIZ
338#define NFS_MUIDHASHSIZ 67 /* Tune the size of nfsmount with this */
338#define NFS_MUIDHASHSIZ 63 /* Tune the size of nfsmount with this */
339#endif
340#define NMUIDHASH(nmp, uid) \
341 (&(nmp)->nm_uidhashtbl[(uid) % NFS_MUIDHASHSIZ])
342#define NFSNOHASH(fhsum) \
343 (&nfsnodehashtbl[(fhsum) & nfsnodehash])
344
345/*
346 * Network address hash list element

--- 255 unchanged lines hidden ---
339#endif
340#define NMUIDHASH(nmp, uid) \
341 (&(nmp)->nm_uidhashtbl[(uid) % NFS_MUIDHASHSIZ])
342#define NFSNOHASH(fhsum) \
343 (&nfsnodehashtbl[(fhsum) & nfsnodehash])
344
345/*
346 * Network address hash list element

--- 255 unchanged lines hidden ---