Print this page
*** NO COMMENTS ***


 236 void smbfs_rflush(struct vfs *vfsp, cred_t *cr);
 237 
 238 /*
 239  * Function definitions - those having to do with
 240  * smbfs nodes, vnodes, etc
 241  */
 242 
 243 void smbfs_attrcache_prune(struct smbnode *np);
 244 void smbfs_attrcache_remove(struct smbnode *np);
 245 void smbfs_attrcache_rm_locked(struct smbnode *np);
 246 #ifndef DEBUG
 247 #define smbfs_attrcache_rm_locked(np)   (np)->r_attrtime = gethrtime()
 248 #endif
 249 void smbfs_attr_touchdir(struct smbnode *dnp);
 250 void smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap);
 251 void smbfs_cache_check(struct vnode *vp, struct smbfattr *fap);
 252 
 253 void smbfs_addfree(struct smbnode *sp);
 254 void smbfs_rmhash(struct smbnode *);
 255 


 256 /* See avl_create in smbfs_vfsops.c */
 257 void smbfs_init_hash_avl(avl_tree_t *);
 258 
 259 uint32_t smbfs_gethash(const char *rpath, int prlen);
 260 uint32_t smbfs_getino(struct smbnode *dnp, const char *name, int nmlen);
 261 
 262 extern struct smbfattr smbfs_fattr0;
 263 smbnode_t *smbfs_node_findcreate(smbmntinfo_t *mi,
 264     const char *dir, int dirlen,
 265     const char *name, int nmlen,
 266     char sep, struct smbfattr *fap);
 267 
 268 int smbfs_nget(vnode_t *dvp, const char *name, int nmlen,
 269         struct smbfattr *fap, vnode_t **vpp);
 270 
 271 void smbfs_fname_tolocal(struct smbfs_fctx *ctx);
 272 char    *smbfs_name_alloc(const char *name, int nmlen);
 273 void    smbfs_name_free(const char *name, int nmlen);
 274 
 275 int smbfs_readvnode(vnode_t *, uio_t *, cred_t *, struct vattr *);




 236 void smbfs_rflush(struct vfs *vfsp, cred_t *cr);
 237 
 238 /*
 239  * Function definitions - those having to do with
 240  * smbfs nodes, vnodes, etc
 241  */
 242 
 243 void smbfs_attrcache_prune(struct smbnode *np);
 244 void smbfs_attrcache_remove(struct smbnode *np);
 245 void smbfs_attrcache_rm_locked(struct smbnode *np);
 246 #ifndef DEBUG
 247 #define smbfs_attrcache_rm_locked(np)   (np)->r_attrtime = gethrtime()
 248 #endif
 249 void smbfs_attr_touchdir(struct smbnode *dnp);
 250 void smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap);
 251 void smbfs_cache_check(struct vnode *vp, struct smbfattr *fap);
 252 
 253 void smbfs_addfree(struct smbnode *sp);
 254 void smbfs_rmhash(struct smbnode *);
 255 
 256 void smbfs_invalidate_pages(vnode_t *vp, u_offset_t off, cred_t *cr);
 257 
 258 /* See avl_create in smbfs_vfsops.c */
 259 void smbfs_init_hash_avl(avl_tree_t *);
 260 
 261 uint32_t smbfs_gethash(const char *rpath, int prlen);
 262 uint32_t smbfs_getino(struct smbnode *dnp, const char *name, int nmlen);
 263 
 264 extern struct smbfattr smbfs_fattr0;
 265 smbnode_t *smbfs_node_findcreate(smbmntinfo_t *mi,
 266     const char *dir, int dirlen,
 267     const char *name, int nmlen,
 268     char sep, struct smbfattr *fap);
 269 
 270 int smbfs_nget(vnode_t *dvp, const char *name, int nmlen,
 271         struct smbfattr *fap, vnode_t **vpp);
 272 
 273 void smbfs_fname_tolocal(struct smbfs_fctx *ctx);
 274 char    *smbfs_name_alloc(const char *name, int nmlen);
 275 void    smbfs_name_free(const char *name, int nmlen);
 276 
 277 int smbfs_readvnode(vnode_t *, uio_t *, cred_t *, struct vattr *);