[BACK]Return to md.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/md.c between version 1.76 and 1.76.2.1

version 1.76, 2016/01/04 16:24:52 version 1.76.2.1, 2016/07/18 03:49:59
Line 60  __KERNEL_RCSID(0, "$NetBSD$");
Line 60  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/proc.h>  #include <sys/proc.h>
 #include <sys/conf.h>  #include <sys/conf.h>
 #include <sys/disklabel.h>  #include <sys/disklabel.h>
   #include <sys/localcount.h>
   
 #include <uvm/uvm_extern.h>  #include <uvm/uvm_extern.h>
   
Line 105  static dev_type_ioctl(mdioctl);
Line 106  static dev_type_ioctl(mdioctl);
 static dev_type_strategy(mdstrategy);  static dev_type_strategy(mdstrategy);
 static dev_type_size(mdsize);  static dev_type_size(mdsize);
   
   #ifdef _MODULE
   struct localcount md_b_localcount, md_c_localcount;
   #endif
   
 const struct bdevsw md_bdevsw = {  const struct bdevsw md_bdevsw = {
         .d_open = mdopen,          .d_open = mdopen,
         .d_close = mdclose,          .d_close = mdclose,
Line 113  const struct bdevsw md_bdevsw = {
Line 118  const struct bdevsw md_bdevsw = {
         .d_dump = nodump,          .d_dump = nodump,
         .d_psize = mdsize,          .d_psize = mdsize,
         .d_discard = nodiscard,          .d_discard = nodiscard,
   #ifdef _MODULE
           .d_localcount = &md_b_localcount,
   #endif
         .d_flag = D_DISK | D_MPSAFE          .d_flag = D_DISK | D_MPSAFE
 };  };
   
Line 128  const struct cdevsw md_cdevsw = {
Line 136  const struct cdevsw md_cdevsw = {
         .d_mmap = nommap,          .d_mmap = nommap,
         .d_kqfilter = nokqfilter,          .d_kqfilter = nokqfilter,
         .d_discard = nodiscard,          .d_discard = nodiscard,
   #ifdef _MODULE
           .d_localcount = &md_c_localcount,
   #endif
         .d_flag = D_DISK          .d_flag = D_DISK
 };  };
   

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.76.2.1

CVSweb <webmaster@jp.NetBSD.org>