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_kintf.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_kintf.h,v 1.18 2003/06/29 22:30:32 fvdl Exp $       */
    2 /*
    3  * rf_kintf.h
    4  *
    5  * RAIDframe exported kernel interface
    6  */
    7 /*
    8  * Copyright (c) 1995 Carnegie-Mellon University.
    9  * All rights reserved.
   10  *
   11  * Author: Jim Zelenka
   12  *
   13  * Permission to use, copy, modify and distribute this software and
   14  * its documentation is hereby granted, provided that both the copyright
   15  * notice and this permission notice appear in all copies of the
   16  * software, derivative works or modified versions, and any portions
   17  * thereof, and that both notices appear in supporting documentation.
   18  *
   19  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   20  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
   21  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   22  *
   23  * Carnegie Mellon requests users of this software to return to
   24  *
   25  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   26  *  School of Computer Science
   27  *  Carnegie Mellon University
   28  *  Pittsburgh PA 15213-3890
   29  *
   30  * any improvements or extensions that they make and grant Carnegie the
   31  * rights to redistribute these changes.
   32  */
   33 
   34 #ifndef _RF__RF_KINTF_H_
   35 #define _RF__RF_KINTF_H_
   36 
   37 #include <dev/raidframe/raidframevar.h>
   38 
   39 int     rf_GetSpareTableFromDaemon(RF_SparetWait_t * req);
   40 
   41 void    raidstart(RF_Raid_t * raidPtr);
   42 int     rf_DispatchKernelIO(RF_DiskQueue_t * queue, RF_DiskQueueData_t * req);
   43 
   44 int raidwrite_component_label(dev_t, struct vnode *, RF_ComponentLabel_t *);
   45 int raidread_component_label(dev_t, struct vnode *, RF_ComponentLabel_t *);
   46 
   47 #define RF_NORMAL_COMPONENT_UPDATE 0
   48 #define RF_FINAL_COMPONENT_UPDATE 1
   49 void rf_update_component_labels(RF_Raid_t *, int);
   50 int raidlookup(char *, struct proc *, struct vnode **);
   51 int raidmarkclean(dev_t dev, struct vnode *b_vp, int);
   52 int raidmarkdirty(dev_t dev, struct vnode *b_vp, int);
   53 void raid_init_component_label(RF_Raid_t *, RF_ComponentLabel_t *);
   54 void rf_print_component_label(RF_ComponentLabel_t *);
   55 void rf_UnconfigureVnodes( RF_Raid_t * );
   56 void rf_close_component( RF_Raid_t *, struct vnode *, int);
   57 void rf_disk_unbusy(RF_RaidAccessDesc_t *);
   58 #endif                          /* _RF__RF_KINTF_H_ */

Cache object: 5c9506f6adf7b480ff3424ae4062a0a7


[ 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.