X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/6c86b28db134c57a8c04cf3245e55fc09e663553..b1098fedcb27f9133115fb92ae0df6b42ed61a24:/sys/ufs/ufs_subr.c diff --git a/sys/ufs/ufs_subr.c b/sys/ufs/ufs_subr.c index 2fb344acdf..457651f379 100644 --- a/sys/ufs/ufs_subr.c +++ b/sys/ufs/ufs_subr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)ufs_subr.c 7.13 (Berkeley) 6/28/90 - * $Id$ + * $Id: ufs_subr.c,v 1.2 1993/10/16 18:17:59 rgrimes Exp $ */ #ifdef KERNEL @@ -50,6 +50,7 @@ extern u_char *fragtbl[]; * Update the frsum fields to reflect addition or deletion * of some frags. */ +void fragacct(fs, fragmap, fraglist, cnt) struct fs *fs; int fragmap; @@ -85,6 +86,7 @@ fragacct(fs, fragmap, fraglist, cnt) * * check if a block is available */ +int isblock(fs, cp, h) struct fs *fs; unsigned char *cp; @@ -113,6 +115,7 @@ isblock(fs, cp, h) /* * take a block out of the map */ +void clrblock(fs, cp, h) struct fs *fs; u_char *cp; @@ -140,6 +143,7 @@ clrblock(fs, cp, h) /* * put a block into the map */ +void setblock(fs, cp, h) struct fs *fs; unsigned char *cp; @@ -171,6 +175,7 @@ setblock(fs, cp, h) * C definitions of special instructions. * Normally expanded with inline. */ +int scanc(size, cp, table, mask) u_int size; register u_char *cp, table[]; @@ -185,6 +190,7 @@ scanc(size, cp, table, mask) #endif #if !defined(vax) && !defined(tahoe) && !defined(hp300) +int skpc(mask, size, cp) register u_char mask; u_int size; @@ -197,6 +203,7 @@ skpc(mask, size, cp) return (end - cp); } +int locc(mask, size, cp) register u_char mask; u_int size;