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_options.c

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_options.c,v 1.5 2001/11/13 07:11:15 lukem Exp $     */
    2 /*
    3  * rf_options.c
    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 #include <sys/cdefs.h>
   33 __KERNEL_RCSID(0, "$NetBSD: rf_options.c,v 1.5 2001/11/13 07:11:15 lukem Exp $");
   34 
   35 #include <dev/raidframe/raidframevar.h>
   36 
   37 #include "rf_threadstuff.h"
   38 #include "rf_archs.h"
   39 #include "rf_general.h"
   40 #include "rf_options.h"
   41 
   42 #ifdef RF_DBG_OPTION
   43 #undef RF_DBG_OPTION
   44 #endif                          /* RF_DBG_OPTION */
   45 
   46 #ifdef __STDC__
   47 #define RF_DBG_OPTION(_option_,_defval_) long rf_##_option_ = _defval_;
   48 #else                           /* __STDC__ */
   49 #define RF_DBG_OPTION(_option_,_defval_) long rf_/**/_option_ = _defval_;
   50 #endif                          /* __STDC__ */
   51 
   52 #include "rf_optnames.h"
   53 
   54 #undef RF_DBG_OPTION
   55 
   56 #ifdef __STDC__
   57 #define RF_DBG_OPTION(_option_,_defval_) { RF_STRING(_option_), &rf_##_option_ },
   58 #else                           /* __STDC__ */
   59 #define RF_DBG_OPTION(_option_,_defval_) { RF_STRING(_option_), &rf_/**/_option_ },
   60 #endif                          /* __STDC__ */
   61 
   62 RF_DebugName_t rf_debugNames[] = {
   63 #include "rf_optnames.h"
   64         {NULL, NULL}
   65 };
   66 #undef RF_DBG_OPTION
   67 
   68 #ifdef __STDC__
   69 #define RF_DBG_OPTION(_option_,_defval_) rf_##_option_  = _defval_ ;
   70 #else                           /* __STDC__ */
   71 #define RF_DBG_OPTION(_option_,_defval_) rf_/**/_option_ = _defval_ ;
   72 #endif                          /* __STDC__ */
   73 
   74 void 
   75 rf_ResetDebugOptions()
   76 {
   77 #include "rf_optnames.h"
   78 }

Cache object: 3bb47d2370769cbf30e153d30144c956


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