summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe/rf_reconutil.h
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-02-16 00:02:21 +0000
committerniklas <niklas@openbsd.org>1999-02-16 00:02:21 +0000
commit107d1fd7ea8c7c9cb6d214c802eb1b5fac9fcf43 (patch)
tree098b83104ca2c705e48751ac59cd919aa52dc650 /sys/dev/raidframe/rf_reconutil.h
parentAdd a RaidFrame bucket type (diff)
downloadwireguard-openbsd-107d1fd7ea8c7c9cb6d214c802eb1b5fac9fcf43.tar.xz
wireguard-openbsd-107d1fd7ea8c7c9cb6d214c802eb1b5fac9fcf43.zip
Merge from NetBSD, mostly indentation
Diffstat (limited to 'sys/dev/raidframe/rf_reconutil.h')
-rw-r--r--sys/dev/raidframe/rf_reconutil.h72
1 files changed, 14 insertions, 58 deletions
diff --git a/sys/dev/raidframe/rf_reconutil.h b/sys/dev/raidframe/rf_reconutil.h
index f4ea1c6f5f7..4c8d1b9924f 100644
--- a/sys/dev/raidframe/rf_reconutil.h
+++ b/sys/dev/raidframe/rf_reconutil.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: rf_reconutil.h,v 1.1 1999/01/11 14:29:48 niklas Exp $ */
-/* $NetBSD: rf_reconutil.h,v 1.1 1998/11/13 04:20:34 oster Exp $ */
+/* $OpenBSD: rf_reconutil.h,v 1.2 1999/02/16 00:03:24 niklas Exp $ */
+/* $NetBSD: rf_reconutil.h,v 1.3 1999/02/05 00:06:17 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -31,66 +31,22 @@
* rf_reconutil.h -- header file for reconstruction utilities
************************************************************/
-/* :
- * Log: rf_reconutil.h,v
- * Revision 1.10 1996/07/15 05:40:41 jimz
- * some recon datastructure cleanup
- * better handling of multiple failures
- * added undocumented double-recon test
- *
- * Revision 1.9 1996/07/13 00:00:59 jimz
- * sanitized generalized reconstruction architecture
- * cleaned up head sep, rbuf problems
- *
- * Revision 1.8 1996/06/07 21:33:04 jimz
- * begin using consistent types for sector numbers,
- * stripe numbers, row+col numbers, recon unit numbers
- *
- * Revision 1.7 1996/06/05 18:06:02 jimz
- * Major code cleanup. The Great Renaming is now done.
- * Better modularity. Better typing. Fixed a bunch of
- * synchronization bugs. Made a lot of global stuff
- * per-desc or per-array. Removed dead code.
- *
- * Revision 1.6 1996/06/03 23:28:26 jimz
- * more bugfixes
- * check in tree to sync for IPDS runs with current bugfixes
- * there still may be a problem with threads in the script test
- * getting I/Os stuck- not trivially reproducible (runs ~50 times
- * in a row without getting stuck)
- *
- * Revision 1.5 1996/05/27 18:56:37 jimz
- * more code cleanup
- * better typing
- * compiles in all 3 environments
- *
- * Revision 1.4 1996/05/23 21:46:35 jimz
- * checkpoint in code cleanup (release prep)
- * lots of types, function names have been fixed
- *
- * Revision 1.3 1996/05/18 19:51:34 jimz
- * major code cleanup- fix syntax, make some types consistent,
- * add prototypes, clean out dead code, et cetera
- *
- * Revision 1.2 1995/12/06 15:06:47 root
- * added copyright info
- *
- */
-
#ifndef _RF__RF_RECONUTIL_H_
#define _RF__RF_RECONUTIL_H_
#include "rf_types.h"
#include "rf_reconstruct.h"
-RF_ReconCtrl_t *rf_MakeReconControl(RF_RaidReconDesc_t *reconDesc,
- RF_RowCol_t frow, RF_RowCol_t fcol, RF_RowCol_t srow, RF_RowCol_t scol);
-void rf_FreeReconControl(RF_Raid_t *raidPtr, RF_RowCol_t row);
-RF_HeadSepLimit_t rf_GetDefaultHeadSepLimit(RF_Raid_t *raidPtr);
-int rf_GetDefaultNumFloatingReconBuffers(RF_Raid_t *raidPtr);
-RF_ReconBuffer_t *rf_MakeReconBuffer(RF_Raid_t *raidPtr, RF_RowCol_t row,
- RF_RowCol_t col, RF_RbufType_t type);
-void rf_FreeReconBuffer(RF_ReconBuffer_t *rbuf);
-void rf_CheckFloatingRbufCount(RF_Raid_t *raidPtr, int dolock);
+RF_ReconCtrl_t *
+rf_MakeReconControl(RF_RaidReconDesc_t * reconDesc,
+ RF_RowCol_t frow, RF_RowCol_t fcol, RF_RowCol_t srow, RF_RowCol_t scol);
+void rf_FreeReconControl(RF_Raid_t * raidPtr, RF_RowCol_t row);
+RF_HeadSepLimit_t rf_GetDefaultHeadSepLimit(RF_Raid_t * raidPtr);
+int rf_GetDefaultNumFloatingReconBuffers(RF_Raid_t * raidPtr);
+RF_ReconBuffer_t *
+rf_MakeReconBuffer(RF_Raid_t * raidPtr, RF_RowCol_t row,
+ RF_RowCol_t col, RF_RbufType_t type);
+void rf_FreeReconBuffer(RF_ReconBuffer_t * rbuf);
+void rf_CheckFloatingRbufCount(RF_Raid_t * raidPtr, int dolock);
-#endif /* !_RF__RF_RECONUTIL_H_ */
+#endif /* !_RF__RF_RECONUTIL_H_ */