ansify function definitions
This commit is contained in:
parent
9f97ab946c
commit
b8817e4aed
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_alloclist.c,v 1.25 2006/11/16 01:33:23 christos Exp $ */
|
||||
/* $NetBSD: rf_alloclist.c,v 1.26 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -37,7 +37,7 @@
|
|||
***************************************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.25 2006/11/16 01:33:23 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.26 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -120,7 +120,7 @@ rf_FreeAllocList(RF_AllocListElem_t *l)
|
|||
}
|
||||
|
||||
RF_AllocListElem_t *
|
||||
rf_real_MakeAllocList()
|
||||
rf_real_MakeAllocList(void)
|
||||
{
|
||||
RF_AllocListElem_t *p;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_callback.c,v 1.21 2009/03/14 15:36:20 dsl Exp $ */
|
||||
/* $NetBSD: rf_callback.c,v 1.22 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_callback.c,v 1.21 2009/03/14 15:36:20 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_callback.c,v 1.22 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
#include <sys/pool.h>
|
||||
|
@ -69,7 +69,7 @@ rf_ConfigureCallback(RF_ShutdownList_t **listp)
|
|||
}
|
||||
|
||||
RF_CallbackDesc_t *
|
||||
rf_AllocCallbackDesc()
|
||||
rf_AllocCallbackDesc(void)
|
||||
{
|
||||
RF_CallbackDesc_t *p;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_dagutils.c,v 1.51 2007/03/04 06:02:36 christos Exp $ */
|
||||
/* $NetBSD: rf_dagutils.c,v 1.52 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -33,7 +33,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_dagutils.c,v 1.51 2007/03/04 06:02:36 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_dagutils.c,v 1.52 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -254,7 +254,7 @@ rf_ConfigureDAGs(RF_ShutdownList_t **listp)
|
|||
}
|
||||
|
||||
RF_DagHeader_t *
|
||||
rf_AllocDAGHeader()
|
||||
rf_AllocDAGHeader(void)
|
||||
{
|
||||
RF_DagHeader_t *dh;
|
||||
|
||||
|
@ -270,7 +270,7 @@ rf_FreeDAGHeader(RF_DagHeader_t * dh)
|
|||
}
|
||||
|
||||
RF_DagNode_t *
|
||||
rf_AllocDAGNode()
|
||||
rf_AllocDAGNode(void)
|
||||
{
|
||||
RF_DagNode_t *node;
|
||||
|
||||
|
@ -292,7 +292,7 @@ rf_FreeDAGNode(RF_DagNode_t *node)
|
|||
}
|
||||
|
||||
RF_DagList_t *
|
||||
rf_AllocDAGList()
|
||||
rf_AllocDAGList(void)
|
||||
{
|
||||
RF_DagList_t *dagList;
|
||||
|
||||
|
@ -309,7 +309,7 @@ rf_FreeDAGList(RF_DagList_t *dagList)
|
|||
}
|
||||
|
||||
void *
|
||||
rf_AllocDAGPCache()
|
||||
rf_AllocDAGPCache(void)
|
||||
{
|
||||
void *p;
|
||||
p = pool_get(&rf_pools.dagpcache, PR_WAITOK);
|
||||
|
@ -325,7 +325,7 @@ rf_FreeDAGPCache(void *p)
|
|||
}
|
||||
|
||||
RF_FuncList_t *
|
||||
rf_AllocFuncList()
|
||||
rf_AllocFuncList(void)
|
||||
{
|
||||
RF_FuncList_t *funcList;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_driver.c,v 1.120 2008/12/20 17:04:51 oster Exp $ */
|
||||
/* $NetBSD: rf_driver.c,v 1.121 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -66,7 +66,7 @@
|
|||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.120 2008/12/20 17:04:51 oster Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.121 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_raid_diagnostic.h"
|
||||
|
@ -155,7 +155,7 @@ static void rf_FreeEmergBuffers(RF_Raid_t *);
|
|||
|
||||
/* called at system boot time */
|
||||
int
|
||||
rf_BootRaidframe()
|
||||
rf_BootRaidframe(void)
|
||||
{
|
||||
|
||||
if (raidframe_booted)
|
||||
|
@ -172,7 +172,7 @@ rf_BootRaidframe()
|
|||
* Called whenever an array is shutdown
|
||||
*/
|
||||
static void
|
||||
rf_UnconfigureArray()
|
||||
rf_UnconfigureArray(void)
|
||||
{
|
||||
|
||||
RF_LOCK_LKMGR_MUTEX(configureMutex);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_map.c,v 1.43 2007/03/04 06:02:38 christos Exp $ */
|
||||
/* $NetBSD: rf_map.c,v 1.44 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -33,7 +33,7 @@
|
|||
**************************************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.43 2007/03/04 06:02:38 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.44 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -374,7 +374,7 @@ rf_ConfigureMapModule(RF_ShutdownList_t **listp)
|
|||
}
|
||||
|
||||
RF_AccessStripeMapHeader_t *
|
||||
rf_AllocAccessStripeMapHeader()
|
||||
rf_AllocAccessStripeMapHeader(void)
|
||||
{
|
||||
RF_AccessStripeMapHeader_t *p;
|
||||
|
||||
|
@ -392,7 +392,7 @@ rf_FreeAccessStripeMapHeader(RF_AccessStripeMapHeader_t *p)
|
|||
|
||||
|
||||
RF_VoidFunctionPointerListElem_t *
|
||||
rf_AllocVFPListElem()
|
||||
rf_AllocVFPListElem(void)
|
||||
{
|
||||
RF_VoidFunctionPointerListElem_t *p;
|
||||
|
||||
|
@ -411,7 +411,7 @@ rf_FreeVFPListElem(RF_VoidFunctionPointerListElem_t *p)
|
|||
|
||||
|
||||
RF_VoidPointerListElem_t *
|
||||
rf_AllocVPListElem()
|
||||
rf_AllocVPListElem(void)
|
||||
{
|
||||
RF_VoidPointerListElem_t *p;
|
||||
|
||||
|
@ -429,7 +429,7 @@ rf_FreeVPListElem(RF_VoidPointerListElem_t *p)
|
|||
}
|
||||
|
||||
RF_ASMHeaderListElem_t *
|
||||
rf_AllocASMHeaderListElem()
|
||||
rf_AllocASMHeaderListElem(void)
|
||||
{
|
||||
RF_ASMHeaderListElem_t *p;
|
||||
|
||||
|
@ -447,7 +447,7 @@ rf_FreeASMHeaderListElem(RF_ASMHeaderListElem_t *p)
|
|||
}
|
||||
|
||||
RF_FailedStripe_t *
|
||||
rf_AllocFailedStripeStruct()
|
||||
rf_AllocFailedStripeStruct(void)
|
||||
{
|
||||
RF_FailedStripe_t *p;
|
||||
|
||||
|
@ -468,7 +468,7 @@ rf_FreeFailedStripeStruct(RF_FailedStripe_t *p)
|
|||
|
||||
|
||||
RF_PhysDiskAddr_t *
|
||||
rf_AllocPhysDiskAddr()
|
||||
rf_AllocPhysDiskAddr(void)
|
||||
{
|
||||
RF_PhysDiskAddr_t *p;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_mcpair.c,v 1.21 2006/11/16 01:33:23 christos Exp $ */
|
||||
/* $NetBSD: rf_mcpair.c,v 1.22 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_mcpair.c,v 1.21 2006/11/16 01:33:23 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_mcpair.c,v 1.22 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -70,7 +70,7 @@ rf_ConfigureMCPair(RF_ShutdownList_t **listp)
|
|||
}
|
||||
|
||||
RF_MCPair_t *
|
||||
rf_AllocMCPair()
|
||||
rf_AllocMCPair(void)
|
||||
{
|
||||
RF_MCPair_t *t;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_netbsdkintf.c,v 1.258 2009/03/14 11:08:28 ad Exp $ */
|
||||
/* $NetBSD: rf_netbsdkintf.c,v 1.259 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -139,7 +139,7 @@
|
|||
***********************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.258 2009/03/14 11:08:28 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.259 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -2843,7 +2843,7 @@ oomem:
|
|||
}
|
||||
|
||||
RF_AutoConfig_t *
|
||||
rf_find_raid_components()
|
||||
rf_find_raid_components(void)
|
||||
{
|
||||
struct vnode *vp;
|
||||
struct disklabel label;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_options.c,v 1.7 2005/12/11 12:23:37 christos Exp $ */
|
||||
/* $NetBSD: rf_options.c,v 1.8 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* rf_options.c
|
||||
*/
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_options.c,v 1.7 2005/12/11 12:23:37 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_options.c,v 1.8 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -72,7 +72,7 @@ RF_DebugName_t rf_debugNames[] = {
|
|||
#endif /* __STDC__ */
|
||||
|
||||
void
|
||||
rf_ResetDebugOptions()
|
||||
rf_ResetDebugOptions(void)
|
||||
{
|
||||
#include "rf_optnames.h"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_stripelocks.c,v 1.29 2006/11/16 01:33:23 christos Exp $ */
|
||||
/* $NetBSD: rf_stripelocks.c,v 1.30 2009/03/15 17:17:23 cegger Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -57,7 +57,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_stripelocks.c,v 1.29 2006/11/16 01:33:23 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_stripelocks.c,v 1.30 2009/03/15 17:17:23 cegger Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -183,7 +183,7 @@ rf_ConfigureStripeLockFreeList(RF_ShutdownList_t **listp)
|
|||
}
|
||||
|
||||
static RF_LockTableEntry_t *
|
||||
rf_MakeLockTable()
|
||||
rf_MakeLockTable(void)
|
||||
{
|
||||
RF_LockTableEntry_t *lockTable;
|
||||
int i;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: advfsops.c,v 1.55 2009/03/14 15:36:21 dsl Exp $ */
|
||||
/* $NetBSD: advfsops.c,v 1.56 2009/03/15 17:15:57 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Christian E. Hopps
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.55 2009/03/14 15:36:21 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.56 2009/03/15 17:15:57 cegger Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -731,7 +731,7 @@ adosfs_sync(struct mount *mp, int waitfor, kauth_cred_t uc)
|
|||
}
|
||||
|
||||
void
|
||||
adosfs_init()
|
||||
adosfs_init(void)
|
||||
{
|
||||
|
||||
malloc_type_attach(M_ADOSFSMNT);
|
||||
|
@ -743,7 +743,7 @@ adosfs_init()
|
|||
}
|
||||
|
||||
void
|
||||
adosfs_done()
|
||||
adosfs_done(void)
|
||||
{
|
||||
|
||||
pool_destroy(&adosfs_node_pool);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: msdosfs_conv.c,v 1.6 2009/03/14 15:36:21 dsl Exp $ */
|
||||
/* $NetBSD: msdosfs_conv.c,v 1.7 2009/03/15 17:15:57 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1995, 1997 Wolfgang Solfrank.
|
||||
|
@ -48,7 +48,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_conv.c,v 1.6 2009/03/14 15:36:21 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_conv.c,v 1.7 2009/03/15 17:15:57 cegger Exp $");
|
||||
|
||||
/*
|
||||
* System include files.
|
||||
|
@ -344,10 +344,7 @@ u2l[256] = {
|
|||
* null.
|
||||
*/
|
||||
int
|
||||
dos2unixfn(dn, un, lower)
|
||||
u_char dn[11];
|
||||
u_char *un;
|
||||
int lower;
|
||||
dos2unixfn(u_char dn[11], u_char *un, int lower)
|
||||
{
|
||||
int i, j;
|
||||
int thislong = 1;
|
||||
|
@ -410,11 +407,7 @@ dos2unixfn(dn, un, lower)
|
|||
* 3 if conversion was successful and generation number was inserted
|
||||
*/
|
||||
int
|
||||
unix2dosfn(un, dn, unlen, gen)
|
||||
const u_char *un;
|
||||
u_char dn[12];
|
||||
int unlen;
|
||||
u_int gen;
|
||||
unix2dosfn(const u_char *un, u_char dn[12], int unlen, u_int gen)
|
||||
{
|
||||
int i, j, l;
|
||||
int conv = 1;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: msdosfs_denode.c,v 1.35 2009/03/14 21:04:23 dsl Exp $ */
|
||||
/* $NetBSD: msdosfs_denode.c,v 1.36 2009/03/15 17:15:57 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
|
||||
|
@ -48,7 +48,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_denode.c,v 1.35 2009/03/14 21:04:23 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_denode.c,v 1.36 2009/03/15 17:15:57 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -97,7 +97,7 @@ static void msdosfs_hashrem(struct denode *);
|
|||
MALLOC_DECLARE(M_MSDOSFSFAT);
|
||||
|
||||
void
|
||||
msdosfs_init()
|
||||
msdosfs_init(void)
|
||||
{
|
||||
|
||||
malloc_type_attach(M_MSDOSFSMNT);
|
||||
|
@ -115,7 +115,7 @@ msdosfs_init()
|
|||
*/
|
||||
|
||||
void
|
||||
msdosfs_reinit()
|
||||
msdosfs_reinit(void)
|
||||
{
|
||||
struct denode *dep;
|
||||
struct ihashhead *oldhash, *hash;
|
||||
|
@ -142,7 +142,7 @@ msdosfs_reinit()
|
|||
}
|
||||
|
||||
void
|
||||
msdosfs_done()
|
||||
msdosfs_done(void)
|
||||
{
|
||||
hashdone(dehashtbl, HASH_LIST, dehash);
|
||||
pool_destroy(&msdosfs_denode_pool);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: msdosfs_vfsops.c,v 1.72 2009/03/14 15:36:21 dsl Exp $ */
|
||||
/* $NetBSD: msdosfs_vfsops.c,v 1.73 2009/03/15 17:15:57 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
|
||||
|
@ -48,7 +48,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.72 2009/03/14 15:36:21 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.73 2009/03/15 17:15:57 cegger Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -232,7 +232,7 @@ update_mp(struct mount *mp, struct msdosfs_args *argp)
|
|||
}
|
||||
|
||||
int
|
||||
msdosfs_mountroot()
|
||||
msdosfs_mountroot(void)
|
||||
{
|
||||
struct mount *mp;
|
||||
struct lwp *l = curlwp; /* XXX */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ntfs_ihash.c,v 1.8 2009/03/14 15:36:22 dsl Exp $ */
|
||||
/* $NetBSD: ntfs_ihash.c,v 1.9 2009/03/15 17:15:58 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993, 1995
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ntfs_ihash.c,v 1.8 2009/03/14 15:36:22 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ntfs_ihash.c,v 1.9 2009/03/15 17:15:58 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -60,7 +60,7 @@ kmutex_t ntfs_hashlock;
|
|||
* Initialize inode hash table.
|
||||
*/
|
||||
void
|
||||
ntfs_nthashinit()
|
||||
ntfs_nthashinit(void)
|
||||
{
|
||||
mutex_init(&ntfs_hashlock, MUTEX_DEFAULT, IPL_NONE);
|
||||
mutex_init(&ntfs_nthash_lock, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
@ -72,7 +72,7 @@ ntfs_nthashinit()
|
|||
*/
|
||||
|
||||
void
|
||||
ntfs_nthashreinit()
|
||||
ntfs_nthashreinit(void)
|
||||
{
|
||||
struct ntnode *ip;
|
||||
struct nthashhead *oldhash, *hash;
|
||||
|
@ -102,7 +102,7 @@ ntfs_nthashreinit()
|
|||
* on NetBSD.
|
||||
*/
|
||||
void
|
||||
ntfs_nthashdone()
|
||||
ntfs_nthashdone(void)
|
||||
{
|
||||
hashdone(ntfs_nthashtbl, HASH_LIST, ntfs_nthash);
|
||||
mutex_destroy(&ntfs_hashlock);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ntfs_subr.c,v 1.40 2009/03/14 21:04:24 dsl Exp $ */
|
||||
/* $NetBSD: ntfs_subr.c,v 1.41 2009/03/15 17:15:58 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999 Semen Ustimenko (semenu@FreeBSD.org)
|
||||
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ntfs_subr.c,v 1.40 2009/03/14 21:04:24 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ntfs_subr.c,v 1.41 2009/03/15 17:15:58 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -2011,7 +2011,7 @@ ntfs_runtocn(
|
|||
* later work
|
||||
*/
|
||||
void
|
||||
ntfs_toupper_init()
|
||||
ntfs_toupper_init(void)
|
||||
{
|
||||
ntfs_toupper_tab = (wchar *) NULL;
|
||||
mutex_init(&ntfs_toupper_lock, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
@ -2062,7 +2062,7 @@ ntfs_toupper_use(struct mount *mp, struct ntfsmount *ntmp)
|
|||
* tied by toupper table
|
||||
*/
|
||||
void
|
||||
ntfs_toupper_unuse()
|
||||
ntfs_toupper_unuse(void)
|
||||
{
|
||||
/* get exclusive access */
|
||||
mutex_enter(&ntfs_toupper_lock);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ntfs_vfsops.c,v 1.75 2009/03/14 15:36:22 dsl Exp $ */
|
||||
/* $NetBSD: ntfs_vfsops.c,v 1.76 2009/03/15 17:15:58 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999 Semen Ustimenko
|
||||
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.75 2009/03/14 15:36:22 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.76 2009/03/15 17:15:58 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -92,7 +92,7 @@ static const struct genfs_ops ntfs_genfsops = {
|
|||
static struct sysctllog *ntfs_sysctl_log;
|
||||
|
||||
static int
|
||||
ntfs_mountroot()
|
||||
ntfs_mountroot(void)
|
||||
{
|
||||
struct mount *mp;
|
||||
struct lwp *l = curlwp; /* XXX */
|
||||
|
@ -127,7 +127,7 @@ ntfs_mountroot()
|
|||
}
|
||||
|
||||
static void
|
||||
ntfs_init()
|
||||
ntfs_init(void)
|
||||
{
|
||||
|
||||
malloc_type_attach(M_NTFSMNT);
|
||||
|
@ -143,13 +143,13 @@ ntfs_init()
|
|||
}
|
||||
|
||||
static void
|
||||
ntfs_reinit()
|
||||
ntfs_reinit(void)
|
||||
{
|
||||
ntfs_nthashreinit();
|
||||
}
|
||||
|
||||
static void
|
||||
ntfs_done()
|
||||
ntfs_done(void)
|
||||
{
|
||||
ntfs_nthashdone();
|
||||
malloc_type_detach(M_NTFSMNT);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern_ksyms.c,v 1.50 2009/01/23 09:22:25 jmmv Exp $ */
|
||||
/* $NetBSD: kern_ksyms.c,v 1.51 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -71,7 +71,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.50 2009/01/23 09:22:25 jmmv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.51 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#if defined(_KERNEL) && defined(_KERNEL_OPT)
|
||||
#include "opt_ddb.h"
|
||||
|
@ -207,7 +207,7 @@ ksymsattach(int arg)
|
|||
}
|
||||
|
||||
void
|
||||
ksyms_init()
|
||||
ksyms_init(void)
|
||||
{
|
||||
|
||||
#ifdef SYMTAB_SPACE
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: subr_once.c,v 1.5 2008/10/09 12:14:06 pooka Exp $ */
|
||||
/* $NetBSD: subr_once.c,v 1.6 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2005 YAMAMOTO Takashi,
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: subr_once.c,v 1.5 2008/10/09 12:14:06 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: subr_once.c,v 1.6 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -40,7 +40,7 @@ static kmutex_t oncemtx;
|
|||
static kcondvar_t oncecv;
|
||||
|
||||
void
|
||||
once_init()
|
||||
once_init(void)
|
||||
{
|
||||
|
||||
mutex_init(&oncemtx, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: subr_prf.c,v 1.131 2009/03/10 10:48:09 mlelstv Exp $ */
|
||||
/* $NetBSD: subr_prf.c,v 1.132 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1986, 1988, 1991, 1993
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.131 2009/03/10 10:48:09 mlelstv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.132 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ipkdb.h"
|
||||
|
@ -152,7 +152,7 @@ const char HEXDIGITS[] = "0123456789ABCDEF";
|
|||
* since nothing can preempt us before interrupts are enabled.
|
||||
*/
|
||||
void
|
||||
kprintf_init()
|
||||
kprintf_init(void)
|
||||
{
|
||||
|
||||
KASSERT(!kprintf_inited && cold); /* not foolproof, but ... */
|
||||
|
@ -161,7 +161,7 @@ kprintf_init()
|
|||
}
|
||||
|
||||
void
|
||||
kprintf_lock()
|
||||
kprintf_lock(void)
|
||||
{
|
||||
|
||||
if (__predict_true(kprintf_inited))
|
||||
|
@ -169,7 +169,7 @@ kprintf_lock()
|
|||
}
|
||||
|
||||
void
|
||||
kprintf_unlock()
|
||||
kprintf_unlock(void)
|
||||
{
|
||||
|
||||
if (__predict_true(kprintf_inited)) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uipc_domain.c,v 1.78 2009/03/11 05:55:22 mrg Exp $ */
|
||||
/* $NetBSD: uipc_domain.c,v 1.79 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1993
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uipc_domain.c,v 1.78 2009/03/11 05:55:22 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uipc_domain.c,v 1.79 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -475,7 +475,7 @@ sysctl_unpcblist(SYSCTLFN_ARGS)
|
|||
}
|
||||
|
||||
static void
|
||||
sysctl_net_setup()
|
||||
sysctl_net_setup(void)
|
||||
{
|
||||
|
||||
KASSERT(domain_sysctllog == NULL);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uipc_mbuf.c,v 1.130 2008/12/16 22:35:37 christos Exp $ */
|
||||
/* $NetBSD: uipc_mbuf.c,v 1.131 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -62,7 +62,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.130 2008/12/16 22:35:37 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.131 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include "opt_mbuftrace.h"
|
||||
#include "opt_ddb.h"
|
||||
|
@ -366,7 +366,7 @@ sysctl_kern_mbuf_stats(SYSCTLFN_ARGS)
|
|||
}
|
||||
|
||||
static void
|
||||
sysctl_kern_mbuf_setup()
|
||||
sysctl_kern_mbuf_setup(void)
|
||||
{
|
||||
|
||||
KASSERT(mbuf_sysctllog == NULL);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uipc_socket.c,v 1.186 2009/01/23 15:40:19 pooka Exp $ */
|
||||
/* $NetBSD: uipc_socket.c,v 1.187 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002, 2007, 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -63,7 +63,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.186 2009/01/23 15:40:19 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.187 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include "opt_sock_counters.h"
|
||||
|
@ -2310,7 +2310,7 @@ sysctl_kern_somaxkva(SYSCTLFN_ARGS)
|
|||
}
|
||||
|
||||
static void
|
||||
sysctl_kern_somaxkva_setup()
|
||||
sysctl_kern_somaxkva_setup(void)
|
||||
{
|
||||
|
||||
KASSERT(socket_sysctllog == NULL);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vfs_hooks.c,v 1.5 2008/11/19 18:36:07 ad Exp $ */
|
||||
/* $NetBSD: vfs_hooks.c,v 1.6 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2005 The NetBSD Foundation, Inc.
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_hooks.c,v 1.5 2008/11/19 18:36:07 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_hooks.c,v 1.6 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
|
@ -47,7 +47,7 @@ LIST_HEAD(vfs_hooks_head, vfs_hooks) vfs_hooks_head =
|
|||
kmutex_t vfs_hooks_lock;
|
||||
|
||||
void
|
||||
vfs_hooks_init()
|
||||
vfs_hooks_init(void)
|
||||
{
|
||||
|
||||
mutex_init(&vfs_hooks_lock, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vfs_wapbl.c,v 1.23 2009/02/22 20:10:25 ad Exp $ */
|
||||
/* $NetBSD: vfs_wapbl.c,v 1.24 2009/03/15 17:14:40 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -36,7 +36,7 @@
|
|||
#define WAPBL_INTERNAL
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.23 2009/02/22 20:10:25 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.24 2009/03/15 17:14:40 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
|
@ -257,7 +257,7 @@ struct wapbl_ops wapbl_ops = {
|
|||
};
|
||||
|
||||
void
|
||||
wapbl_init()
|
||||
wapbl_init(void)
|
||||
{
|
||||
|
||||
malloc_type_attach(M_WAPBL);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fdesc_vnops.c,v 1.105 2009/03/14 15:36:22 dsl Exp $ */
|
||||
/* $NetBSD: fdesc_vnops.c,v 1.106 2009/03/15 17:22:37 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdesc_vnops.c,v 1.105 2009/03/14 15:36:22 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdesc_vnops.c,v 1.106 2009/03/15 17:22:37 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -182,7 +182,7 @@ extern const struct cdevsw ctty_cdevsw;
|
|||
* Initialise cache headers
|
||||
*/
|
||||
void
|
||||
fdesc_init()
|
||||
fdesc_init(void)
|
||||
{
|
||||
int cttymajor;
|
||||
|
||||
|
@ -196,7 +196,7 @@ fdesc_init()
|
|||
* Free hash table.
|
||||
*/
|
||||
void
|
||||
fdesc_done()
|
||||
fdesc_done(void)
|
||||
{
|
||||
hashdone(fdhashtbl, HASH_LIST, fdhash);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: layer_subr.c,v 1.26 2009/03/14 15:36:22 dsl Exp $ */
|
||||
/* $NetBSD: layer_subr.c,v 1.27 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 National Aeronautics & Space Administration
|
||||
|
@ -68,7 +68,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: layer_subr.c,v 1.26 2009/03/14 15:36:22 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: layer_subr.c,v 1.27 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -102,7 +102,7 @@ int layerfs_debug = 1;
|
|||
* Initialise cache headers
|
||||
*/
|
||||
void
|
||||
layerfs_init()
|
||||
layerfs_init(void)
|
||||
{
|
||||
#ifdef LAYERFS_DIAGNOSTIC
|
||||
if (layerfs_debug)
|
||||
|
@ -114,7 +114,7 @@ layerfs_init()
|
|||
* Free global resources of layerfs.
|
||||
*/
|
||||
void
|
||||
layerfs_done()
|
||||
layerfs_done(void)
|
||||
{
|
||||
#ifdef LAYERFS_DIAGNOSTIC
|
||||
if (layerfs_debug)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kernfs_subr.c,v 1.19 2009/03/14 15:36:22 dsl Exp $ */
|
||||
/* $NetBSD: kernfs_subr.c,v 1.20 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993
|
||||
|
@ -73,7 +73,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kernfs_subr.c,v 1.19 2009/03/14 15:36:22 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kernfs_subr.c,v 1.20 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_ipsec.h"
|
||||
|
@ -254,7 +254,7 @@ kernfs_freevp(struct vnode *vp)
|
|||
* Initialize kfsnode hash table.
|
||||
*/
|
||||
void
|
||||
kernfs_hashinit()
|
||||
kernfs_hashinit(void)
|
||||
{
|
||||
|
||||
mutex_init(&kfs_hashlock, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
@ -263,7 +263,7 @@ kernfs_hashinit()
|
|||
}
|
||||
|
||||
void
|
||||
kernfs_hashreinit()
|
||||
kernfs_hashreinit(void)
|
||||
{
|
||||
struct kernfs_node *pp;
|
||||
struct kfs_hashhead *oldhash, *hash;
|
||||
|
@ -291,7 +291,7 @@ kernfs_hashreinit()
|
|||
* Free kfsnode hash table.
|
||||
*/
|
||||
void
|
||||
kernfs_hashdone()
|
||||
kernfs_hashdone(void)
|
||||
{
|
||||
|
||||
hashdone(kfs_hashtbl, HASH_LIST, kfs_ihash);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kernfs_vfsops.c,v 1.88 2009/03/14 15:36:22 dsl Exp $ */
|
||||
/* $NetBSD: kernfs_vfsops.c,v 1.89 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993, 1995
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kernfs_vfsops.c,v 1.88 2009/03/14 15:36:22 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kernfs_vfsops.c,v 1.89 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -76,7 +76,7 @@ void kernfs_get_rrootdev(void);
|
|||
static struct sysctllog *kernfs_sysctl_log;
|
||||
|
||||
void
|
||||
kernfs_init()
|
||||
kernfs_init(void)
|
||||
{
|
||||
|
||||
malloc_type_attach(M_KERNFSMNT);
|
||||
|
@ -84,13 +84,13 @@ kernfs_init()
|
|||
}
|
||||
|
||||
void
|
||||
kernfs_reinit()
|
||||
kernfs_reinit(void)
|
||||
{
|
||||
kernfs_hashreinit();
|
||||
}
|
||||
|
||||
void
|
||||
kernfs_done()
|
||||
kernfs_done(void)
|
||||
{
|
||||
|
||||
kernfs_hashdone();
|
||||
|
@ -98,7 +98,7 @@ kernfs_done()
|
|||
}
|
||||
|
||||
void
|
||||
kernfs_get_rrootdev()
|
||||
kernfs_get_rrootdev(void)
|
||||
{
|
||||
static int tried = 0;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: portal_vfsops.c,v 1.78 2009/03/14 15:36:23 dsl Exp $ */
|
||||
/* $NetBSD: portal_vfsops.c,v 1.79 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993, 1995
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: portal_vfsops.c,v 1.78 2009/03/14 15:36:23 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: portal_vfsops.c,v 1.79 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -78,12 +78,12 @@ VFS_PROTOS(portal);
|
|||
static struct sysctllog *portal_sysctl_log;
|
||||
|
||||
void
|
||||
portal_init()
|
||||
portal_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
portal_done()
|
||||
portal_done(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: procfs_subr.c,v 1.94 2009/03/14 15:36:23 dsl Exp $ */
|
||||
/* $NetBSD: procfs_subr.c,v 1.95 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -102,7 +102,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: procfs_subr.c,v 1.94 2009/03/14 15:36:23 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: procfs_subr.c,v 1.95 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -539,7 +539,7 @@ vfs_findname(const vfs_namemap_t *nm, const char *bf, int buflen)
|
|||
* Initialize pfsnode hash table.
|
||||
*/
|
||||
void
|
||||
procfs_hashinit()
|
||||
procfs_hashinit(void)
|
||||
{
|
||||
mutex_init(&pfs_hashlock, MUTEX_DEFAULT, IPL_NONE);
|
||||
mutex_init(&pfs_ihash_lock, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
@ -547,7 +547,7 @@ procfs_hashinit()
|
|||
}
|
||||
|
||||
void
|
||||
procfs_hashreinit()
|
||||
procfs_hashreinit(void)
|
||||
{
|
||||
struct pfsnode *pp;
|
||||
struct pfs_hashhead *oldhash, *hash;
|
||||
|
@ -575,7 +575,7 @@ procfs_hashreinit()
|
|||
* Free pfsnode hash table.
|
||||
*/
|
||||
void
|
||||
procfs_hashdone()
|
||||
procfs_hashdone(void)
|
||||
{
|
||||
hashdone(pfs_hashtbl, HASH_LIST, pfs_ihash);
|
||||
mutex_destroy(&pfs_hashlock);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: procfs_vfsops.c,v 1.82 2009/03/14 15:36:23 dsl Exp $ */
|
||||
/* $NetBSD: procfs_vfsops.c,v 1.83 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993
|
||||
|
@ -76,7 +76,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.82 2009/03/14 15:36:23 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.83 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -252,19 +252,19 @@ procfs_vget(struct mount *mp, ino_t ino,
|
|||
}
|
||||
|
||||
void
|
||||
procfs_init()
|
||||
procfs_init(void)
|
||||
{
|
||||
procfs_hashinit();
|
||||
}
|
||||
|
||||
void
|
||||
procfs_reinit()
|
||||
procfs_reinit(void)
|
||||
{
|
||||
procfs_hashreinit();
|
||||
}
|
||||
|
||||
void
|
||||
procfs_done()
|
||||
procfs_done(void)
|
||||
{
|
||||
procfs_hashdone();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sync_subr.c,v 1.39 2009/03/14 21:04:25 dsl Exp $ */
|
||||
/* $NetBSD: sync_subr.c,v 1.40 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -61,7 +61,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sync_subr.c,v 1.39 2009/03/14 21:04:25 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sync_subr.c,v 1.40 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -103,7 +103,7 @@ static struct synclist *syncer_workitem_pending;
|
|||
struct lwp *updateproc = NULL;
|
||||
|
||||
void
|
||||
vn_initialize_syncerd()
|
||||
vn_initialize_syncerd(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -328,7 +328,7 @@ sched_sync(void *v)
|
|||
* normal turn time, otherwise it could take over the CPU.
|
||||
*/
|
||||
int
|
||||
speedup_syncer()
|
||||
speedup_syncer(void)
|
||||
{
|
||||
|
||||
mutex_enter(&syncer_data_lock);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: umap_subr.c,v 1.27 2009/03/14 15:36:23 dsl Exp $ */
|
||||
/* $NetBSD: umap_subr.c,v 1.28 2009/03/15 17:22:38 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 National Aeronautics & Space Administration
|
||||
|
@ -68,7 +68,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: umap_subr.c,v 1.27 2009/03/14 15:36:23 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: umap_subr.c,v 1.28 2009/03/15 17:22:38 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -92,10 +92,7 @@ int umap_node_alloc(struct mount *, struct vnode *,
|
|||
* find a user or group id in a map.
|
||||
*/
|
||||
u_long
|
||||
umap_findid(id, map, nentries)
|
||||
u_long id;
|
||||
u_long map[][2];
|
||||
int nentries;
|
||||
umap_findid(u_long id, u_long map[][2], int nentries)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -116,10 +113,7 @@ umap_findid(id, map, nentries)
|
|||
* find a user or group id in a map, in reverse.
|
||||
*/
|
||||
u_long
|
||||
umap_reverse_findid(id, map, nentries)
|
||||
u_long id;
|
||||
u_long map[][2];
|
||||
int nentries;
|
||||
umap_reverse_findid(u_long id, u_long map[][2], int nentries)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: krpc_subr.c,v 1.36 2009/03/14 21:04:25 dsl Exp $ */
|
||||
/* $NetBSD: krpc_subr.c,v 1.37 2009/03/15 17:20:09 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon Ross, Adam Glass
|
||||
|
@ -43,7 +43,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: krpc_subr.c,v 1.36 2009/03/14 21:04:25 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: krpc_subr.c,v 1.37 2009/03/15 17:20:09 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -183,9 +183,7 @@ krpc_portmap(struct sockaddr_in *sin, u_int prog, u_int vers, u_int proto, u_int
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int krpccheck(m, context)
|
||||
struct mbuf *m;
|
||||
void *context;
|
||||
static int krpccheck(struct mbuf *m, void *context)
|
||||
{
|
||||
struct rpc_reply *reply;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_node.c,v 1.109 2009/03/14 15:36:24 dsl Exp $ */
|
||||
/* $NetBSD: nfs_node.c,v 1.110 2009/03/15 17:20:10 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_node.c,v 1.109 2009/03/14 15:36:24 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_node.c,v 1.110 2009/03/15 17:20:10 cegger Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_nfs.h"
|
||||
|
@ -81,7 +81,7 @@ static const struct genfs_ops nfs_genfsops = {
|
|||
* Reinitialize inode hash table.
|
||||
*/
|
||||
void
|
||||
nfs_node_init()
|
||||
nfs_node_init(void)
|
||||
{
|
||||
|
||||
pool_init(&nfs_node_pool, sizeof(struct nfsnode), 0, 0, 0, "nfsnodepl",
|
||||
|
@ -98,7 +98,7 @@ nfs_node_init()
|
|||
* Free resources previously allocated in nfs_node_reinit().
|
||||
*/
|
||||
void
|
||||
nfs_node_done()
|
||||
nfs_node_done(void)
|
||||
{
|
||||
|
||||
pool_destroy(&nfs_node_pool);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_srvcache.c,v 1.44 2009/03/14 15:36:24 dsl Exp $ */
|
||||
/* $NetBSD: nfs_srvcache.c,v 1.45 2009/03/15 17:20:10 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_srvcache.c,v 1.44 2009/03/14 15:36:24 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_srvcache.c,v 1.45 2009/03/15 17:20:10 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/vnode.h>
|
||||
|
@ -155,7 +155,7 @@ cleanentry(struct nfsrvcache *rp)
|
|||
* Initialize the server request cache list
|
||||
*/
|
||||
void
|
||||
nfsrv_initcache()
|
||||
nfsrv_initcache(void)
|
||||
{
|
||||
|
||||
mutex_init(&nfsrv_reqcache_lock, MUTEX_DEFAULT, IPL_NONE);
|
||||
|
@ -168,7 +168,7 @@ nfsrv_initcache()
|
|||
}
|
||||
|
||||
void
|
||||
nfsrv_finicache()
|
||||
nfsrv_finicache(void)
|
||||
{
|
||||
|
||||
nfsrv_cleancache();
|
||||
|
@ -378,7 +378,7 @@ nfsrv_updatecache(struct nfsrv_descript *nd, int repvalid, struct mbuf *repmbuf)
|
|||
* Clean out the cache. Called when the last nfsd terminates.
|
||||
*/
|
||||
void
|
||||
nfsrv_cleancache()
|
||||
nfsrv_cleancache(void)
|
||||
{
|
||||
struct nfsrvcache *rp;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_subs.c,v 1.215 2009/03/14 21:04:25 dsl Exp $ */
|
||||
/* $NetBSD: nfs_subs.c,v 1.216 2009/03/15 17:20:10 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -70,7 +70,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.215 2009/03/14 21:04:25 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.216 2009/03/15 17:20:10 cegger Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "fs_nfs.h"
|
||||
|
@ -596,20 +596,10 @@ nfsm_reqh(struct nfsnode *np, u_long procid, int hsiz, char **bposp)
|
|||
* Returns the head of the mbuf list.
|
||||
*/
|
||||
struct mbuf *
|
||||
nfsm_rpchead(cr, nmflag, procid, auth_type, auth_len, auth_str, verf_len,
|
||||
verf_str, mrest, mrest_len, mbp, xidp)
|
||||
kauth_cred_t cr;
|
||||
int nmflag;
|
||||
int procid;
|
||||
int auth_type;
|
||||
int auth_len;
|
||||
char *auth_str;
|
||||
int verf_len;
|
||||
char *verf_str;
|
||||
struct mbuf *mrest;
|
||||
int mrest_len;
|
||||
struct mbuf **mbp;
|
||||
u_int32_t *xidp;
|
||||
nfsm_rpchead(kauth_cred_t cr, int nmflag, int procid,
|
||||
int auth_type, int auth_len, char *auth_str, int verf_len,
|
||||
char *verf_str, struct mbuf *mrest, int mrest_len,
|
||||
struct mbuf **mbp, uint32_t *xidp)
|
||||
{
|
||||
struct mbuf *mb;
|
||||
u_int32_t *tl;
|
||||
|
@ -1551,7 +1541,7 @@ nfs_fini(void)
|
|||
* Called once at VFS init to initialize client-specific data structures.
|
||||
*/
|
||||
void
|
||||
nfs_vfs_init()
|
||||
nfs_vfs_init(void)
|
||||
{
|
||||
|
||||
/* Initialize NFS server / client shared data. */
|
||||
|
@ -1562,7 +1552,7 @@ nfs_vfs_init()
|
|||
}
|
||||
|
||||
void
|
||||
nfs_vfs_done()
|
||||
nfs_vfs_done(void)
|
||||
{
|
||||
|
||||
nfs_node_done();
|
||||
|
@ -2424,7 +2414,7 @@ nfsrv_errmap(struct nfsrv_descript *nd, int err)
|
|||
}
|
||||
|
||||
u_int32_t
|
||||
nfs_getxid()
|
||||
nfs_getxid(void)
|
||||
{
|
||||
u_int32_t newxid;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_syscalls.c,v 1.145 2009/03/14 15:36:24 dsl Exp $ */
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.146 2009/03/15 17:20:10 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.145 2009/03/14 15:36:24 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.146 2009/03/15 17:20:10 cegger Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -296,7 +296,7 @@ sys_nfssvc(struct lwp *l, const struct sys_nfssvc_args *uap, register_t *retval)
|
|||
}
|
||||
|
||||
static struct nfssvc_sock *
|
||||
nfsrv_sockalloc()
|
||||
nfsrv_sockalloc(void)
|
||||
{
|
||||
struct nfssvc_sock *slp;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_vfsops.c,v 1.209 2009/03/14 21:04:25 dsl Exp $ */
|
||||
/* $NetBSD: nfs_vfsops.c,v 1.210 2009/03/15 17:20:10 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993, 1995
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.209 2009/03/14 21:04:25 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.210 2009/03/15 17:20:10 cegger Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_nfs.h"
|
||||
|
@ -327,7 +327,7 @@ nfs_fsinfo(struct nfsmount *nmp, struct vnode *vp, kauth_cred_t cred, struct lwp
|
|||
* - build the rootfs mount point and call mountnfs() to do the rest.
|
||||
*/
|
||||
int
|
||||
nfs_mountroot()
|
||||
nfs_mountroot(void)
|
||||
{
|
||||
struct timespec ts;
|
||||
struct nfs_diskless *nd;
|
||||
|
|
Loading…
Reference in New Issue