summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs/umap_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs/umap_subr.c')
-rw-r--r--sys/fs/umapfs/umap_subr.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c
index da73487..0267584 100644
--- a/sys/fs/umapfs/umap_subr.c
+++ b/sys/fs/umapfs/umap_subr.c
@@ -35,7 +35,7 @@
*
* @(#)umap_subr.c 8.6 (Berkeley) 1/26/94
*
- * $Id: umap_subr.c,v 1.4 1995/05/30 08:07:17 rgrimes Exp $
+ * $Id: umap_subr.c,v 1.5 1995/12/03 14:38:57 bde Exp $
*/
#include <sys/param.h>
@@ -48,6 +48,8 @@
#include <sys/malloc.h>
#include <miscfs/umapfs/umap.h>
+extern int umapfs_init __P((void));
+
#define LOG2_SIZEVNODE 7 /* log2(sizeof struct vnode) */
#define NUMAPNODECACHE 16
#define UMAP_NHASH(vp) ((((u_long) vp)>>LOG2_SIZEVNODE) & (NUMAPNODECACHE-1))
@@ -70,6 +72,14 @@ struct umap_node_cache {
static struct umap_node_cache umap_node_cache[NUMAPNODECACHE];
+static u_long umap_findid __P((u_long id, u_long map[][2], int nentries));
+static int umap_node_alloc __P((struct mount *mp, struct vnode *lowervp,
+ struct vnode **vpp));
+static struct vnode *
+ umap_node_find __P((struct mount *mp, struct vnode *targetvp));
+static struct umap_node_cache *
+ umap_node_hash __P((struct vnode *targetvp));
+
/*
* Initialise cache headers
*/
OpenPOWER on IntegriCloud