/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdsocket.c | 63 int (*nfsrv3_procs0[NFS_V3NPROCS])(struct nfsrv_descript *, 65 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 68 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 74 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 75 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 76 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 79 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 80 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 89 int (*nfsrv3_procs1[NFS_V3NPROCS])(struct nfsrv_descript *, 91 (int (*)(struct nfsrv_descript *, int, vnode_t , vnode_t *, fhandle_t *, struct nfsexstuff *))0, [all …]
|
H A D | nfs_nfsdserv.c | 115 static void nfsrvd_symlinksub(struct nfsrv_descript *nd, struct nameidata *ndp, 121 static void nfsrvd_mkdirsub(struct nfsrv_descript *nd, struct nameidata *ndp, 131 nfsrvd_access(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_access() 238 nfsrvd_getattr(struct nfsrv_descript *nd, int isdgram, in nfsrvd_getattr() 365 nfsrvd_setattr(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_setattr() 588 nfsrvd_lookup(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_lookup() 693 nfsrvd_readlink(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_readlink() 754 nfsrvd_read(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_read() 964 nfsrvd_write(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_write() 1146 nfsrvd_create(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_create() [all …]
|
H A D | nfs_nfsdsubs.c | 1374 nfsrv_wcc(struct nfsrv_descript *nd, int before_ret, in nfsrv_wcc() 1395 nfsrv_postopattr(struct nfsrv_descript *nd, int after_ret, in nfsrv_postopattr() 1414 nfsrv_fillattr(struct nfsrv_descript *nd, struct nfsvattr *nvap) in nfsrv_fillattr() 1473 nfsrv_mtofh(struct nfsrv_descript *nd, struct nfsrvfh *fhp) in nfsrv_mtofh() 1542 nfsd_errmap(struct nfsrv_descript *nd) in nfsd_errmap() 1602 nfsrv_checkuidgid(struct nfsrv_descript *nd, struct nfsvattr *nvap) in nfsrv_checkuidgid() 1637 nfsrv_fixattr(struct nfsrv_descript *nd, vnode_t vp, in nfsrv_fixattr() 1762 nfsrv_putreferralattr(struct nfsrv_descript *nd, nfsattrbit_t *retbitp, in nfsrv_putreferralattr() 1880 nfsrv_parsename(struct nfsrv_descript *nd, char *bufp, u_long *hashp, in nfsrv_parsename() 2118 nfsd_checkrootexp(struct nfsrv_descript *nd) in nfsd_checkrootexp() [all …]
|
H A D | nfs_nfsdcache.c | 281 static int nfsrc_getudp(struct nfsrv_descript *nd, struct nfsrvcache *newrp); 282 static int nfsrc_gettcp(struct nfsrv_descript *nd, struct nfsrvcache *newrp); 337 nfsrvd_getcache(struct nfsrv_descript *nd) in nfsrvd_getcache() 375 nfsrc_getudp(struct nfsrv_descript *nd, struct nfsrvcache *newrp) in nfsrc_getudp() 464 nfsrvd_updatecache(struct nfsrv_descript *nd) in nfsrvd_updatecache() 610 nfsrc_gettcp(struct nfsrv_descript *nd, struct nfsrvcache *newrp) in nfsrc_gettcp()
|
H A D | nfs_nfsdstate.c | 166 static int nfsrv_checkgrace(struct nfsrv_descript *nd, struct nfsclient *clp, 171 static int nfsrv_cbcallargs(struct nfsrv_descript *nd, struct nfsclient *clp, 185 static int nfsrv_notsamecredname(int op, struct nfsrv_descript *nd, 189 static int nfsrv_checkseqid(struct nfsrv_descript *nd, u_int32_t seqid, 206 static int nfsrv_freesession(struct nfsrv_descript *nd, struct nfsdsession *sep, 208 static int nfsv4_setcbsequence(struct nfsrv_descript *nd, struct nfsclient *clp, 211 static int nfsrv_addlayout(struct nfsrv_descript *nd, struct nfslayout **lypp, 224 static void nfsrv_flexlayouterr(struct nfsrv_descript *nd, uint32_t *layp, 232 static struct nfslayout *nfsrv_filelayout(struct nfsrv_descript *nd, int iomode, 234 static struct nfslayout *nfsrv_flexlayout(struct nfsrv_descript *nd, int iomode, [all …]
|
H A D | nfs_nfsdkrpc.c | 100 static int nfs_proc(struct nfsrv_descript *, u_int32_t, SVCXPRT *xprt, 126 struct nfsrv_descript nd; in nfssvc_program() 411 nfs_proc(struct nfsrv_descript *nd, u_int32_t xid, SVCXPRT *xprt, in nfs_proc()
|
H A D | nfs_nfsdport.c | 403 struct nfsrv_descript *nd, struct thread *p, int vpislocked, in nfsvno_getattr() 643 nfsvno_namei(struct nfsrv_descript *nd, struct nameidata *ndp, in nfsvno_namei() 1209 nfsvno_createsub(struct nfsrv_descript *nd, struct nameidata *ndp, in nfsvno_createsub() 1443 nfsvno_getsymlink(struct nfsrv_descript *nd, struct nfsvattr *nvap, in nfsvno_getsymlink() 1878 nfsvno_open(struct nfsrv_descript *nd, struct nameidata *ndp, in nfsvno_open() 2001 struct nfsrv_descript *nd, struct thread *p) in nfsvno_updfilerev() 2021 nfsvno_fillattr(struct nfsrv_descript *nd, struct mount *mp, struct vnode *vp, in nfsvno_fillattr() 2074 nfsrvd_readdir(struct nfsrv_descript *nd, int isdgram, in nfsrvd_readdir() 2331 nfsrvd_readdirplus(struct nfsrv_descript *nd, int isdgram, in nfsrvd_readdirplus() 2912 nfsrv_sattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nvap, in nfsrv_sattr() [all …]
|
H A D | nfs_fha_new.c | 156 struct nfsrv_descript lnd, *nd; in fhanew_get_fh() 216 struct nfsrv_descript lnd, *nd; in fhanew_get_offset()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_var.h | 58 struct nfsrv_descript; 96 int nfsrv_setclient(struct nfsrv_descript *, struct nfsclient **, 99 nfsquad_t, uint32_t, struct nfsrv_descript *, NFSPROC_T *); 100 int nfsrv_destroyclient(struct nfsrv_descript *, nfsquad_t, NFSPROC_T *); 101 int nfsrv_destroysession(struct nfsrv_descript *, uint8_t *); 102 int nfsrv_bindconnsess(struct nfsrv_descript *, uint8_t *, int *); 103 int nfsrv_freestateid(struct nfsrv_descript *, nfsv4stateid_t *, NFSPROC_T *); 104 int nfsrv_teststateid(struct nfsrv_descript *, nfsv4stateid_t *, NFSPROC_T *); 110 struct nfsexstuff *, struct nfsrv_descript *, NFSPROC_T *); 111 int nfsrv_openctrl(struct nfsrv_descript *, vnode_ [all...] |
H A D | nfsm_subs.h | 58 nfsm_build(struct nfsrv_descript *nd, int siz) in nfsm_build() 94 nfsm_dissect(struct nfsrv_descript *nd, int siz) in nfsm_dissect() 110 nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz) in nfsm_dissect_nonblock()
|
H A D | nfs_commonacl.c | 42 nfsrv_dissectace(struct nfsrv_descript *nd, struct acl_entry *acep, in nfsrv_dissectace() 278 static int nfsrv_buildace(struct nfsrv_descript *, u_char *, int, 285 nfsrv_buildace(struct nfsrv_descript *nd, u_char *name, int namelen, in nfsrv_buildace() 394 nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *aclp, __enum_uint8(vtype) type, in nfsrv_buildacl()
|
H A D | nfs_commonsubs.c | 225 static int nfsrv_skipace(struct nfsrv_descript *nd, int *acesizep); 231 static int nfsrv_getrefstr(struct nfsrv_descript *, u_char **, u_char **, 328 nfscl_reqstart(struct nfsrv_descript *nd, int procnum, struct nfsmount *nmp, in nfscl_reqstart() 484 nfsm_stateidtom(struct nfsrv_descript *nd, nfsv4stateid_t *stateidp, int flag) in nfsm_stateidtom() 517 nfscl_fillsattr(struct nfsrv_descript *nd, struct vattr *vap, in nfscl_fillsattr() 653 nfsm_mbufuio(struct nfsrv_descript *nd, struct uio *uiop, int siz) in nfsm_mbufuio() 733 nfsm_dissct(struct nfsrv_descript *nd, int siz, int how) in nfsm_dissct() 799 nfsm_advance(struct nfsrv_descript *nd, int offs, int left) in nfsm_advance() 847 nfsm_strtom(struct nfsrv_descript *nd, const char *cp, int siz) in nfsm_strtom() 962 nfsm_fhtom(struct nfsmount *nmp, struct nfsrv_descript *nd, u_int8_t *fhp, in nfsm_fhtom() [all …]
|
H A D | nfs.h | 682 struct nfsrv_descript { struct
|
H A D | nfs_commonkrpc.c | 668 newnfs_request(struct nfsrv_descript *nd, struct nfsmount *nmp, in newnfs_request()
|
/freebsd/sys/nfsserver/ |
H A D | nfs.h | 140 struct nfsrv_descript; 164 extern int32_t (*nfsrv3_procs[NFS_NPROCS])(struct nfsrv_descript *nd, 180 struct nfsrv_descript { struct 247 struct mbuf *nfs_rephead(int, struct nfsrv_descript *, int, struct mbuf **, 249 void nfsm_srvfattr(struct nfsrv_descript *, struct vattr *, 251 void nfsm_srvwcc(struct nfsrv_descript *, int, struct vattr *, int, 253 void nfsm_srvpostopattr(struct nfsrv_descript *, int, struct vattr *, 255 int nfs_namei(struct nameidata *, struct nfsrv_descript *, fhandle_t *, 261 int nfsrv_errmap(struct nfsrv_descript *, int); 264 int nfsrv3_access(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, [all …]
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clkrpc.c | 51 static int nfs_cbproc(struct nfsrv_descript *, u_int32_t); 67 struct nfsrv_descript nd; in nfscb_program() 161 nfs_cbproc(struct nfsrv_descript *nd, u_int32_t xid) in nfs_cbproc()
|
H A D | nfs_clrpcops.c | 146 static int nfsrpc_locku(struct nfsrv_descript *, struct nfsmount *, 197 static void nfsrv_setuplayoutget(struct nfsrv_descript *, int, uint64_t, 199 static int nfsrv_parseug(struct nfsrv_descript *, int, uid_t *, gid_t *, 201 static int nfsrv_parselayoutget(struct nfsmount *, struct nfsrv_descript *, 242 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_null() 306 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_accessrpc() 548 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_openrpc() 779 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_opendowngrade() 842 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_doclose() 947 nfsrpc_closerpc(struct nfsrv_descript *nd, struct nfsmount *nmp, in nfsrpc_closerpc() [all …]
|
H A D | nfs_clcomsubs.c | 55 nfsm_uiombuf(struct nfsrv_descript *nd, struct uio *uiop, int siz) in nfsm_uiombuf() 267 nfsm_loadattr(struct nfsrv_descript *nd, struct nfsvattr *nap) in nfsm_loadattr() 340 nfscl_mtofh(struct nfsrv_descript *nd, struct nfsfh **nfhpp, in nfscl_mtofh()
|
H A D | nfs_clport.c | 800 nfscl_wcc_data(struct nfsrv_descript *nd, struct vnode *vp, in nfscl_wcc_data() 860 nfscl_postop_attr(struct nfsrv_descript *nd, struct nfsvattr *nap, int *retp) in nfscl_postop_attr() 901 nfscl_request(struct nfsrv_descript *nd, struct vnode *vp, NFSPROC_T *p, in nfscl_request()
|
H A D | nfs_clstate.c | 157 static int nfscl_errmap(struct nfsrv_descript *, u_int32_t); 3551 nfscl_docb(struct nfsrv_descript *nd, NFSPROC_T *p) in nfscl_docb() 4555 struct nfsrv_descript nfsd, *nd = &nfsd; in nfscl_trylock() 4620 struct nfsrv_descript nfsd, *nd = &nfsd; in nfscl_tryclose() 5173 nfscl_errmap(struct nfsrv_descript *nd, u_int32_t minorvers) in nfscl_errmap()
|