rf_sys.h does not need to be #included in any of these files, and, actually,
is no longer needed at all.
This commit is contained in:
parent
67e8cf0262
commit
db2eaf18cf
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_acctrace.c,v 1.3 1999/02/05 00:06:06 oster Exp $ */
|
||||
/* $NetBSD: rf_acctrace.c,v 1.4 1999/08/13 03:41:52 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -45,7 +45,6 @@
|
|||
#include "rf_etimer.h"
|
||||
#include "rf_hist.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
static long numTracesSoFar;
|
||||
static int accessTraceBufCount = 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_alloclist.c,v 1.3 1999/02/05 00:06:06 oster Exp $ */
|
||||
/* $NetBSD: rf_alloclist.c,v 1.4 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -43,7 +43,6 @@
|
|||
#include "rf_etimer.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
RF_DECLARE_STATIC_MUTEX(alist_mutex)
|
||||
static unsigned int fl_hit_count, fl_miss_count;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_copyback.c,v 1.7 1999/03/02 03:18:49 oster Exp $ */
|
||||
/* $NetBSD: rf_copyback.c,v 1.8 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -52,7 +52,6 @@
|
|||
#include "rf_decluster.h"
|
||||
#include "rf_driver.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#define RF_COPYBACK_DATA 0
|
||||
#define RF_COPYBACK_PARITY 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_cpuutil.c,v 1.3 1999/02/05 00:06:07 oster Exp $ */
|
||||
/* $NetBSD: rf_cpuutil.c,v 1.4 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -36,7 +36,6 @@
|
|||
#include "rf_types.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
|
||||
int
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_cvscan.c,v 1.4 1999/02/05 00:06:07 oster Exp $ */
|
||||
/* $NetBSD: rf_cvscan.c,v 1.5 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -42,7 +42,6 @@
|
|||
#include "rf_cvscan.h"
|
||||
#include "rf_debugMem.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#define DO_CHECK_STATE(_hdr_) CheckCvscanState((_hdr_), __FILE__, __LINE__)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_dagdegrd.c,v 1.3 1999/02/05 00:06:07 oster Exp $ */
|
||||
/* $NetBSD: rf_dagdegrd.c,v 1.4 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -42,7 +42,6 @@
|
|||
#include "rf_memchunk.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_dagdegrd.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_dagdegwr.c,v 1.3 1999/02/05 00:06:07 oster Exp $ */
|
||||
/* $NetBSD: rf_dagdegwr.c,v 1.4 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -43,7 +43,6 @@
|
|||
#include "rf_memchunk.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_dagdegwr.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_dagutils.c,v 1.3 1999/02/05 00:06:08 oster Exp $ */
|
||||
/* $NetBSD: rf_dagutils.c,v 1.4 1999/08/13 03:41:53 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -43,7 +43,6 @@
|
|||
#include "rf_freelist.h"
|
||||
#include "rf_map.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#define SNUM_DIFF(_a_,_b_) (((_a_)>(_b_))?((_a_)-(_b_)):((_b_)-(_a_)))
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_debugMem.c,v 1.3 1999/02/05 00:06:08 oster Exp $ */
|
||||
/* $NetBSD: rf_debugMem.c,v 1.4 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -37,7 +37,6 @@
|
|||
*/
|
||||
|
||||
#include "rf_types.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#if RF_UTILITY == 0
|
||||
#include "rf_threadstuff.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_decluster.c,v 1.3 1999/02/05 00:06:08 oster Exp $ */
|
||||
/* $NetBSD: rf_decluster.c,v 1.4 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -57,7 +57,6 @@
|
|||
#include "rf_alloclist.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
extern int rf_copyback_in_progress; /* debug only */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_disks.c,v 1.11 1999/08/10 22:56:20 oster Exp $ */
|
||||
/* $NetBSD: rf_disks.c,v 1.12 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -73,7 +73,6 @@
|
|||
#include "rf_configure.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_options.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_driver.c,v 1.13 1999/08/13 03:25:01 oster Exp $ */
|
||||
/* $NetBSD: rf_driver.c,v 1.14 1999/08/13 03:41:58 oster Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -115,7 +115,6 @@
|
|||
#include "rf_driver.h"
|
||||
#include "rf_options.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
#include "rf_cpuutil.h"
|
||||
|
||||
#include <sys/buf.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_evenodd.c,v 1.2 1999/02/05 00:06:11 oster Exp $ */
|
||||
/* $NetBSD: rf_evenodd.c,v 1.3 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -55,7 +55,6 @@
|
|||
#include "rf_map.h"
|
||||
#include "rf_pq.h"
|
||||
#include "rf_mcpair.h"
|
||||
#include "rf_sys.h"
|
||||
#include "rf_evenodd.h"
|
||||
#include "rf_evenodd_dagfuncs.h"
|
||||
#include "rf_evenodd_dags.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_evenodd_dagfuncs.c,v 1.2 1999/02/05 00:06:11 oster Exp $ */
|
||||
/* $NetBSD: rf_evenodd_dagfuncs.c,v 1.3 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -44,7 +44,6 @@
|
|||
#include "rf_general.h"
|
||||
#include "rf_configure.h"
|
||||
#include "rf_parityscan.h"
|
||||
#include "rf_sys.h"
|
||||
#include "rf_evenodd.h"
|
||||
#include "rf_evenodd_dagfuncs.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_map.c,v 1.3 1999/02/05 00:06:12 oster Exp $ */
|
||||
/* $NetBSD: rf_map.c,v 1.4 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -39,7 +39,6 @@
|
|||
#include "rf_map.h"
|
||||
#include "rf_freelist.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
static void rf_FreePDAList(RF_PhysDiskAddr_t * start, RF_PhysDiskAddr_t * end, int count);
|
||||
static void
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_memchunk.c,v 1.3 1999/02/05 00:06:13 oster Exp $ */
|
||||
/* $NetBSD: rf_memchunk.c,v 1.4 1999/08/13 03:41:56 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -65,7 +65,6 @@
|
|||
#include "rf_general.h"
|
||||
#include "rf_options.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
typedef struct RF_ChunkHdr_s RF_ChunkHdr_t;
|
||||
struct RF_ChunkHdr_s {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_paritylog.c,v 1.3 1999/02/05 00:06:13 oster Exp $ */
|
||||
/* $NetBSD: rf_paritylog.c,v 1.4 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -54,7 +54,6 @@
|
|||
#include "rf_map.h"
|
||||
#include "rf_paritylogging.h"
|
||||
#include "rf_paritylogDiskMgr.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
static RF_CommonLogData_t *
|
||||
AllocParityLogCommonData(RF_Raid_t * raidPtr)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_paritylogDiskMgr.c,v 1.3 1999/02/05 00:06:14 oster Exp $ */
|
||||
/* $NetBSD: rf_paritylogDiskMgr.c,v 1.4 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -51,7 +51,6 @@
|
|||
#include "rf_dagutils.h"
|
||||
#include "rf_map.h"
|
||||
#include "rf_parityscan.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#include "rf_paritylogDiskMgr.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_parityscan.c,v 1.6 1999/08/10 22:19:27 oster Exp $ */
|
||||
/* $NetBSD: rf_parityscan.c,v 1.7 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -42,7 +42,6 @@
|
|||
#include "rf_engine.h"
|
||||
#include "rf_parityscan.h"
|
||||
#include "rf_map.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
/*****************************************************************************************
|
||||
*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_pq.c,v 1.3 1999/02/05 00:06:14 oster Exp $ */
|
||||
/* $NetBSD: rf_pq.c,v 1.4 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -46,7 +46,6 @@
|
|||
#include "rf_general.h"
|
||||
#include "rf_map.h"
|
||||
#include "rf_pq.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
RF_RedFuncs_t rf_pFuncs = {rf_RegularONPFunc, "Regular Old-New P", rf_SimpleONPFunc, "Simple Old-New P"};
|
||||
RF_RedFuncs_t rf_pRecoveryFuncs = {rf_RecoveryPFunc, "Recovery P Func", rf_RecoveryPFunc, "Recovery P Func"};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_pqdegdags.c,v 1.3 1999/02/05 00:06:15 oster Exp $ */
|
||||
/* $NetBSD: rf_pqdegdags.c,v 1.4 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -46,7 +46,6 @@
|
|||
#include "rf_general.h"
|
||||
#include "rf_pqdegdags.h"
|
||||
#include "rf_pq.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
static void
|
||||
applyPDA(RF_Raid_t * raidPtr, RF_PhysDiskAddr_t * pda, RF_PhysDiskAddr_t * ppda,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_psstatus.c,v 1.3 1999/02/05 00:06:15 oster Exp $ */
|
||||
/* $NetBSD: rf_psstatus.c,v 1.4 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -44,7 +44,6 @@
|
|||
#include "rf_freelist.h"
|
||||
#include "rf_psstatus.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#define Dprintf1(s,a) if (rf_pssDebug) rf_debug_printf(s,(void *)((unsigned long)a),NULL,NULL,NULL,NULL,NULL,NULL,NULL)
|
||||
#define Dprintf2(s,a,b) if (rf_pssDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),NULL,NULL,NULL,NULL,NULL,NULL)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_raid1.c,v 1.3 1999/02/05 00:06:15 oster Exp $ */
|
||||
/* $NetBSD: rf_raid1.c,v 1.4 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -50,7 +50,6 @@
|
|||
#include "rf_map.h"
|
||||
#include "rf_engine.h"
|
||||
#include "rf_reconbuffer.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
typedef struct RF_Raid1ConfigInfo_s {
|
||||
RF_RowCol_t **stripeIdentifier;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_reconmap.c,v 1.4 1999/02/05 00:06:16 oster Exp $ */
|
||||
/* $NetBSD: rf_reconmap.c,v 1.5 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -37,7 +37,6 @@
|
|||
#include <sys/time.h>
|
||||
#include "rf_general.h"
|
||||
#include "rf_utils.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
/* special pointer values indicating that a reconstruction unit
|
||||
* has been either totally reconstructed or not at all. Both
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_reconstruct.c,v 1.6 1999/08/13 01:43:33 oster Exp $ */
|
||||
/* $NetBSD: rf_reconstruct.c,v 1.7 1999/08/13 03:41:57 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -62,7 +62,6 @@
|
|||
#include "rf_utils.h"
|
||||
#include "rf_cpuutil.h"
|
||||
#include "rf_shutdown.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
#include "rf_kintf.h"
|
||||
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
/* $NetBSD: rf_sys.h,v 1.3 1999/02/05 00:06:18 oster Exp $ */
|
||||
/*
|
||||
* rf_sys.h
|
||||
*
|
||||
* Jim Zelenka, CMU/SCS, 14 June 1996
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1996 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Author: Jim Zelenka
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
* School of Computer Science
|
||||
* Carnegie Mellon University
|
||||
* Pittsburgh PA 15213-3890
|
||||
*
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*/
|
||||
|
||||
#ifndef _RF__RF_SYS_H_
|
||||
#define _RF__RF_SYS_H_
|
||||
|
||||
#include "rf_types.h"
|
||||
|
||||
int rf_ConfigureEtimer(RF_ShutdownList_t ** listp);
|
||||
|
||||
#endif /* !_RF__RF_SYS_H_ */
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_utils.c,v 1.3 1999/02/05 00:06:18 oster Exp $ */
|
||||
/* $NetBSD: rf_utils.c,v 1.4 1999/08/13 03:41:58 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
|
@ -42,7 +42,6 @@
|
|||
#include "rf_debugMem.h"
|
||||
#include "rf_alloclist.h"
|
||||
#include "rf_general.h"
|
||||
#include "rf_sys.h"
|
||||
|
||||
/* creates & zeros 2-d array with b rows and k columns (MCH) */
|
||||
RF_RowCol_t **
|
||||
|
|
Loading…
Reference in New Issue