Cleanup function prototypes. No functional change.

This commit is contained in:
oster 2008-04-20 20:46:41 +00:00
parent 5654bb482d
commit 6fef1b6c62
1 changed files with 15 additions and 27 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_raid1.h,v 1.8 2008/04/20 20:42:32 oster Exp $ */ /* $NetBSD: rf_raid1.h,v 1.9 2008/04/20 20:46:41 oster Exp $ */
/* /*
* Copyright (c) 1995 Carnegie-Mellon University. * Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved. * All rights reserved.
@ -33,31 +33,19 @@
#include <dev/raidframe/raidframevar.h> #include <dev/raidframe/raidframevar.h>
int int rf_ConfigureRAID1(RF_ShutdownList_t **, RF_Raid_t *, RF_Config_t *);
rf_ConfigureRAID1(RF_ShutdownList_t ** listp, RF_Raid_t * raidPtr, void rf_MapSectorRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_RowCol_t *,
RF_Config_t * cfgPtr); RF_SectorNum_t *, int);
void void rf_MapParityRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_RowCol_t *,
rf_MapSectorRAID1(RF_Raid_t * raidPtr, RF_RaidAddr_t raidSector, RF_SectorNum_t *, int);
RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); void rf_IdentifyStripeRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_RowCol_t **);
void void rf_MapSIDToPSIDRAID1(RF_RaidLayout_t *, RF_StripeNum_t, RF_StripeNum_t *,
rf_MapParityRAID1(RF_Raid_t * raidPtr, RF_RaidAddr_t raidSector, RF_ReconUnitNum_t *);
RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); void rf_RAID1DagSelect(RF_Raid_t *, RF_IoType_t, RF_AccessStripeMap_t *,
void RF_VoidFuncPtr *);
rf_IdentifyStripeRAID1(RF_Raid_t * raidPtr, RF_RaidAddr_t addr, int rf_VerifyParityRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_PhysDiskAddr_t *,
RF_RowCol_t ** diskids); int, RF_RaidAccessFlags_t);
void int rf_SubmitReconBufferRAID1(RF_ReconBuffer_t *, int, int);
rf_MapSIDToPSIDRAID1(RF_RaidLayout_t * layoutPtr, RF_HeadSepLimit_t rf_GetDefaultHeadSepLimitRAID1(RF_Raid_t *);
RF_StripeNum_t stripeID, RF_StripeNum_t * psID,
RF_ReconUnitNum_t * which_ru);
void
rf_RAID1DagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
RF_AccessStripeMap_t * asmap, RF_VoidFuncPtr * createFunc);
int
rf_VerifyParityRAID1(RF_Raid_t * raidPtr, RF_RaidAddr_t raidAddr,
RF_PhysDiskAddr_t * parityPDA, int correct_it, RF_RaidAccessFlags_t flags);
int
rf_SubmitReconBufferRAID1(RF_ReconBuffer_t * rbuf, int keep_int,
int use_committed);
RF_HeadSepLimit_t rf_GetDefaultHeadSepLimitRAID1(RF_Raid_t * raidPtr);
#endif /* !_RF__RF_RAID1_H_ */ #endif /* !_RF__RF_RAID1_H_ */