DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦0615d95a9⟧ TextFile

    Length: 2081 (0x821)
    Types: TextFile
    Notes: UNIX file
    Names: »nfs_clnt.h«

Derivation

└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
    └─⟦this⟧ »kc/new/usr/include/sys/fs/nfs/nfs_clnt.h« 

TextFile

/*
 * Copyrighted as an unpublished work.
 * (c) Copyright 1988 INTERACTIVE Systems Corporation
 * All rights reserved.
 *
 * RESTRICTED RIGHTS
 *
 * These programs are supplied under a license.  They may be used,
 * disclosed, and/or copied only as permitted under such license
 * agreement.  Any copy must contain the above copyright notice and
 * this restricted rights notice.  Use, copying, and/or disclosure
 * of the programs is strictly prohibited unless otherwise provided
 * in the license agreement.
 */

#ident  "@(#)nfs_clnt.h	1.1 - 88/04/26"

/*      @(#)sufstring	3.3 System V NFS  source        */
/*	@(#)nfs_clnt.h	1.4 12/29/87		3.3 System V NFS  source        */
/*      @(#)nfs_clnt.h	3.2 LAI System V NFS Release 3.0/V3  source        */

/*      @(#)nfs_clnt.h 2.11 85/09/25 SMI      */

/*
 * vfs pointer to mount info
 */
#define	vftomi(vfsp)	((struct mntinfo *)((vfsp)->m_bufp))

/*
 * vnode pointer to mount info
 */
#define	vtomi(vp)	((struct mntinfo *)(((vp)->i_mntdev)->m_bufp))

/*
 * NFS vnode to server's block size
 */
#define	vtoblksz(vp)	(vtomi(vp)->mi_bsize)


/*
 * NFS private data per mounted file system
 */
struct mntinfo {
	NETBUF		mi_addr;	/* server's address */
	uint		mi_hard : 1;	/* hard or soft mount */
	uint		mi_printed : 1;	/* not responding message printed */
	long		mi_tsize;	/* transfer size (bytes) */
	long		mi_stsize;	/* server's max transfer size (bytes) */
	long		mi_bsize;	/* server's disk block size */
	int		mi_mntno;	/* kludge to set client rdev for stat*/
	int		mi_timeo;	/* inital timeout in 10th sec */
	int		mi_retrans;	/* times to retry request */
	char		mi_hostname[HOSTNAMESZ];	/* server name */
	dev_t		mi_device;	/* STREAMS device to use */
	char		mi_protoname[PROTONAMESZ];	/* protocol name */
					/* this will specify the protocol */
	PROTO		mi_protoinfo;	/* protocol-specfic information */
};

/*
 * enum to specifiy cache flushing action when file data is stale
 */
enum staleflush	{NOFLUSH, SFLUSH};

/*
 * Possible flag values to nfs_nget() and nfs_nlookup():
 */
#define WANTINODE	1
#define WANTRNODE	2