/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 110 if (np->n_fhp->nfh_len != nfhp->nfh_len || in newnfs_vncmpf() 111 NFSBCMP(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len)) in newnfs_vncmpf() 145 nmp->nm_fhsize > 0 && nmp->nm_fhsize == nfhp->nfh_len && in nfscl_nget() 150 nfhp->nfh_len = NFSX_FHMAX + 1; in nfscl_nget() 153 hash = fnv_32_buf(nfhp->nfh_fh, nfhp->nfh_len, FNV1_32_INIT); in nfscl_nget() 193 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen || in nfscl_nget() 195 dnp->n_fhp->nfh_len))) { in nfscl_nget() 197 sizeof (struct nfsv4node) + dnp->n_fhp->nfh_len + in nfscl_nget() 204 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen || in nfscl_nget() 206 dnp->n_fhp->nfh_len))) { in nfscl_nget() [all …]
|
H A D | nfs_clstate.c | 1162 np->n_fhp->nfh_len); in nfscl_getbytelock() 1173 np->n_fhp->nfh_len, openownp, ownp, mode, NULL, &op); in nfscl_getbytelock() 1176 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, openownp, in nfscl_getbytelock() 1193 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, openownp, in nfscl_getbytelock() 1200 np->n_fhp->nfh_len, nlop, ownp, ldp, NULL); in nfscl_getbytelock() 1326 np->n_fhp->nfh_len); in nfscl_relbytelock() 1350 np->n_fhp->nfh_len), nfso_hash) { in nfscl_relbytelock() 1351 if (op->nfso_fhlen == np->n_fhp->nfh_len && in nfscl_relbytelock() 1402 np->n_fhp->nfh_len), nfso_hash) { in nfscl_releasealllocks() 1403 if (op->nfso_fhlen == np->n_fhp->nfh_len && in nfscl_releasealllocks() [all …]
|
H A D | nfs_clrpcops.c | 321 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_accessrpc() 408 error = nfscl_open(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open() 430 np->n_fhp->nfh_len, mode, op, in nfsrpc_open() 438 np->n_fhp->nfh_len, mode, op, in nfsrpc_open() 455 nfhp->nfh_fh, nfhp->nfh_len, cred, p, dp); in nfsrpc_open() 466 nfhp->nfh_len, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open() 471 nfhp->nfh_fh, nfhp->nfh_len, nfhp->nfh_fh, in nfsrpc_open() 472 nfhp->nfh_len, mode, op, NULL, 0, &dp, in nfsrpc_open() 488 nfhp->nfh_fh, nfhp->nfh_len, cre in nfsrpc_open() [all...] |
H A D | nfs_clnode.c | 115 nfhp->nfh_len = fhsize; in ncl_nget() 168 np->n_fhp->nfh_len = fhsize; in ncl_nget()
|
H A D | nfs_clvnops.c | 1399 if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookup() 1466 } else if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookup() 2045 tdnp->n_fhp->nfh_len + tcnp->cn_namelen - 1, in nfs_rename() 2053 tdnp->n_fhp->nfh_len != fnp->n_v4->n4_fhlen || in nfs_rename() 2055 tdnp->n_fhp->nfh_len))) { in nfs_rename() 2059 fnp->n_v4->n4_fhlen = tdnp->n_fhp->nfh_len; in nfs_rename() 2062 tdnp->n_fhp->nfh_len); in nfs_rename() 2716 dnp->n_fhp->nfh_len != np->n_v4->n4_fhlen || in nfs_lookitup() 2718 dnp->n_fhp->nfh_len))) { in nfs_lookitup() 2722 dnp->n_fhp->nfh_len + len - 1, in nfs_lookitup() [all …]
|
H A D | nfs_clvfsops.c | 2145 *fhlenp = (size_t)np->n_fhp->nfh_len; in nfs_getnlminfo() 2147 bcopy(np->n_fhp->nfh_fh, fhp, np->n_fhp->nfh_len); in nfs_getnlminfo()
|
/freebsd/sys/fs/nfs/ |
H A D | nfscl.h | 52 VTONFS(v)->n_fhp->nfh_fh, VTONFS(v)->n_fhp->nfh_len, NULL, \
|
H A D | nfs.h | 155 ((n)->n_fhp->nfh_len == (s) && !NFSBCMP((n)->n_fhp->nfh_fh, (caddr_t)(f), (s))) 817 u_int16_t nfh_len; /* Length of file handle */ member
|
H A D | nfs_commonsubs.c | 1108 nfhp->nfh_len = len; in nfsm_getfh() 1673 tfhsize = tnfhp->nfh_len; in nfsv4_loadattr()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 4359 np->n_fhp->nfh_len != NFSX_MYFH) { in nfsrv_dscreate() 4363 nmp->nm_nam->sa_len, np->n_fhp->nfh_len); in nfsrv_dscreate()
|