summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-15 17:22:18 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-15 17:22:18 +0000
commitcc079a24d3a2f6fc68e4f4c712164613de1af8d7 (patch)
tree318282043071c2910519491d9d895217bef53890 /ufs
parent722776a1b5997cfc5a0dbf936fae9f4e20f600c1 (diff)
Formerly ufs.h.~17~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/ufs.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/ufs/ufs.h b/ufs/ufs.h
index c79aaeb7..2fb825cc 100644
--- a/ufs/ufs.h
+++ b/ufs/ufs.h
@@ -26,6 +26,12 @@
/* XXX */
typedef unsigned long long u_quad_t;
+typedef long long quad_t;
+struct timespec
+{
+ long ts_sec;
+ long ts_nsec;
+};
/* Define this if memory objects should not be cached by the kernel.
@@ -179,7 +185,7 @@ struct mutex dinmaplock;
struct mutex sinmaplock;
spin_lock_t gennumberlock;
-int nextgennumber;
+u_long nextgennumber;
mach_port_t ufs_device;
@@ -190,7 +196,7 @@ enum compat_mode
COMPAT_GNU = 0,
COMPAT_BSD42 = 1,
COMPAT_BSD44 = 2,
-};
+} compat_mode;
/* If this is set, then this filesystem has two extensions:
1) directory entries include the type field.
@@ -212,7 +218,7 @@ int direct_symlink_extension;
/* From alloc.c: */
error_t ffs_alloc (struct node *, daddr_t, daddr_t, int, daddr_t *,
struct protid *);
-void ffs_blkfree(struct node *, volatile daddr_t bno, int size);
+void ffs_blkfree(struct node *, daddr_t bno, long size);
daddr_t ffs_blkpref (struct node *, daddr_t, int, daddr_t *);
error_t ffs_realloccg(struct node *, daddr_t, daddr_t,
int, int, daddr_t *, struct protid *);
@@ -243,9 +249,9 @@ void drop_pager_softrefs (struct node *);
void allow_pager_softrefs (struct node *);
/* From subr.c: */
-void fragacct (int, long [], int);
-int isblock(u_char *, daddr_t);
-void clrblock(u_char *, daddr_t);
-void setblock (u_char *, daddr_t);
+void ffs_fragacct (struct fs *, int, long [], int);
+int ffs_isblock(struct fs *, u_char *, daddr_t);
+void ffs_clrblock(struct fs *, u_char *, daddr_t);
+void ffs_setblock (struct fs *, u_char *, daddr_t);
int skpc (u_char, u_int, u_char *);
int scanc (u_int, u_char *, u_char [], u_char);