[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.5 and 1.6

version 1.5, 2006/11/06 23:18:18 version 1.6, 2006/11/07 22:10:18
Line 45 
Line 45 
   
 #include <fs/puffs/puffs_msgif.h>  #include <fs/puffs/puffs_msgif.h>
   
   #include <miscfs/genfs/genfs_node.h>
   
 extern int (**puffs_vnodeop_p)(void *);  extern int (**puffs_vnodeop_p)(void *);
 extern int (**puffs_specop_p)(void *);  extern int (**puffs_specop_p)(void *);
 extern int (**puffs_fifoop_p)(void *);  extern int (**puffs_fifoop_p)(void *);
Line 141  struct puffs_mount {
Line 143  struct puffs_mount {
 #define PNODE_LOCKED    0x02  #define PNODE_LOCKED    0x02
 #define PNODE_WANTED    0x04  #define PNODE_WANTED    0x04
 struct puffs_node {  struct puffs_node {
           struct genfs_node pn_gnode;     /* genfs glue                   */
   
         void            *pn_cookie;     /* userspace pnode cookie       */          void            *pn_cookie;     /* userspace pnode cookie       */
         struct vnode    *pn_vp;         /* backpointer to vnode         */          struct vnode    *pn_vp;         /* backpointer to vnode         */
         uint32_t        pn_stat;        /* node status                  */          uint32_t        pn_stat;        /* node status                  */
Line 153  int puffs_start2(struct puffs_mount *, s
Line 157  int puffs_start2(struct puffs_mount *, s
 int     puffs_vfstouser(struct puffs_mount *, int, void *, size_t);  int     puffs_vfstouser(struct puffs_mount *, int, void *, size_t);
 int     puffs_vntouser(struct puffs_mount *, int, void *, size_t, void *,  int     puffs_vntouser(struct puffs_mount *, int, void *, size_t, void *,
                        struct vnode *, struct vnode *);                         struct vnode *, struct vnode *);
   void    puffs_vntouser_faf(struct puffs_mount *, int, void *, size_t, void *);
 int     puffs_vntouser_req(struct puffs_mount *, int, void *, size_t,  int     puffs_vntouser_req(struct puffs_mount *, int, void *, size_t,
                            void *, unsigned int,                             void *, uint64_t, struct vnode *, struct vnode *);
                            struct vnode *, struct vnode *);  
 int     puffs_vntouser_adjbuf(struct puffs_mount *, int, void **, size_t *,  int     puffs_vntouser_adjbuf(struct puffs_mount *, int, void **, size_t *,
                               size_t, void *, struct vnode *, struct vnode *);                                size_t, void *, struct vnode *, struct vnode *);
   
 int     puffs_getvnode(struct mount *, void *, enum vtype, dev_t,  int     puffs_getvnode(struct mount *, void *, enum vtype, voff_t, dev_t,
                        struct vnode **);                         struct vnode **);
 int     puffs_newnode(struct mount *, struct vnode *, struct vnode **,  int     puffs_newnode(struct mount *, struct vnode *, struct vnode **,
                       void *, struct componentname *, enum vtype, dev_t);                        void *, struct componentname *, enum vtype, dev_t);
Line 169  void puffs_makecn(struct puffs_cn *, con
Line 173  void puffs_makecn(struct puffs_cn *, con
 void    puffs_credcvt(struct puffs_cred *, kauth_cred_t);  void    puffs_credcvt(struct puffs_cred *, kauth_cred_t);
 pid_t   puffs_lwp2pid(struct lwp *);  pid_t   puffs_lwp2pid(struct lwp *);
   
   void    puffs_updatenode(struct vnode *, int);
   #define PUFFS_UPDATEATIME       0x01
   #define PUFFS_UPDATECTIME       0x02
   #define PUFFS_UPDATEMTIME       0x04
   #define PUFFS_UPDATESIZE        0x08
   
 int     puffs_setpmp(pid_t, int, struct puffs_mount *);  int     puffs_setpmp(pid_t, int, struct puffs_mount *);
 void    puffs_nukebypmp(struct puffs_mount *);  void    puffs_nukebypmp(struct puffs_mount *);
   
 unsigned int    puffs_getreqid(struct puffs_mount *);  uint64_t        puffs_getreqid(struct puffs_mount *);
 void            puffs_userdead(struct puffs_mount *);  void            puffs_userdead(struct puffs_mount *);
   
 extern int (**puffs_vnodeop_p)(void *);  extern int (**puffs_vnodeop_p)(void *);

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

CVSweb <webmaster@jp.NetBSD.org>