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/sys/iosched.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 /*
    2  * SYS/IOSCHED.H
    3  *
    4  * I/O Scheduler
    5  * 
    6  * $DragonFly: src/sys/sys/iosched.h,v 1.1 2008/06/28 17:59:47 dillon Exp $
    7  */
    8 
    9 #ifndef _SYS_IOSCHED_H_
   10 #define _SYS_IOSCHED_H_
   11 
   12 #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)
   13 
   14 #ifndef _SYS_TYPES_H_
   15 #include <sys/types.h>
   16 #endif
   17 #ifndef _SYS_QUEUE_H_
   18 #include <sys/queue.h>
   19 #endif
   20 #ifndef _SYS_SYSTIMER_H_
   21 #include <sys/systimer.h>
   22 #endif
   23 
   24 #endif  /* _KERNEL || _KERNEL_STRUCTURES */
   25 
   26 struct iosched_data {
   27     size_t      iorbytes;
   28     size_t      iowbytes;
   29     int         lastticks;      /* decay last recorded */
   30 };
   31 
   32 #ifdef _KERNEL
   33 
   34 struct thread;
   35 void    bwillwrite(int bytes);
   36 void    bwillread(int bytes);
   37 void    bwillinode(int count);
   38 void    biosched_done(struct thread *td);
   39 
   40 #endif
   41 
   42 #endif
   43 

Cache object: add0e7d60b5c1df6b83fc175a506ebbd


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