nfs_var.h (191990) | nfs_var.h (192115) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 191990 2009-05-11 15:33:26Z attilio $ | 32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 192115 2009-05-14 20:39:09Z rmacklem $ |
33 */ 34 35/* 36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs 37 */ 38 39struct uio; 40struct ucred; --- 39 unchanged lines hidden (view full) --- 80#ifdef __FreeBSD__ 81NFS_ACCESS_ARGS; 82NFS_OPEN_ARGS; 83NFS_GETATTR_ARGS; 84NFS_LOOKUP_ARGS; 85NFS_READDIR_ARGS; 86#endif 87 | 33 */ 34 35/* 36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs 37 */ 38 39struct uio; 40struct ucred; --- 39 unchanged lines hidden (view full) --- 80#ifdef __FreeBSD__ 81NFS_ACCESS_ARGS; 82NFS_OPEN_ARGS; 83NFS_GETATTR_ARGS; 84NFS_LOOKUP_ARGS; 85NFS_READDIR_ARGS; 86#endif 87 |
88/* nfsd_srvstate.c */ | 88/* nfs_nfsdstate.c */ |
89int nfsrv_setclient(struct nfsrv_descript *, struct nfsclient **, 90 nfsquad_t *, nfsquad_t *, NFSPROC_T *); 91int nfsrv_getclient(nfsquad_t, int, struct nfsclient **, nfsquad_t, 92 struct nfsrv_descript *, NFSPROC_T *); 93int nfsrv_adminrevoke(struct nfsd_clid *, NFSPROC_T *); 94void nfsrv_dumpclients(struct nfsd_dumpclients *, int); 95void nfsrv_dumplocks(vnode_t, struct nfsd_dumplocks *, int, NFSPROC_T *); 96int nfsrv_lockctrl(vnode_t, struct nfsstate **, --- 23 unchanged lines hidden (view full) --- 120int nfsrv_checksetattr(vnode_t, struct nfsrv_descript *, 121 nfsv4stateid_t *, struct nfsvattr *, nfsattrbit_t *, struct nfsexstuff *, 122 NFSPROC_T *); 123int nfsrv_checkgetattr(struct nfsrv_descript *, vnode_t, 124 struct nfsvattr *, nfsattrbit_t *, struct ucred *, NFSPROC_T *); 125int nfsrv_nfsuserdport(u_short, NFSPROC_T *); 126void nfsrv_nfsuserddelport(void); 127 | 89int nfsrv_setclient(struct nfsrv_descript *, struct nfsclient **, 90 nfsquad_t *, nfsquad_t *, NFSPROC_T *); 91int nfsrv_getclient(nfsquad_t, int, struct nfsclient **, nfsquad_t, 92 struct nfsrv_descript *, NFSPROC_T *); 93int nfsrv_adminrevoke(struct nfsd_clid *, NFSPROC_T *); 94void nfsrv_dumpclients(struct nfsd_dumpclients *, int); 95void nfsrv_dumplocks(vnode_t, struct nfsd_dumplocks *, int, NFSPROC_T *); 96int nfsrv_lockctrl(vnode_t, struct nfsstate **, --- 23 unchanged lines hidden (view full) --- 120int nfsrv_checksetattr(vnode_t, struct nfsrv_descript *, 121 nfsv4stateid_t *, struct nfsvattr *, nfsattrbit_t *, struct nfsexstuff *, 122 NFSPROC_T *); 123int nfsrv_checkgetattr(struct nfsrv_descript *, vnode_t, 124 struct nfsvattr *, nfsattrbit_t *, struct ucred *, NFSPROC_T *); 125int nfsrv_nfsuserdport(u_short, NFSPROC_T *); 126void nfsrv_nfsuserddelport(void); 127 |
128/* nfsd_serv.c */ | 128/* nfs_nfsdserv.c */ |
129int nfsrvd_access(struct nfsrv_descript *, int, 130 vnode_t, NFSPROC_T *, struct nfsexstuff *); 131int nfsrvd_getattr(struct nfsrv_descript *, int, 132 vnode_t, NFSPROC_T *, struct nfsexstuff *); 133int nfsrvd_setattr(struct nfsrv_descript *, int, 134 vnode_t, NFSPROC_T *, struct nfsexstuff *); 135int nfsrvd_lookup(struct nfsrv_descript *, int, 136 vnode_t, vnode_t *, fhandle_t *, NFSPROC_T *, --- 67 unchanged lines hidden (view full) --- 204int nfsrvd_openattr(struct nfsrv_descript *, int, 205 vnode_t, vnode_t *, fhandle_t *, NFSPROC_T *, 206 struct nfsexstuff *); 207int nfsrvd_releaselckown(struct nfsrv_descript *, int, 208 vnode_t, NFSPROC_T *, struct nfsexstuff *); 209int nfsrvd_pathconf(struct nfsrv_descript *, int, 210 vnode_t, NFSPROC_T *, struct nfsexstuff *); 211 | 129int nfsrvd_access(struct nfsrv_descript *, int, 130 vnode_t, NFSPROC_T *, struct nfsexstuff *); 131int nfsrvd_getattr(struct nfsrv_descript *, int, 132 vnode_t, NFSPROC_T *, struct nfsexstuff *); 133int nfsrvd_setattr(struct nfsrv_descript *, int, 134 vnode_t, NFSPROC_T *, struct nfsexstuff *); 135int nfsrvd_lookup(struct nfsrv_descript *, int, 136 vnode_t, vnode_t *, fhandle_t *, NFSPROC_T *, --- 67 unchanged lines hidden (view full) --- 204int nfsrvd_openattr(struct nfsrv_descript *, int, 205 vnode_t, vnode_t *, fhandle_t *, NFSPROC_T *, 206 struct nfsexstuff *); 207int nfsrvd_releaselckown(struct nfsrv_descript *, int, 208 vnode_t, NFSPROC_T *, struct nfsexstuff *); 209int nfsrvd_pathconf(struct nfsrv_descript *, int, 210 vnode_t, NFSPROC_T *, struct nfsexstuff *); 211 |
212/* newnfs_socket.c */ 213int newnfs_request(struct nfsrv_descript *, struct nfsmount *, 214 struct nfsclient *, struct nfssockreq *, vnode_t, NFSPROC_T *, 215 struct ucred *, u_int32_t, u_int32_t, u_char *, int, u_int64_t *); 216int newnfs_connect(struct nfsmount *, struct nfssockreq *, 217 struct ucred *, NFSPROC_T *, int); 218void newnfs_disconnect(struct nfssockreq *); 219void newnfs_timer(void *); 220int newnfs_sigintr(struct nfsmount *, NFSPROC_T *); 221int newnfs_sndlock(int *); 222void newnfs_sndunlock(int *); 223 224/* nfsd_srvsocket.c */ | 212/* nfs_nfsdsocket.c */ |
225void nfsrvd_rephead(struct nfsrv_descript *); 226void nfsrvd_dorpc(struct nfsrv_descript *, int, NFSPROC_T *); 227 | 213void nfsrvd_rephead(struct nfsrv_descript *); 214void nfsrvd_dorpc(struct nfsrv_descript *, int, NFSPROC_T *); 215 |
228/* nfs_srvcache.c */ | 216/* nfs_nfsdcache.c */ |
229void nfsrvd_initcache(void); 230int nfsrvd_getcache(struct nfsrv_descript *, struct socket *); 231struct nfsrvcache *nfsrvd_updatecache(struct nfsrv_descript *, 232 struct socket *); 233void nfsrvd_sentcache(struct nfsrvcache *, struct socket *, int); 234void nfsrvd_cleancache(void); 235void nfsrvd_refcache(struct nfsrvcache *); 236void nfsrvd_derefcache(struct nfsrvcache *); 237void nfsrvd_delcache(struct nfsrvcache *); 238 | 217void nfsrvd_initcache(void); 218int nfsrvd_getcache(struct nfsrv_descript *, struct socket *); 219struct nfsrvcache *nfsrvd_updatecache(struct nfsrv_descript *, 220 struct socket *); 221void nfsrvd_sentcache(struct nfsrvcache *, struct socket *, int); 222void nfsrvd_cleancache(void); 223void nfsrvd_refcache(struct nfsrvcache *); 224void nfsrvd_derefcache(struct nfsrvcache *); 225void nfsrvd_delcache(struct nfsrvcache *); 226 |
239/* newnfs_subs.c */ | 227/* nfs_commonsubs.c */ |
240void newnfs_init(void); 241int nfsaddr_match(int, union nethostaddr *, NFSSOCKADDR_T); 242int nfsaddr2_match(NFSSOCKADDR_T, NFSSOCKADDR_T); 243int nfsm_strtom(struct nfsrv_descript *, const char *, int); 244int nfsm_mbufuio(struct nfsrv_descript *, struct uio *, int); 245int nfsm_fhtom(struct nfsrv_descript *, u_int8_t *, int, int); 246int nfsm_advance(struct nfsrv_descript *, int, int); 247void *nfsm_dissct(struct nfsrv_descript *, int); --- 12 unchanged lines hidden (view full) --- 260 struct nfsfsinfo *, NFSACL_T *, 261 int, int *, u_int32_t *, u_int32_t *, NFSPROC_T *, struct ucred *); 262int nfsv4_lock(struct nfsv4lock *, int, int *, void *); 263void nfsv4_unlock(struct nfsv4lock *, int); 264void nfsv4_relref(struct nfsv4lock *); 265void nfsv4_getref(struct nfsv4lock *, int *, void *); 266int nfsrv_mtostr(struct nfsrv_descript *, char *, int); 267int nfsrv_checkutf8(u_int8_t *, int); | 228void newnfs_init(void); 229int nfsaddr_match(int, union nethostaddr *, NFSSOCKADDR_T); 230int nfsaddr2_match(NFSSOCKADDR_T, NFSSOCKADDR_T); 231int nfsm_strtom(struct nfsrv_descript *, const char *, int); 232int nfsm_mbufuio(struct nfsrv_descript *, struct uio *, int); 233int nfsm_fhtom(struct nfsrv_descript *, u_int8_t *, int, int); 234int nfsm_advance(struct nfsrv_descript *, int, int); 235void *nfsm_dissct(struct nfsrv_descript *, int); --- 12 unchanged lines hidden (view full) --- 248 struct nfsfsinfo *, NFSACL_T *, 249 int, int *, u_int32_t *, u_int32_t *, NFSPROC_T *, struct ucred *); 250int nfsv4_lock(struct nfsv4lock *, int, int *, void *); 251void nfsv4_unlock(struct nfsv4lock *, int); 252void nfsv4_relref(struct nfsv4lock *); 253void nfsv4_getref(struct nfsv4lock *, int *, void *); 254int nfsrv_mtostr(struct nfsrv_descript *, char *, int); 255int nfsrv_checkutf8(u_int8_t *, int); |
256int newnfs_sndlock(int *); 257void newnfs_sndunlock(int *); |
|
268 | 258 |
269/* nfscl_subs.c */ | 259/* nfs_clcomsubs.c */ |
270void nfsm_uiombuf(struct nfsrv_descript *, struct uio *, int); 271void nfscl_reqstart(struct nfsrv_descript *, int, struct nfsmount *, 272 u_int8_t *, int, u_int32_t **); 273nfsuint64 *nfscl_getcookie(struct nfsnode *, off_t off, int); 274void nfscl_fillsattr(struct nfsrv_descript *, struct vattr *, 275 vnode_t, int, u_int32_t); 276u_int8_t *nfscl_getmyip(struct nfsmount *, int *); 277int nfsm_getfh(struct nfsrv_descript *, struct nfsfh **); 278int nfscl_mtofh(struct nfsrv_descript *, struct nfsfh **, 279 struct nfsvattr *, int *); 280int nfscl_postop_attr(struct nfsrv_descript *, struct nfsvattr *, int *, 281 void *); 282int nfscl_wcc_data(struct nfsrv_descript *, vnode_t, 283 struct nfsvattr *, int *, int *, void *); 284int nfsm_loadattr(struct nfsrv_descript *, struct nfsvattr *); 285int nfscl_request(struct nfsrv_descript *, vnode_t, 286 NFSPROC_T *, struct ucred *, void *); 287void nfsm_stateidtom(struct nfsrv_descript *, nfsv4stateid_t *, int); 288 | 260void nfsm_uiombuf(struct nfsrv_descript *, struct uio *, int); 261void nfscl_reqstart(struct nfsrv_descript *, int, struct nfsmount *, 262 u_int8_t *, int, u_int32_t **); 263nfsuint64 *nfscl_getcookie(struct nfsnode *, off_t off, int); 264void nfscl_fillsattr(struct nfsrv_descript *, struct vattr *, 265 vnode_t, int, u_int32_t); 266u_int8_t *nfscl_getmyip(struct nfsmount *, int *); 267int nfsm_getfh(struct nfsrv_descript *, struct nfsfh **); 268int nfscl_mtofh(struct nfsrv_descript *, struct nfsfh **, 269 struct nfsvattr *, int *); 270int nfscl_postop_attr(struct nfsrv_descript *, struct nfsvattr *, int *, 271 void *); 272int nfscl_wcc_data(struct nfsrv_descript *, vnode_t, 273 struct nfsvattr *, int *, int *, void *); 274int nfsm_loadattr(struct nfsrv_descript *, struct nfsvattr *); 275int nfscl_request(struct nfsrv_descript *, vnode_t, 276 NFSPROC_T *, struct ucred *, void *); 277void nfsm_stateidtom(struct nfsrv_descript *, nfsv4stateid_t *, int); 278 |
289/* nfsd_srvsubs.c */ | 279/* nfs_nfsdsubs.c */ |
290void nfsd_fhtovp(struct nfsrv_descript *, struct nfsrvfh *, 291 vnode_t *, struct nfsexstuff *, 292 mount_t *, int, NFSPROC_T *); 293int nfsd_excred(struct nfsrv_descript *, struct nfsexstuff *, struct ucred *); 294int nfsrv_mtofh(struct nfsrv_descript *, struct nfsrvfh *); 295int nfsrv_putattrbit(struct nfsrv_descript *, nfsattrbit_t *); 296void nfsrv_wcc(struct nfsrv_descript *, int, struct nfsvattr *, int, 297 struct nfsvattr *); --- 12 unchanged lines hidden (view full) --- 310void nfsrv_fixattr(struct nfsrv_descript *, vnode_t, 311 struct nfsvattr *, NFSACL_T *, NFSPROC_T *, nfsattrbit_t *, 312 struct nfsexstuff *); 313int nfsrv_errmoved(int); 314int nfsrv_putreferralattr(struct nfsrv_descript *, nfsattrbit_t *, 315 struct nfsreferral *, int, int *); 316int nfsrv_parsename(struct nfsrv_descript *, char *, u_long *, 317 NFSPATHLEN_T *); | 280void nfsd_fhtovp(struct nfsrv_descript *, struct nfsrvfh *, 281 vnode_t *, struct nfsexstuff *, 282 mount_t *, int, NFSPROC_T *); 283int nfsd_excred(struct nfsrv_descript *, struct nfsexstuff *, struct ucred *); 284int nfsrv_mtofh(struct nfsrv_descript *, struct nfsrvfh *); 285int nfsrv_putattrbit(struct nfsrv_descript *, nfsattrbit_t *); 286void nfsrv_wcc(struct nfsrv_descript *, int, struct nfsvattr *, int, 287 struct nfsvattr *); --- 12 unchanged lines hidden (view full) --- 300void nfsrv_fixattr(struct nfsrv_descript *, vnode_t, 301 struct nfsvattr *, NFSACL_T *, NFSPROC_T *, nfsattrbit_t *, 302 struct nfsexstuff *); 303int nfsrv_errmoved(int); 304int nfsrv_putreferralattr(struct nfsrv_descript *, nfsattrbit_t *, 305 struct nfsreferral *, int, int *); 306int nfsrv_parsename(struct nfsrv_descript *, char *, u_long *, 307 NFSPATHLEN_T *); |
318 319/* nfs_srvsyscalls.c */ | |
320void nfsd_init(void); 321 | 308void nfsd_init(void); 309 |
322/* nfs_vfsops.c */ | 310/* nfs_clvfsops.c */ |
323 | 311 |
324/* newnfs_port.c */ | 312/* nfs_commonport.c */ |
325int nfsrv_checksockseqnum(struct socket *, tcp_seq); 326int nfsrv_getsockseqnum(struct socket *, tcp_seq *); 327int nfsrv_getsocksndseq(struct socket *, tcp_seq *, tcp_seq *); 328int nfsrv_lookupfilename(struct nameidata *, char *, NFSPROC_T *); 329void nfsrv_object_create(vnode_t, NFSPROC_T *); 330int nfsrv_mallocmget_limit(void); 331int nfsvno_v4rootexport(struct nfsrv_descript *); 332void newnfs_portinit(void); 333struct ucred *newnfs_getcred(void); 334void newnfs_setroot(struct ucred *); 335int nfs_catnap(int, const char *); 336struct nfsreferral *nfsv4root_getreferral(vnode_t, vnode_t, u_int32_t); 337int nfsrv_atroot(vnode_t, long *); | 313int nfsrv_checksockseqnum(struct socket *, tcp_seq); 314int nfsrv_getsockseqnum(struct socket *, tcp_seq *); 315int nfsrv_getsocksndseq(struct socket *, tcp_seq *, tcp_seq *); 316int nfsrv_lookupfilename(struct nameidata *, char *, NFSPROC_T *); 317void nfsrv_object_create(vnode_t, NFSPROC_T *); 318int nfsrv_mallocmget_limit(void); 319int nfsvno_v4rootexport(struct nfsrv_descript *); 320void newnfs_portinit(void); 321struct ucred *newnfs_getcred(void); 322void newnfs_setroot(struct ucred *); 323int nfs_catnap(int, const char *); 324struct nfsreferral *nfsv4root_getreferral(vnode_t, vnode_t, u_int32_t); 325int nfsrv_atroot(vnode_t, long *); |
326void newnfs_timer(void *); |
|
338 | 327 |
339/* newnfs_acl.c */ | 328/* nfs_commonacl.c */ |
340int nfsrv_dissectace(struct nfsrv_descript *, struct acl_entry *, 341 int *, int *, NFSPROC_T *); 342#ifdef NFS4_ACL_EXTATTR_NAME 343int nfsrv_buildacl(struct nfsrv_descript *, NFSACL_T *, enum vtype, 344 NFSPROC_T *); 345int nfsrv_aclaccess(vnode_t, accmode_t, u_int32_t, struct ucred *, 346 NFSPROC_T *); 347int nfsrv_setacl(vnode_t, NFSACL_T *, struct ucred *, 348 NFSPROC_T *); 349int nfsrv_compareacl(NFSACL_T *, NFSACL_T *); 350#endif 351 | 329int nfsrv_dissectace(struct nfsrv_descript *, struct acl_entry *, 330 int *, int *, NFSPROC_T *); 331#ifdef NFS4_ACL_EXTATTR_NAME 332int nfsrv_buildacl(struct nfsrv_descript *, NFSACL_T *, enum vtype, 333 NFSPROC_T *); 334int nfsrv_aclaccess(vnode_t, accmode_t, u_int32_t, struct ucred *, 335 NFSPROC_T *); 336int nfsrv_setacl(vnode_t, NFSACL_T *, struct ucred *, 337 NFSPROC_T *); 338int nfsrv_compareacl(NFSACL_T *, NFSACL_T *); 339#endif 340 |
352/* nfscl_rpcops.c */ | 341/* nfs_clrpcops.c */ |
353int nfsrpc_null(vnode_t, struct ucred *, NFSPROC_T *); 354int nfsrpc_access(vnode_t, int, struct ucred *, NFSPROC_T *, 355 struct nfsvattr *, int *); 356int nfsrpc_accessrpc(vnode_t, u_int32_t, struct ucred *, 357 NFSPROC_T *, struct nfsvattr *, int *, u_int32_t *, void *); 358int nfsrpc_open(vnode_t, int, struct ucred *, NFSPROC_T *); 359int nfsrpc_openrpc(struct nfsmount *, vnode_t, u_int8_t *, int, u_int8_t *, int, 360 u_int32_t, struct nfsclopen *, u_int8_t *, int, struct nfscldeleg **, int, --- 70 unchanged lines hidden (view full) --- 431 struct ucred *, NFSPROC_T *); 432int nfsrpc_getdirpath(struct nfsmount *, u_char *, struct ucred *, 433 NFSPROC_T *); 434int nfsrpc_delegreturn(struct nfscldeleg *, struct ucred *, 435 struct nfsmount *, NFSPROC_T *, int); 436int nfsrpc_getacl(vnode_t, struct ucred *, NFSPROC_T *, NFSACL_T *, void *); 437int nfsrpc_setacl(vnode_t, struct ucred *, NFSPROC_T *, NFSACL_T *, void *); 438 | 342int nfsrpc_null(vnode_t, struct ucred *, NFSPROC_T *); 343int nfsrpc_access(vnode_t, int, struct ucred *, NFSPROC_T *, 344 struct nfsvattr *, int *); 345int nfsrpc_accessrpc(vnode_t, u_int32_t, struct ucred *, 346 NFSPROC_T *, struct nfsvattr *, int *, u_int32_t *, void *); 347int nfsrpc_open(vnode_t, int, struct ucred *, NFSPROC_T *); 348int nfsrpc_openrpc(struct nfsmount *, vnode_t, u_int8_t *, int, u_int8_t *, int, 349 u_int32_t, struct nfsclopen *, u_int8_t *, int, struct nfscldeleg **, int, --- 70 unchanged lines hidden (view full) --- 420 struct ucred *, NFSPROC_T *); 421int nfsrpc_getdirpath(struct nfsmount *, u_char *, struct ucred *, 422 NFSPROC_T *); 423int nfsrpc_delegreturn(struct nfscldeleg *, struct ucred *, 424 struct nfsmount *, NFSPROC_T *, int); 425int nfsrpc_getacl(vnode_t, struct ucred *, NFSPROC_T *, NFSACL_T *, void *); 426int nfsrpc_setacl(vnode_t, struct ucred *, NFSPROC_T *, NFSACL_T *, void *); 427 |
439/* nfscl_state.c */ | 428/* nfs_clstate.c */ |
440int nfscl_open(vnode_t, u_int8_t *, int, u_int32_t, int, 441 struct ucred *, NFSPROC_T *, struct nfsclowner **, struct nfsclopen **, 442 int *, int *, int); 443int nfscl_getstateid(vnode_t, u_int8_t *, int, u_int32_t, struct ucred *, 444 NFSPROC_T *, nfsv4stateid_t *, void **); 445void nfscl_ownerrelease(struct nfsclowner *, int, int, int); 446void nfscl_openrelease(struct nfsclopen *, int, int); 447int nfscl_getcl(vnode_t, struct ucred *, NFSPROC_T *, --- 41 unchanged lines hidden (view full) --- 489void nfscl_reclaimnode(vnode_t); 490void nfscl_newnode(vnode_t); 491void nfscl_delegmodtime(vnode_t); 492void nfscl_deleggetmodtime(vnode_t, struct timespec *); 493int nfscl_tryclose(struct nfsclopen *, struct ucred *, 494 struct nfsmount *, NFSPROC_T *); 495void nfscl_cleanup(NFSPROC_T *); 496 | 429int nfscl_open(vnode_t, u_int8_t *, int, u_int32_t, int, 430 struct ucred *, NFSPROC_T *, struct nfsclowner **, struct nfsclopen **, 431 int *, int *, int); 432int nfscl_getstateid(vnode_t, u_int8_t *, int, u_int32_t, struct ucred *, 433 NFSPROC_T *, nfsv4stateid_t *, void **); 434void nfscl_ownerrelease(struct nfsclowner *, int, int, int); 435void nfscl_openrelease(struct nfsclopen *, int, int); 436int nfscl_getcl(vnode_t, struct ucred *, NFSPROC_T *, --- 41 unchanged lines hidden (view full) --- 478void nfscl_reclaimnode(vnode_t); 479void nfscl_newnode(vnode_t); 480void nfscl_delegmodtime(vnode_t); 481void nfscl_deleggetmodtime(vnode_t, struct timespec *); 482int nfscl_tryclose(struct nfsclopen *, struct ucred *, 483 struct nfsmount *, NFSPROC_T *); 484void nfscl_cleanup(NFSPROC_T *); 485 |
497/* nfscl_port.c */ | 486/* nfs_clport.c */ |
498int nfscl_nget(mount_t, vnode_t, struct nfsfh *, 499 struct componentname *, NFSPROC_T *, struct nfsnode **, void *); 500NFSPROC_T *nfscl_getparent(NFSPROC_T *); 501void nfscl_start_renewthread(struct nfsclclient *); 502void nfscl_loadsbinfo(struct nfsmount *, struct nfsstatfs *, void *); 503void nfscl_loadfsinfo (struct nfsmount *, struct nfsfsinfo *); 504void nfscl_delegreturn(struct nfscldeleg *, int, struct nfsmount *, 505 struct ucred *, NFSPROC_T *); 506void nfsrvd_cbinit(int); 507int nfscl_checksattr(struct vattr *, struct nfsvattr *); 508int nfscl_ngetreopen(mount_t, u_int8_t *, int, NFSPROC_T *, 509 struct nfsnode **); 510int nfscl_procdoesntexist(u_int8_t *); 511int nfscl_maperr(NFSPROC_T *, int, uid_t, gid_t); 512 | 487int nfscl_nget(mount_t, vnode_t, struct nfsfh *, 488 struct componentname *, NFSPROC_T *, struct nfsnode **, void *); 489NFSPROC_T *nfscl_getparent(NFSPROC_T *); 490void nfscl_start_renewthread(struct nfsclclient *); 491void nfscl_loadsbinfo(struct nfsmount *, struct nfsstatfs *, void *); 492void nfscl_loadfsinfo (struct nfsmount *, struct nfsfsinfo *); 493void nfscl_delegreturn(struct nfscldeleg *, int, struct nfsmount *, 494 struct ucred *, NFSPROC_T *); 495void nfsrvd_cbinit(int); 496int nfscl_checksattr(struct vattr *, struct nfsvattr *); 497int nfscl_ngetreopen(mount_t, u_int8_t *, int, NFSPROC_T *, 498 struct nfsnode **); 499int nfscl_procdoesntexist(u_int8_t *); 500int nfscl_maperr(NFSPROC_T *, int, uid_t, gid_t); 501 |
513/* nfsclient/ncl_subs.c */ | 502/* nfs_clsubs.c */ |
514void nfscl_init(void); 515 | 503void nfscl_init(void); 504 |
516/* nfsclient/ncl_bio.c */ | 505/* nfs_clbio.c */ |
517int ncl_flush(vnode_t, int, struct ucred *, NFSPROC_T *, int); 518 | 506int ncl_flush(vnode_t, int, struct ucred *, NFSPROC_T *, int); 507 |
519/* nfsclient/ncl_node.c */ | 508/* nfs_clnode.c */ |
520void ncl_invalcaches(vnode_t); 521 | 509void ncl_invalcaches(vnode_t); 510 |
522/* nfsd/nfsd_port.c */ | 511/* nfs_nfsdport.c */ |
523int nfsvno_getattr(vnode_t, struct nfsvattr *, struct ucred *, 524 NFSPROC_T *); 525int nfsvno_setattr(vnode_t, struct nfsvattr *, struct ucred *, 526 NFSPROC_T *, struct nfsexstuff *); 527int nfsvno_getfh(vnode_t, fhandle_t *, NFSPROC_T *); 528int nfsvno_accchk(vnode_t, u_int32_t, struct ucred *, 529 struct nfsexstuff *, NFSPROC_T *, int, int); 530int nfsvno_namei(struct nfsrv_descript *, struct nameidata *, --- 51 unchanged lines hidden (view full) --- 582vnode_t nfsvno_getvp(fhandle_t *); 583int nfsvno_localconflict(vnode_t, int, u_int64_t, u_int64_t, 584 struct nfslockconflict *, NFSPROC_T *); 585int nfsvno_advlock(vnode_t, int, u_int64_t, u_int64_t, NFSPROC_T *); 586void nfsvno_unlockvfs(mount_t); 587int nfsvno_lockvfs(mount_t); 588int nfsrv_v4rootexport(void *, struct ucred *, NFSPROC_T *); 589 | 512int nfsvno_getattr(vnode_t, struct nfsvattr *, struct ucred *, 513 NFSPROC_T *); 514int nfsvno_setattr(vnode_t, struct nfsvattr *, struct ucred *, 515 NFSPROC_T *, struct nfsexstuff *); 516int nfsvno_getfh(vnode_t, fhandle_t *, NFSPROC_T *); 517int nfsvno_accchk(vnode_t, u_int32_t, struct ucred *, 518 struct nfsexstuff *, NFSPROC_T *, int, int); 519int nfsvno_namei(struct nfsrv_descript *, struct nameidata *, --- 51 unchanged lines hidden (view full) --- 571vnode_t nfsvno_getvp(fhandle_t *); 572int nfsvno_localconflict(vnode_t, int, u_int64_t, u_int64_t, 573 struct nfslockconflict *, NFSPROC_T *); 574int nfsvno_advlock(vnode_t, int, u_int64_t, u_int64_t, NFSPROC_T *); 575void nfsvno_unlockvfs(mount_t); 576int nfsvno_lockvfs(mount_t); 577int nfsrv_v4rootexport(void *, struct ucred *, NFSPROC_T *); 578 |
590/* newnfs_krpc.c */ | 579/* nfs_commonkrpc.c */ |
591int newnfs_nmcancelreqs(struct nfsmount *); 592void newnfs_set_sigmask(struct thread *, sigset_t *); 593void newnfs_restore_sigmask(struct thread *, sigset_t *); 594int newnfs_msleep(struct thread *, void *, struct mtx *, int, char *, int); | 580int newnfs_nmcancelreqs(struct nfsmount *); 581void newnfs_set_sigmask(struct thread *, sigset_t *); 582void newnfs_restore_sigmask(struct thread *, sigset_t *); 583int newnfs_msleep(struct thread *, void *, struct mtx *, int, char *, int); |
584int newnfs_request(struct nfsrv_descript *, struct nfsmount *, 585 struct nfsclient *, struct nfssockreq *, vnode_t, NFSPROC_T *, 586 struct ucred *, u_int32_t, u_int32_t, u_char *, int, u_int64_t *); 587int newnfs_connect(struct nfsmount *, struct nfssockreq *, 588 struct ucred *, NFSPROC_T *, int); 589void newnfs_disconnect(struct nfssockreq *); 590int newnfs_sigintr(struct nfsmount *, NFSPROC_T *); |
|
595 | 591 |
596/* nfsd_srvkrpc.c */ | 592/* nfs_nfsdkrpc.c */ |
597int nfsrvd_addsock(struct file *); 598int nfsrvd_nfsd(NFSPROC_T *, struct nfsd_nfsd_args *); 599void nfsrvd_init(int); 600 | 593int nfsrvd_addsock(struct file *); 594int nfsrvd_nfsd(NFSPROC_T *, struct nfsd_nfsd_args *); 595void nfsrvd_init(int); 596 |
601/* nfscl_srvkrpc.c */ | 597/* nfs_clkrpc.c */ |
602int nfscbd_addsock(struct file *); 603int nfscbd_nfsd(NFSPROC_T *, struct nfsd_nfscbd_args *); 604 | 598int nfscbd_addsock(struct file *); 599int nfscbd_nfsd(NFSPROC_T *, struct nfsd_nfscbd_args *); 600 |