[BACK]Return to puffs_sys.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / fs / puffs

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

Diff for /src/sys/fs/puffs/puffs_sys.h between version 1.9 and 1.10

version 1.9, 2006/11/18 08:18:24 version 1.10, 2006/12/01 12:37:41
Line 54  extern int (**puffs_fifoop_p)(void *);
Line 54  extern int (**puffs_fifoop_p)(void *);
 extern const struct vnodeopv_desc puffs_vnodeop_opv_desc;  extern const struct vnodeopv_desc puffs_vnodeop_opv_desc;
 extern const struct vnodeopv_desc puffs_specop_opv_desc;  extern const struct vnodeopv_desc puffs_specop_opv_desc;
 extern const struct vnodeopv_desc puffs_fifoop_opv_desc;  extern const struct vnodeopv_desc puffs_fifoop_opv_desc;
   extern const struct vnodeopv_desc puffs_msgop_opv_desc;
   
 extern struct pool puffs_pnpool;  extern struct pool puffs_pnpool;
   
Line 102  struct puffs_sizepark {
Line 103  struct puffs_sizepark {
 };  };
   
 #define DPRINTF(x)  #define DPRINTF(x)
   #define DPRINTF_VERBOSE(x)
   
 #define MPTOPUFFSMP(mp) ((struct puffs_mount *)((mp)->mnt_data))  #define MPTOPUFFSMP(mp) ((struct puffs_mount *)((mp)->mnt_data))
 #define PMPTOMP(pmp) (pmp->pmp_mp)  #define PMPTOMP(pmp) (pmp->pmp_mp)
Line 111  struct puffs_sizepark {
Line 113  struct puffs_sizepark {
 #define FPTOPMP(fp) (((struct puffs_instance *)fp->f_data)->pi_pmp)  #define FPTOPMP(fp) (((struct puffs_instance *)fp->f_data)->pi_pmp)
 #define FPTOPI(fp) ((struct puffs_instance *)fp->f_data)  #define FPTOPI(fp) ((struct puffs_instance *)fp->f_data)
   
   #define EXISTSOP(pmp, op) \
   (((pmp)->pmp_flags & PUFFSFLAG_ALLOPS) || ((pmp)->pmp_vnopmask[PUFFS_VN_##op]))
   
 TAILQ_HEAD(puffs_wq, puffs_park);  TAILQ_HEAD(puffs_wq, puffs_park);
 struct puffs_mount {  struct puffs_mount {
         struct simplelock               pmp_lock;          struct simplelock               pmp_lock;
   
         struct puffs_args               pmp_args;          struct puffs_args               pmp_args;
   #define pmp_flags pmp_args.pa_flags
   #define pmp_vnopmask pmp_args.pa_vnopmask
   
         struct puffs_wq                 pmp_req_touser;          struct puffs_wq                 pmp_req_touser;
         size_t                          pmp_req_touser_waiters;          size_t                          pmp_req_touser_waiters;
Line 134  struct puffs_mount {
Line 141  struct puffs_mount {
         unsigned int                    pmp_nextreq;          unsigned int                    pmp_nextreq;
         uint8_t                         pmp_status;          uint8_t                         pmp_status;
 };  };
 #define pmp_flags pmp_args.pa_flags  
   
 #define PUFFSTAT_BEFOREINIT     0  #define PUFFSTAT_BEFOREINIT     0
 #define PUFFSTAT_MOUNTING       1  #define PUFFSTAT_MOUNTING       1

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVSweb <webmaster@jp.NetBSD.org>