Home
last modified time | relevance | path

Searched refs:fhlen (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/nlm/
H A Dnlm_advlock.c78 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/sys/fs/nfsclient/
H A Dnfs_clstate.c213 nfscl_open(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t amode, int usedeleg, in nfscl_open() argument
240 fhlen - 1, M_NFSCLOPEN, M_WAITOK); in nfscl_open()
260 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) { in nfscl_open()
261 if (dp->nfsdl_fhlen == fhlen && in nfscl_open()
262 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) { in nfscl_open()
290 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen, in nfscl_open()
349 struct nfsclopen **nopp, u_int8_t *own, u_int8_t *fhp, int fhlen, in nfscl_newopen() argument
387 if (op->nfso_fhlen == fhlen && in nfscl_newopen()
388 !NFSBCMP(op->nfso_fh, fhp, fhlen)) in nfscl_newopen()
396 nop->nfso_fhlen = fhlen; in nfscl_newopen()
[all …]
H A Dnfs_clrpcops.c541 nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, in nfsrpc_openrpc() argument
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() argument
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() argument
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_lock() argument
4773 nfscl_reqstart(nd, NFSPROC_LOCK, nmp, nfhp, fhlen, NULL, NULL, 0, 0, in nfsrpc_lock()
4802 NFSBCOPY(nfhp, &own[NFSV4CL_LOCKNAMELEN], fhlen); in nfsrpc_lock()
5101 nfsrpc_rellockown(struct nfsmount * nmp,struct nfscllockowner * lp,uint8_t * fh,int fhlen,struct ucred * cred,NFSPROC_T * p) nfsrpc_rellockown() argument
5582 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
5847 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
5896 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
5984 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
8150 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
8223 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/sys/nfs/
H A Dnfs_diskless.c186 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/sys/fs/nfs/
H A Dnfs_commonsubs.c328 u_int8_t *nfhp, int fhlen, u_int32_t **opcntpp, struct nfsclsession *sep, in nfscl_reqstart() argument
441 (void)nfsm_fhtom(nmp, nd, nfhp, fhlen, 0); in nfscl_reqstart()
472 (void)nfsm_fhtom(NULL, nd, nfhp, fhlen, 0); in nfscl_reqstart()