File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / h / nami.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

/*	nami.h	6.1	83/07/29	*/
/* Documentation Block and Change history :
    bernie 1/28/85  Add define for AUDITLOG

struct namidata {
	int	ni_offset;
	int	ni_count;
	struct	inode *ni_pdir;
	struct	direct ni_dent;
};

enum nami_op { NAMI_LOOKUP, NAMI_CREATE, NAMI_DELETE };

/* this is temporary until the namei interface changes */
#define	LOOKUP		0	/* perform name lookup only */
#define	CREATE		1	/* setup for file creation */
#define	DELETE		2	/* setup for file deletion */
#define	LOCKPARENT	0x10	/* see the top of namei */
#define AUDITLOG	0x20	/* see the top of namei */

struct namistat {
	long	ns_namei;	/* number of calls to "namei" */
	long	ns_dirblk;	/* number of directory blocks read */
};

#ifdef KERNEL
struct namistat namistat;
#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.