2263 extern uint_t rfs3_tsize(struct svc_req *);
2264 extern int vattr_to_sattr3(struct vattr *, sattr3 *);
2265 extern void setdiropargs3(diropargs3 *, char *, vnode_t *);
2266 extern enum nfsstat3 puterrno3(int);
2267 extern int geterrno3(enum nfsstat3);
2268 extern int nfs3init(int, char *);
2269 extern void nfs3fini(void);
2270 extern int nfs3_vfsinit(void);
2271 extern void nfs3_vfsfini(void);
2272 extern void vattr_to_post_op_attr(struct vattr *, post_op_attr *);
2273 extern void mblk_to_iov(mblk_t *, int, struct iovec *);
2274 extern int rfs_publicfh_mclookup(char *, vnode_t *, cred_t *,
2275 vnode_t **, struct exportinfo **, struct sec_ol *);
2276 extern int rfs_pathname(char *, vnode_t **, vnode_t **,
2277 vnode_t *, cred_t *, int);
2278 extern vtype_t nf3_to_vt[];
2279 extern kstat_named_t *rfsproccnt_v3_ptr;
2280 extern vfsops_t *nfs3_vfsops;
2281 extern struct vnodeops *nfs3_vnodeops;
2282 extern const struct fs_operation_def nfs3_vnodeops_template[];
2283 #ifdef DEBUG
2284 extern int rfs3_do_pre_op_attr;
2285 extern int rfs3_do_post_op_attr;
2286 extern int rfs3_do_post_op_fh3;
2287 #endif
2288 /*
2289 * Some servers do not properly update the attributes of the
2290 * directory when changes are made. To allow interoperability
2291 * with these broken servers, the nfs_disable_rddir_cache
2292 * parameter can be used to disable readdir response caching.
2293 */
2294 extern int nfs_disable_rddir_cache;
2295
2296 /*
2297 * External functions called by the v2/v3 code into the v4 code
2298 */
2299 extern void nfs4_clnt_init(void);
2300 extern void nfs4_clnt_fini(void);
2301
2302 /*
2303 * Does NFS4 server have a vnode delegated? TRUE if so, FALSE if not.
2304 */
2305 extern bool_t rfs4_check_delegated(int mode, vnode_t *, bool_t trunc);
2306 /*
2307 * VOP_GETATTR call. If a NFS4 delegation is present on the supplied vnode
|
2263 extern uint_t rfs3_tsize(struct svc_req *);
2264 extern int vattr_to_sattr3(struct vattr *, sattr3 *);
2265 extern void setdiropargs3(diropargs3 *, char *, vnode_t *);
2266 extern enum nfsstat3 puterrno3(int);
2267 extern int geterrno3(enum nfsstat3);
2268 extern int nfs3init(int, char *);
2269 extern void nfs3fini(void);
2270 extern int nfs3_vfsinit(void);
2271 extern void nfs3_vfsfini(void);
2272 extern void vattr_to_post_op_attr(struct vattr *, post_op_attr *);
2273 extern void mblk_to_iov(mblk_t *, int, struct iovec *);
2274 extern int rfs_publicfh_mclookup(char *, vnode_t *, cred_t *,
2275 vnode_t **, struct exportinfo **, struct sec_ol *);
2276 extern int rfs_pathname(char *, vnode_t **, vnode_t **,
2277 vnode_t *, cred_t *, int);
2278 extern vtype_t nf3_to_vt[];
2279 extern kstat_named_t *rfsproccnt_v3_ptr;
2280 extern vfsops_t *nfs3_vfsops;
2281 extern struct vnodeops *nfs3_vnodeops;
2282 extern const struct fs_operation_def nfs3_vnodeops_template[];
2283
2284 /*
2285 * Some servers do not properly update the attributes of the
2286 * directory when changes are made. To allow interoperability
2287 * with these broken servers, the nfs_disable_rddir_cache
2288 * parameter can be used to disable readdir response caching.
2289 */
2290 extern int nfs_disable_rddir_cache;
2291
2292 /*
2293 * External functions called by the v2/v3 code into the v4 code
2294 */
2295 extern void nfs4_clnt_init(void);
2296 extern void nfs4_clnt_fini(void);
2297
2298 /*
2299 * Does NFS4 server have a vnode delegated? TRUE if so, FALSE if not.
2300 */
2301 extern bool_t rfs4_check_delegated(int mode, vnode_t *, bool_t trunc);
2302 /*
2303 * VOP_GETATTR call. If a NFS4 delegation is present on the supplied vnode
|