Home
last modified time | relevance | path

Searched refs:nfh_len (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/fs/nfsclient/
H A Dnfs_clport.c103 if (np->n_fhp->nfh_len != nfhp->nfh_len || in newnfs_vncmpf()
104 NFSBCMP(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len)) in newnfs_vncmpf()
138 nmp->nm_fhsize > 0 && nmp->nm_fhsize == nfhp->nfh_len && in nfscl_nget()
143 nfhp->nfh_len = NFSX_FHMAX + 1; in nfscl_nget()
146 hash = fnv_32_buf(nfhp->nfh_fh, nfhp->nfh_len, FNV1_32_INIT); in nfscl_nget()
186 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen || in nfscl_nget()
188 dnp->n_fhp->nfh_len))) { in nfscl_nget()
190 sizeof (struct nfsv4node) + dnp->n_fhp->nfh_len + in nfscl_nget()
197 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen || in nfscl_nget()
199 dnp->n_fhp->nfh_len))) { in nfscl_nget()
[all …]
H A Dnfs_clstate.c1181 np->n_fhp->nfh_len); in nfscl_getbytelock()
1192 np->n_fhp->nfh_len, openownp, ownp, mode, NULL, &op); in nfscl_getbytelock()
1195 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, openownp, in nfscl_getbytelock()
1212 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, openownp, in nfscl_getbytelock()
1219 np->n_fhp->nfh_len, nlop, ownp, ldp, NULL); in nfscl_getbytelock()
1345 np->n_fhp->nfh_len); in nfscl_relbytelock()
1369 np->n_fhp->nfh_len), nfso_hash) { in nfscl_relbytelock()
1370 if (op->nfso_fhlen == np->n_fhp->nfh_len && in nfscl_relbytelock()
1421 np->n_fhp->nfh_len), nfso_hash) { in nfscl_releasealllocks()
1422 if (op->nfso_fhlen == np->n_fhp->nfh_len && in nfscl_releasealllocks()
[all …]
H A Dnfs_clrpcops.c324 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_accessrpc()
412 error = nfscl_open(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open()
434 np->n_fhp->nfh_len, mode, op, in nfsrpc_open()
442 np->n_fhp->nfh_len, mode, op, in nfsrpc_open()
459 nfhp->nfh_fh, nfhp->nfh_len, cred, p, dp); in nfsrpc_open()
470 nfhp->nfh_len, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open()
475 nfhp->nfh_fh, nfhp->nfh_len, nfhp->nfh_fh, in nfsrpc_open()
476 nfhp->nfh_len, mode, op, NULL, 0, &dp, in nfsrpc_open()
492 nfhp->nfh_fh, nfhp->nfh_len, cred, p, dp); in nfsrpc_open()
1271 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_getattr()
[all …]
H A Dnfs_clnode.c115 nfhp->nfh_len = fhsize; in ncl_nget()
168 np->n_fhp->nfh_len = fhsize; in ncl_nget()
H A Dnfs_clvnops.c1192 np->n_fhp->nfh_len, (cnp->cn_flags & CREATENAMED), in nfs_get_namedattrdir()
1467 if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookup()
1537 } else if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookup()
2216 tdnp->n_fhp->nfh_len + tcnp->cn_namelen - 1, in nfs_rename()
2224 tdnp->n_fhp->nfh_len != fnp->n_v4->n4_fhlen || in nfs_rename()
2226 tdnp->n_fhp->nfh_len))) { in nfs_rename()
2230 fnp->n_v4->n4_fhlen = tdnp->n_fhp->nfh_len; in nfs_rename()
2233 tdnp->n_fhp->nfh_len); in nfs_rename()
2901 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen || in nfs_lookitup()
2903 dnp->n_fhp->nfh_len))) { in nfs_lookitup()
[all …]
H A Dnfs_clvfsops.c2158 *fhlenp = (size_t)np->n_fhp->nfh_len; in nfs_getnlminfo()
2160 bcopy(np->n_fhp->nfh_fh, fhp, np->n_fhp->nfh_len); in nfs_getnlminfo()
/freebsd/sys/fs/nfs/
H A Dnfscl.h52 VTONFS(v)->n_fhp->nfh_fh, VTONFS(v)->n_fhp->nfh_len, NULL, \
H A Dnfs.h155 ((n)->n_fhp->nfh_len == (s) && !NFSBCMP((n)->n_fhp->nfh_fh, (caddr_t)(f), (s)))
797 u_int16_t nfh_len; /* Length of file handle */ member
H A Dnfs_commonsubs.c1156 nfhp->nfh_len = len; in nfsm_getfh()
1796 tfhsize = tnfhp->nfh_len; in nfsv4_loadattr()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c4686 np->n_fhp->nfh_len != NFSX_MYFH) { in nfsrv_dscreate()
4690 nmp->nm_nam->sa_len, np->n_fhp->nfh_len); in nfsrv_dscreate()