The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/raidframe/rf_driver.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: rf_driver.h,v 1.11.2.1 2004/06/28 08:32:36 tron Exp $  */
    2 /*
    3  * rf_driver.h
    4  */
    5 /*
    6  * Copyright (c) 1996 Carnegie-Mellon University.
    7  * All rights reserved.
    8  *
    9  * Author: Jim Zelenka
   10  *
   11  * Permission to use, copy, modify and distribute this software and
   12  * its documentation is hereby granted, provided that both the copyright
   13  * notice and this permission notice appear in all copies of the
   14  * software, derivative works or modified versions, and any portions
   15  * thereof, and that both notices appear in supporting documentation.
   16  *
   17  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   18  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
   19  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   20  *
   21  * Carnegie Mellon requests users of this software to return to
   22  *
   23  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   24  *  School of Computer Science
   25  *  Carnegie Mellon University
   26  *  Pittsburgh PA 15213-3890
   27  *
   28  * any improvements or extensions that they make and grant Carnegie the
   29  * rights to redistribute these changes.
   30  */
   31 
   32 #ifndef _RF__RF_DRIVER_H_
   33 #define _RF__RF_DRIVER_H_
   34 
   35 #include <dev/raidframe/raidframevar.h>
   36 
   37 #include "rf_threadstuff.h"
   38 #include "rf_netbsd.h"
   39 
   40 RF_DECLARE_EXTERN_MUTEX(rf_printf_mutex)
   41 int rf_BootRaidframe(void);
   42 int rf_UnbootRaidframe(void);
   43 int rf_Shutdown(RF_Raid_t *);
   44 int rf_Configure(RF_Raid_t *, RF_Config_t *, RF_AutoConfig_t *);
   45 RF_RaidAccessDesc_t *rf_AllocRaidAccDesc(RF_Raid_t *, RF_IoType_t,
   46                                          RF_RaidAddr_t, RF_SectorCount_t, 
   47                                          caddr_t, void *, 
   48                                          RF_RaidAccessFlags_t, 
   49                                          const RF_AccessState_t *);
   50 void rf_FreeRaidAccDesc(RF_RaidAccessDesc_t *);
   51 int rf_DoAccess(RF_Raid_t *, RF_IoType_t, int, RF_RaidAddr_t, 
   52                 RF_SectorCount_t, caddr_t, void *, RF_RaidAccessFlags_t);
   53 #if 0
   54 int rf_SetReconfiguredMode(RF_Raid_t *, RF_RowCol_t, RF_RowCol_t);
   55 #endif
   56 int rf_FailDisk(RF_Raid_t *, RF_RowCol_t, int);
   57 void rf_SignalQuiescenceLock(RF_Raid_t *);
   58 int rf_SuspendNewRequestsAndWait(RF_Raid_t *);
   59 void rf_ResumeNewRequests(RF_Raid_t *);
   60 
   61 #endif                          /* !_RF__RF_DRIVER_H_ */

Cache object: 09bb173cc42b519a2b22fce19d4a0faa


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.