/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 1164 ldp = dp = nfscl_finddeleg(clp, np->n_fhp->nfh_fh, in nfscl_getbytelock() 1175 ret = nfscl_getopen(&dp->nfsdl_owner, NULL, np->n_fhp->nfh_fh, in nfscl_getbytelock() 1179 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, openownp, in nfscl_getbytelock() 1196 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, openownp, in nfscl_getbytelock() 1202 error = nfscl_localconflict(clp, np->n_fhp->nfh_fh, in nfscl_getbytelock() 1328 dp = nfscl_finddeleg(clp, np->n_fhp->nfh_fh, in nfscl_relbytelock() 1352 LIST_FOREACH(op, NFSCLOPENHASH(clp, np->n_fhp->nfh_fh, in nfscl_relbytelock() 1355 !NFSBCMP(op->nfso_fh, np->n_fhp->nfh_fh, op->nfso_fhlen)) { in nfscl_relbytelock() 1404 LIST_FOREACH(op, NFSCLOPENHASH(clp, np->n_fhp->nfh_fh, in nfscl_releasealllocks() 1407 !NFSBCMP(op->nfso_fh, np->n_fhp->nfh_fh, op->nfso_fhlen)) { in nfscl_releasealllocks() [all …]
|
H A D | nfs_clport.c | 111 NFSBCMP(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len)) in newnfs_vncmpf() 146 !NFSBCMP(nmp->nm_fh, nfhp->nfh_fh, nmp->nm_fhsize)) { in nfscl_nget() 153 hash = fnv_32_buf(nfhp->nfh_fh, nfhp->nfh_len, FNV1_32_INIT); in nfscl_nget() 194 NFSBCMP(dnp->n_fhp->nfh_fh, np->n_v4->n4_data, in nfscl_nget() 205 NFSBCMP(dnp->n_fhp->nfh_fh, np->n_v4->n4_data, in nfscl_nget() 212 NFSBCOPY(dnp->n_fhp->nfh_fh, np->n_v4->n4_data, in nfscl_nget() 255 !bcmp(nfhp->nfh_fh, nmp->nm_fh, nfhp->nfh_len))) { in nfscl_nget() 274 NFSBCOPY(dnp->n_fhp->nfh_fh, np->n_v4->n4_data, in nfscl_nget() 340 bcopy(fhp, &nfhp->nfh_fh[0], fhsize); in nfscl_ngetreopen()
|
H A D | nfs_clrpcops.c | 408 error = nfscl_open(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open() 429 np->n_v4->n4_fhlen, np->n_fhp->nfh_fh, in nfsrpc_open() 437 np->n_v4->n4_fhlen, np->n_fhp->nfh_fh, in nfsrpc_open() 455 nfhp->nfh_fh, nfhp->nfh_len, cred, p, &dp); in nfsrpc_open() 465 error = nfsrpc_openrpc(nmp, vp, nfhp->nfh_fh, 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() 488 nfhp->nfh_fh, nfhp->nfh_len, cred, p, &dp); in nfsrpc_open() 1392 error = nfscl_getstateid(vp, nfhp->nfh_fh, in nfsrpc_setattr() 1409 nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_setattr() [all …]
|
H A D | nfs_clnode.c | 114 bcopy(fhp, &nfhp->nfh_fh[0], fhsize); in ncl_nget() 167 bcopy(fhp, np->n_fhp->nfh_fh, fhsize); in ncl_nget()
|
H A D | nfs_clvnops.c | 1397 if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookup() 1464 } else if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookup() 2052 NFSBCMP(tdnp->n_fhp->nfh_fh, fnp->n_v4->n4_data, in nfs_rename() 2059 NFSBCOPY(tdnp->n_fhp->nfh_fh, fnp->n_v4->n4_data, in nfs_rename() 2715 NFSBCMP(dnp->n_fhp->nfh_fh, np->n_v4->n4_data, in nfs_lookitup() 2724 NFSBCOPY(dnp->n_fhp->nfh_fh, np->n_v4->n4_data, in nfs_lookitup() 2728 hash = fnv_32_buf(nfhp->nfh_fh, nfhp->nfh_len, in nfs_lookitup() 2739 } else if (NFS_CMPFH(dnp, nfhp->nfh_fh, nfhp->nfh_len)) { in nfs_lookitup()
|
H A D | nfs_clvfsops.c | 2142 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))) 818 u_int8_t nfh_fh[1]; /* and the file handle */ member
|
H A D | nfs_commonsubs.c | 1104 error = nfsrv_mtostr(nd, nfhp->nfh_fh, len); in nfsm_getfh() 1677 !NFSRV_CMPFH(tnfhp->nfh_fh, tfhsize, in nfsv4_loadattr()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 4380 NFSBCOPY(np->n_fhp->nfh_fh, &pf->dsf_fh, in nfsrv_dscreate() 6510 NFSBCOPY(np->n_fhp->nfh_fh, &pf->dsf_fh, NFSX_MYFH); in nfsrv_pnfssetfh()
|