| /freebsd-src/sys/nlm/ |
| H A D | nlm_advlock.c | 78 int svid, size_t fhlen, void *fh, off_t size, bool_t reclaim); 82 int svid, size_t fhlen, void *fh, off_t size); 86 int svid, size_t fhlen, void *fh, off_t size); 91 rpcvers_t vers, size_t fhlen, void *fh, off_t size, 200 size_t fhlen; in nlm_advlock_internal() local 231 nmp->nm_getinfo(vp, fh.fh_bytes, &fhlen, &ss, &is_v3, &size, &timo); in nlm_advlock_internal() 308 svid, fhlen, &fh.fh_bytes, size, reclaim); in nlm_advlock_internal() 313 svid, fhlen, &fh.fh_bytes, size); in nlm_advlock_internal() 325 flags, svid, fhlen, &fh.fh_bytes, in nlm_advlock_internal() 331 vp, op, fl, flags, svid, fhlen, &fh.fh_bytes, in nlm_advlock_internal() [all …]
|
| /freebsd-src/sys/fs/nfsclient/ |
| H A D | nfs_clstate.c | 216 nfscl_open(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t amode, int usedeleg, in nfscl_open() argument 243 fhlen - 1, M_NFSCLOPEN, M_WAITOK); in nfscl_open() 263 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) { in nfscl_open() 264 if (dp->nfsdl_fhlen == fhlen && in nfscl_open() 265 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) { in nfscl_open() 293 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen, in nfscl_open() 352 struct nfsclopen **nopp, u_int8_t *own, u_int8_t *fhp, int fhlen, in nfscl_newopen() argument 390 if (op->nfso_fhlen == fhlen && in nfscl_newopen() 391 !NFSBCMP(op->nfso_fh, fhp, fhlen)) in nfscl_newopen() 399 nop->nfso_fhlen = fhlen; in nfscl_newopen() 435 nfscl_deleg(mount_t mp,struct nfsclclient * clp,u_int8_t * nfhp,int fhlen,struct ucred * cred,NFSPROC_T * p,struct nfscldeleg ** dpp) nfscl_deleg() argument 505 nfscl_finddeleg(struct nfsclclient * clp,u_int8_t * fhp,int fhlen) nfscl_finddeleg() argument 523 nfscl_getstateid(vnode_t vp,u_int8_t * nfhp,int fhlen,u_int32_t mode,int fords,struct ucred * cred,NFSPROC_T * p,nfsv4stateid_t * stateidp,void ** lckpp) nfscl_getstateid() argument 716 nfscl_getopen(struct nfsclownerhead * ohp,struct nfsclopenhash * ohashp,u_int8_t * nfhp,int fhlen,u_int8_t * openown,u_int8_t * lockown,u_int32_t mode,struct nfscllockowner ** lpp,struct nfsclopen ** opp) nfscl_getopen() argument 4111 nfscl_localconflict(struct nfsclclient * clp,u_int8_t * fhp,int fhlen,struct nfscllock * nlop,u_int8_t * own,struct nfscldeleg * dp,struct nfscllock ** lopp) nfscl_localconflict() argument 4481 nfsrpc_reopen(struct nfsmount * nmp,u_int8_t * fhp,int fhlen,u_int32_t mode,struct nfsclopen * op,struct nfscldeleg ** dpp,struct ucred * cred,NFSPROC_T * p) nfsrpc_reopen() argument 4513 nfscl_tryopen(struct nfsmount * nmp,vnode_t vp,u_int8_t * fhp,int fhlen,u_int8_t * newfhp,int newfhlen,u_int32_t mode,struct nfsclopen * op,u_int8_t * name,int namelen,struct nfscldeleg ** ndpp,int reclaim,u_int32_t delegtype,struct ucred * cred,NFSPROC_T * p) nfscl_tryopen() argument 4552 nfscl_trylock(struct nfsmount * nmp,vnode_t vp,u_int8_t * fhp,int fhlen,struct nfscllockowner * nlp,int newone,int reclaim,u_int64_t off,u_int64_t len,short type,struct ucred * cred,NFSPROC_T * p) nfscl_trylock() argument 5209 nfscl_layout(struct nfsmount * nmp,vnode_t vp,u_int8_t * fhp,int fhlen,nfsv4stateid_t * stateidp,int layouttype,int retonclose,struct nfsclflayouthead * fhlp,struct nfscllayout ** lypp,struct ucred * cred,NFSPROC_T * p) nfscl_layout() argument 5319 nfscl_getlayout(struct nfsclclient * clp,uint8_t * fhp,int fhlen,uint64_t off,uint32_t rwaccess,struct nfsclflayout ** retflpp,int * recalledp) nfscl_getlayout() argument 5368 nfscl_retoncloselayout(vnode_t vp,struct nfsclclient * clp,uint8_t * fhp,int fhlen,struct nfsclrecalllayout ** recallpp,struct nfscllayout ** lypp) nfscl_retoncloselayout() argument 5526 nfscl_findlayout(struct nfsclclient * clp,u_int8_t * fhp,int fhlen) nfscl_findlayout() argument [all...] |
| H A D | nfs_clrpcops.c | 541 nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, in nfsrpc_openrpc() 558 nfscl_reqstart(nd, NFSPROC_OPEN, nmp, nfhp, fhlen, NULL, NULL, 0, 0, in nfsrpc_openrpc() 740 ret = nfsrpc_openrpc(nmp, vp, nfhp, fhlen, newfhp, in nfsrpc_openrpc() 989 nfsrpc_openconfirm(vnode_t vp, u_int8_t *nfhp, int fhlen, in nfsrpc_openconfirm() 1000 nfscl_reqstart(nd, NFSPROC_OPENCONFIRM, nmp, nfhp, fhlen, NULL, NULL, in nfsrpc_openconfirm() 1329 nfsrpc_getattrnovp(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, int syscred, in nfsrpc_getattrnovp() 1337 nfscl_reqstart(nd, NFSPROC_GETATTR, nmp, fhp, fhlen, NULL, NULL, 0, 0, in nfsrpc_getattrnovp() 4764 u_int8_t *nfhp, int fhlen, struct nfscllockowner *lp, int newone, in nfsrpc_statfs() 4773 nfscl_reqstart(nd, NFSPROC_LOCK, nmp, nfhp, fhlen, NULL, NULL, 0, 0, in nfsrpc_statfs() 4802 NFSBCOPY(nfhp, &own[NFSV4CL_LOCKNAMELEN], fhlen); in nfsrpc_statfs() 540 nfsrpc_openrpc(struct nfsmount * nmp,vnode_t vp,u_int8_t * nfhp,int fhlen,u_int8_t * newfhp,int newfhlen,u_int32_t mode,struct nfsclopen * op,u_int8_t * name,int namelen,struct nfscldeleg ** dpp,int reclaim,u_int32_t delegtype,struct ucred * cred,NFSPROC_T * p,int syscred,int recursed) nfsrpc_openrpc() argument 988 nfsrpc_openconfirm(vnode_t vp,u_int8_t * nfhp,int fhlen,struct nfsclopen * op,struct ucred * cred,NFSPROC_T * p) nfsrpc_openconfirm() argument 1328 nfsrpc_getattrnovp(struct nfsmount * nmp,u_int8_t * fhp,int fhlen,int syscred,struct ucred * cred,NFSPROC_T * p,struct nfsvattr * nap,u_int64_t * xidp,uint32_t * leasep) nfsrpc_getattrnovp() argument 4674 nfsrpc_lock(struct nfsrv_descript * nd,struct nfsmount * nmp,vnode_t vp,u_int8_t * nfhp,int fhlen,struct nfscllockowner * lp,int newone,int reclaim,u_int64_t off,u_int64_t len,short type,struct ucred * cred,NFSPROC_T * p,int syscred) nfsrpc_lock() argument 5011 nfsrpc_rellockown(struct nfsmount * nmp,struct nfscllockowner * lp,uint8_t * fh,int fhlen,struct ucred * cred,NFSPROC_T * p) nfsrpc_rellockown() argument 5492 nfsrpc_layoutget(struct nfsmount * nmp,uint8_t * fhp,int fhlen,int iomode,uint64_t offset,uint64_t len,uint64_t minlen,int layouttype,int layoutlen,nfsv4stateid_t * stateidp,int * retonclosep,struct nfsclflayouthead * flhp,struct ucred * cred,NFSPROC_T * p) nfsrpc_layoutget() argument 5757 nfsrpc_layoutcommit(struct nfsmount * nmp,uint8_t * fh,int fhlen,int reclaim,uint64_t off,uint64_t len,uint64_t lastbyte,nfsv4stateid_t * stateidp,int layouttype,struct ucred * cred,NFSPROC_T * p) nfsrpc_layoutcommit() argument 5806 nfsrpc_layoutreturn(struct nfsmount * nmp,uint8_t * fh,int fhlen,int reclaim,int layouttype,uint32_t iomode,int layoutreturn,uint64_t offset,uint64_t len,nfsv4stateid_t * stateidp,struct ucred * cred,NFSPROC_T * p,uint32_t stat,uint32_t op,char * devid) nfsrpc_layoutreturn() argument 5894 nfsrpc_layouterror(struct nfsmount * nmp,uint8_t * fh,int fhlen,uint64_t offset,uint64_t len,nfsv4stateid_t * stateidp,struct ucred * cred,NFSPROC_T * p,uint32_t stat,uint32_t op,char * devid) nfsrpc_layouterror() argument 8060 nfsrpc_getopenlayout(struct nfsmount * nmp,vnode_t vp,u_int8_t * nfhp,int fhlen,uint8_t * newfhp,int newfhlen,uint32_t mode,struct nfsclopen * op,uint8_t * name,int namelen,struct nfscldeleg ** dpp,struct ucred * cred,NFSPROC_T * p) nfsrpc_getopenlayout() argument 8133 nfsrpc_openlayoutrpc(struct nfsmount * nmp,vnode_t vp,u_int8_t * nfhp,int fhlen,uint8_t * newfhp,int newfhlen,uint32_t mode,struct nfsclopen * op,uint8_t * name,int namelen,struct nfscldeleg ** dpp,nfsv4stateid_t * stateidp,int usecurstateid,int layouttype,int layoutlen,int * retonclosep,struct nfsclflayouthead * flhp,int * laystatp,struct ucred * cred,NFSPROC_T * p) nfsrpc_openlayoutrpc() argument [all...] |
| /freebsd-src/sys/nfs/ |
| H A D | nfs_diskless.c | 186 int cnt, fhlen, is_nfsv3; in nfs_setup_diskless() local 274 fhlen = decode_nfshandle("boot.nfsroot.nfshandle", in nfs_setup_diskless() 276 if (fhlen == 0) { in nfs_setup_diskless() 280 if (fhlen != nd3->root_fhsize) { in nfs_setup_diskless() 281 printf("nfs_diskless: bad NFS handle len=%d\n", fhlen); in nfs_setup_diskless()
|
| /freebsd-src/sys/fs/nfs/ |
| H A D | nfs_commonsubs.c | 328 u_int8_t *nfhp, int fhlen, u_int32_t **opcntpp, struct nfsclsession *sep, in nfscl_reqstart() 441 (void)nfsm_fhtom(nmp, nd, nfhp, fhlen, 0); in nfscl_reqstart() 472 (void)nfsm_fhtom(NULL, nd, nfhp, fhlen, 0); in nfscl_reqstart() 329 nfscl_reqstart(struct nfsrv_descript * nd,int procnum,struct nfsmount * nmp,u_int8_t * nfhp,int fhlen,u_int32_t ** opcntpp,struct nfsclsession * sep,int vers,int minorvers,struct ucred * cred) nfscl_reqstart() argument
|