Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/dev/raidframe Pull up revision 1.6 (requested by oste...
details: https://anonhg.NetBSD.org/src/rev/a963c0887d3d
branches: netbsd-3
changeset: 576256:a963c0887d3d
user: tron <tron%NetBSD.org@localhost>
date: Fri Jun 17 13:35:17 2005 +0000
description:
Pull up revision 1.6 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations
diffstat:
sys/dev/raidframe/rf_parityscan.h | 28 +++++++++++-----------------
1 files changed, 11 insertions(+), 17 deletions(-)
diffs (42 lines):
diff -r 4be2aaf318d1 -r a963c0887d3d sys/dev/raidframe/rf_parityscan.h
--- a/sys/dev/raidframe/rf_parityscan.h Fri Jun 17 13:35:11 2005 +0000
+++ b/sys/dev/raidframe/rf_parityscan.h Fri Jun 17 13:35:17 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_parityscan.h,v 1.5 2005/02/27 00:27:45 perry Exp $ */
+/* $NetBSD: rf_parityscan.h,v 1.5.2.1 2005/06/17 13:35:17 tron Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,22 +33,16 @@
#include "rf_alloclist.h"
-int rf_RewriteParity(RF_Raid_t * raidPtr);
-int
-rf_VerifyParityBasic(RF_Raid_t * raidPtr, RF_RaidAddr_t raidAddr,
- RF_PhysDiskAddr_t * parityPDA, int correct_it, RF_RaidAccessFlags_t flags);
-int
-rf_VerifyParity(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * stripeMap,
- int correct_it, RF_RaidAccessFlags_t flags);
-int rf_TryToRedirectPDA(RF_Raid_t * raidPtr, RF_PhysDiskAddr_t * pda, int parity);
-int rf_VerifyDegrModeWrite(RF_Raid_t * raidPtr, RF_AccessStripeMapHeader_t * asmh);
-RF_DagHeader_t *
-rf_MakeSimpleDAG(RF_Raid_t * raidPtr, int nNodes,
- int bytesPerSU, char *databuf,
- int (*doFunc) (RF_DagNode_t *),
- int (*undoFunc) (RF_DagNode_t *),
- char *name, RF_AllocListElem_t * alloclist,
- RF_RaidAccessFlags_t flags, int priority);
+int rf_RewriteParity(RF_Raid_t *);
+int rf_VerifyParityBasic(RF_Raid_t *, RF_RaidAddr_t, RF_PhysDiskAddr_t *,
+ int, RF_RaidAccessFlags_t);
+int rf_VerifyParity(RF_Raid_t *, RF_AccessStripeMap_t *, int,
+ RF_RaidAccessFlags_t);
+int rf_TryToRedirectPDA(RF_Raid_t *, RF_PhysDiskAddr_t *, int);
+int rf_VerifyDegrModeWrite(RF_Raid_t *, RF_AccessStripeMapHeader_t *);
+RF_DagHeader_t *rf_MakeSimpleDAG(RF_Raid_t *, int, int, char *,
+ int (*)(RF_DagNode_t *), int (*) (RF_DagNode_t *), const char *,
+ RF_AllocListElem_t *, RF_RaidAccessFlags_t, int);
#define RF_DO_CORRECT_PARITY 1
#define RF_DONT_CORRECT_PARITY 0
Home |
Main Index |
Thread Index |
Old Index