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

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

Diff for /src/sys/kern/bufq_priocscan.c between version 1.6 and 1.7

version 1.6, 2005/12/11 12:24:29 version 1.7, 2005/12/24 19:12:23
Line 47  struct cscan_queue {
Line 47  struct cscan_queue {
         daddr_t cq_lastrawblkno;        /* b_rawblkno of the last request */          daddr_t cq_lastrawblkno;        /* b_rawblkno of the last request */
 };  };
   
 static int __inline cscan_empty(const struct cscan_queue *);  static int inline cscan_empty(const struct cscan_queue *);
 static void cscan_put(struct cscan_queue *, struct buf *, int);  static void cscan_put(struct cscan_queue *, struct buf *, int);
 static struct buf *cscan_get(struct cscan_queue *, int);  static struct buf *cscan_get(struct cscan_queue *, int);
 static void cscan_init(struct cscan_queue *);  static void cscan_init(struct cscan_queue *);
   
 static __inline int  static inline int
 cscan_empty(const struct cscan_queue *q)  cscan_empty(const struct cscan_queue *q)
 {  {
   
Line 170  static struct buf *bufq_priocscan_get(st
Line 170  static struct buf *bufq_priocscan_get(st
   
 BUFQ_DEFINE(priocscan, 40, bufq_priocscan_init);  BUFQ_DEFINE(priocscan, 40, bufq_priocscan_init);
   
 static __inline struct cscan_queue *bufq_priocscan_selectqueue(  static inline struct cscan_queue *bufq_priocscan_selectqueue(
     struct bufq_priocscan *, const struct buf *);      struct bufq_priocscan *, const struct buf *);
   
 static __inline struct cscan_queue *  static inline struct cscan_queue *
 bufq_priocscan_selectqueue(struct bufq_priocscan *q, const struct buf *bp)  bufq_priocscan_selectqueue(struct bufq_priocscan *q, const struct buf *bp)
 {  {
         static const int priocscan_priomap[] = {          static const int priocscan_priomap[] = {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb <webmaster@jp.NetBSD.org>