Print this page
Implement ioctl _FIODIRECTIO
Kill flags arg in smbfs_purge_caches
5404 smbfs needs mmap support
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
*** 235,245 ****
--- 235,248 ----
void smbfs_zonelist_remove(smbmntinfo_t *smi);
int smbfs_check_table(struct vfs *vfsp, struct smbnode *srp);
void smbfs_destroy_table(struct vfs *vfsp);
void smbfs_rflush(struct vfs *vfsp, cred_t *cr);
+ void smbfs_flushall(cred_t *cr);
+ int smbfs_directio(vnode_t *vp, int cmd, cred_t *cr);
+
uint32_t smbfs_newnum(void);
int smbfs_newname(char *buf, size_t buflen);
/*
* Function definitions - those having to do with
*** 252,263 ****
#ifndef DEBUG
#define smbfs_attrcache_rm_locked(np) (np)->r_attrtime = gethrtime()
#endif
void smbfs_attr_touchdir(struct smbnode *dnp);
void smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap);
- void smbfs_cache_check(struct vnode *vp, struct smbfattr *fap);
void smbfs_addfree(struct smbnode *sp);
void smbfs_rmhash(struct smbnode *);
/* See avl_create in smbfs_vfsops.c */
void smbfs_init_hash_avl(avl_tree_t *);
--- 255,268 ----
#ifndef DEBUG
#define smbfs_attrcache_rm_locked(np) (np)->r_attrtime = gethrtime()
#endif
void smbfs_attr_touchdir(struct smbnode *dnp);
void smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap);
+ int smbfs_validate_caches(struct vnode *vp, cred_t *cr);
+ void smbfs_purge_caches(struct vnode *vp, cred_t *cr);
+
void smbfs_addfree(struct smbnode *sp);
void smbfs_rmhash(struct smbnode *);
/* See avl_create in smbfs_vfsops.c */
void smbfs_init_hash_avl(avl_tree_t *);
*** 281,290 ****
--- 286,299 ----
int smbfs_readvnode(vnode_t *, uio_t *, cred_t *, struct vattr *);
int smbfs_writevnode(vnode_t *vp, uio_t *uiop, cred_t *cr,
int ioflag, int timo);
int smbfsgetattr(vnode_t *vp, struct vattr *vap, cred_t *cr);
+ /* nfs: writerp writenp */
+ /* nfs_putpages? */
+ void smbfs_invalidate_pages(vnode_t *vp, u_offset_t off, cred_t *cr);
+
/* smbfs ACL support */
int smbfs_acl_getids(vnode_t *, cred_t *);
int smbfs_acl_setids(vnode_t *, vattr_t *, cred_t *);
int smbfs_acl_getvsa(vnode_t *, vsecattr_t *, int, cred_t *);
int smbfs_acl_setvsa(vnode_t *, vsecattr_t *, int, cred_t *);