summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-15 20:24:29 +0000
committerbde <bde@FreeBSD.org>1994-09-15 20:24:29 +0000
commitf95a48ecbecaa1c8b35cd1f34ce9f535ad345b42 (patch)
treef330c93bf90f94ef3ce8f2a5695cc38d1103538b
parent19e34663ff4b3b0a216563f5b6b230519b0d1ed2 (diff)
downloadFreeBSD-src-f95a48ecbecaa1c8b35cd1f34ce9f535ad345b42.zip
FreeBSD-src-f95a48ecbecaa1c8b35cd1f34ce9f535ad345b42.tar.gz
Add some prototypes.
-rw-r--r--sys/sys/mount.h3
-rw-r--r--sys/sys/systm.h3
-rw-r--r--sys/sys/uio.h13
-rw-r--r--sys/sys/vnode.h14
4 files changed, 25 insertions, 8 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index b7d5e8a..cae5442 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mount.h 8.13 (Berkeley) 3/27/94
- * $Id: mount.h,v 1.4 1994/08/21 04:41:53 paul Exp $
+ * $Id: mount.h,v 1.5 1994/08/22 14:09:51 bde Exp $
*/
#ifndef _SYS_MOUNT_H_
@@ -396,6 +396,7 @@ struct nfs_args {
*/
int dounmount __P((struct mount *, int, struct proc *));
struct mount *getvfs __P((fsid_t *)); /* return vfs given fsid */
+int vflush __P((struct mount *mp, struct vnode *skipvp, int flags));
int vfs_export /* process mount export info */
__P((struct mount *, struct netexport *, struct export_args *));
struct netcred *vfs_export_lookup /* lookup host in fs export list */
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 209f046..2414bde 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)systm.h 8.4 (Berkeley) 2/23/94
- * $Id: systm.h,v 1.8 1994/08/21 04:42:01 paul Exp $
+ * $Id: systm.h,v 1.9 1994/08/24 11:51:46 sos Exp $
*/
#ifndef _SYS_SYSTM_H_
@@ -127,6 +127,7 @@ void ttyprintf __P((struct tty *, const char *, ...));
void bcopy __P((const void *from, void *to, u_int len));
void ovbcopy __P((const void *from, void *to, u_int len));
+void blkclr __P((void *buf, u_int len));
void bzero __P((void *buf, u_int len));
int copystr __P((void *kfaddr, void *kdaddr, u_int len, u_int *done));
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index 66ce0fc..941464a 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uio.h 8.5 (Berkeley) 2/22/94
- * $Id$
+ * $Id: uio.h,v 1.2 1994/08/02 07:54:02 davidg Exp $
*/
#ifndef _SYS_UIO_H_
@@ -73,12 +73,19 @@ struct uio {
#define UIO_SMALLIOV 8 /* 8 on stack, else malloc */
#endif /* KERNEL */
-#ifndef KERNEL
+#ifdef KERNEL
+
+int uiomove __P((caddr_t, int, struct uio *));
+
+#else /* !KERNEL */
+
#include <sys/cdefs.h>
__BEGIN_DECLS
ssize_t readv __P((int, const struct iovec *, int));
ssize_t writev __P((int, const struct iovec *, int));
__END_DECLS
-#endif /* !KERNEL */
+
+#endif /* KERNEL */
+
#endif /* !_SYS_UIO_H_ */
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 3c2a9a8..89c8052 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -31,11 +31,11 @@
* SUCH DAMAGE.
*
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
- * $Id: vnode.h,v 1.3 1994/08/21 04:42:15 paul Exp $
+ * $Id: vnode.h,v 1.4 1994/08/29 06:09:11 davidg Exp $
*/
#ifndef _SYS_VNODE_H_
-#define _SYS_VNODE_H_
+#define _SYS_VNODE_H_
#include <sys/queue.h>
@@ -357,6 +357,7 @@ struct vop_generic_args {
/*
* Public vnode manipulation functions.
*/
+struct componentname;
struct file;
struct mount;
struct nameidata;
@@ -369,6 +370,12 @@ struct vnode;
struct vop_bwrite_args;
int bdevvp __P((dev_t dev, struct vnode **vpp));
+/* cache_* may belong in namei.h. */
+void cache_enter __P((struct vnode *dvp, struct vnode *vp,
+ struct componentname *cnp));
+int cache_lookup __P((struct vnode *dvp, struct vnode **vpp,
+ struct componentname *cnp));
+void cache_purge __P((struct vnode *vp));
int getnewvnode __P((enum vtagtype tag,
struct mount *mp, int (**vops)(), struct vnode **vpp));
int vinvalbuf __P((struct vnode *vp, int save, struct ucred *cred,
@@ -393,9 +400,10 @@ int vn_stat __P((struct vnode *vp, struct stat *sb, struct proc *p));
int vn_write __P((struct file *fp, struct uio *uio, struct ucred *cred));
struct vnode *
checkalias __P((struct vnode *vp, dev_t nvp_rdev, struct mount *mp));
+void vprint __P((char *, struct vnode *));
void vput __P((struct vnode *vp));
void vref __P((struct vnode *vp));
void vrele __P((struct vnode *vp));
#endif /* KERNEL */
-#endif
+#endif /* !_SYS_VNODE_H_ */
OpenPOWER on IntegriCloud