Diff for /src/sys/sys/sfbuf.h between versions 1.3 and 1.4

version 1.3, 2004/03/29 15:46:21 version 1.4, 2004/04/01 17:58:06
Line 35  struct sf_buf { Line 35  struct sf_buf {
         struct          vm_page *m;     /* currently mapped page */          struct          vm_page *m;     /* currently mapped page */
         vm_offset_t     kva;            /* va of mapping */          vm_offset_t     kva;            /* va of mapping */
         int             refcnt;         /* usage of this mapping */          int             refcnt;         /* usage of this mapping */
           int             flags;          /* global SFBA flags */
           cpumask_t       cpumask;        /* cpu mapping synchronization */
         int             aux1;           /* auxillary counter TEMPORARY HACK */          int             aux1;           /* auxillary counter TEMPORARY HACK */
         int             aux2;           /* auxillary counter TEMPORARY HACK */          int             aux2;           /* auxillary counter TEMPORARY HACK */
 };  };
   
   /*
    * sf_buf_alloc() flags (not all are stored in sf->flags)
    */
   #define SFBA_QUICK      0x0001          /* sync mapping to current cpu only */
   #define SFBA_ONFREEQ    0x0002          /* on the free queue (lazy move) */
   #define SFBA_PCATCH     0x0004          /* allow interruption */
   
 static __inline vm_offset_t  static __inline vm_offset_t
 sf_buf_kva(struct sf_buf *sf)  sf_buf_kva(struct sf_buf *sf)
 {  {
Line 56  sf_buf_page(struct sf_buf *sf) Line 65  sf_buf_page(struct sf_buf *sf)
   
 extern int nsfbufs;  extern int nsfbufs;
   
struct sf_buf  *sf_buf_alloc(struct vm_page *);struct sf_buf  *sf_buf_alloc(struct vm_page *, int flags);
 void            sf_buf_free(struct sf_buf *);  void            sf_buf_free(struct sf_buf *);
 void            sf_buf_ref(struct sf_buf *);  void            sf_buf_ref(struct sf_buf *);
 struct sf_buf  *sf_buf_tosf(caddr_t addr);  struct sf_buf  *sf_buf_tosf(caddr_t addr);

Removed from v.1.3  
changed lines
  Added in v.1.4