Home
last modified time | relevance | path

Searched refs:NFSX_FHMAX (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/fs/nfsclient/
H A Dnfsmount.h53 u_char nm_fh[NFSX_FHMAX]; /* File handle of root dir */
H A Dnfs_clvfsops.c318 fakefh = malloc(NFSX_FHMAX + 1, M_TEMP, M_WAITOK | M_ZERO); in nfs_statfs()
319 error = ncl_nget(mp, fakefh, NFSX_FHMAX + 1, &np, LK_EXCLUSIVE); in nfs_statfs()
928 u_char nfh[NFSX_FHMAX], krbname[100], dirpath[100], srvkrbname[100]; in nfs_mount()
1344 if (args.fhsize < 0 || args.fhsize > NFSX_FHMAX) { in nfs_mount()
1746 fakefh = malloc(NFSX_FHMAX + 1, M_TEMP, M_WAITOK | in mountnfs()
1748 error = ncl_nget(mp, fakefh, NFSX_FHMAX + 1, &np, in mountnfs()
1978 fakefh = malloc(NFSX_FHMAX + 1, M_TEMP, M_WAITOK | M_ZERO); in nfs_root()
1979 error = ncl_nget(mp, fakefh, NFSX_FHMAX + 1, &np, flags); in nfs_root()
H A Dnfs_clport.c148 nfhp = malloc(sizeof(struct nfsfh) + NFSX_FHMAX + 1, in nfscl_nget()
150 nfhp->nfh_len = NFSX_FHMAX + 1; in nfscl_nget()
253 if (nfhp->nfh_len == NFSX_FHMAX + 1 || in nfscl_nget()
514 np->n_fhp->nfh_len != NFSX_FHMAX + 1)) || in nfscl_loadattrcache()
H A Dnfs_clnode.c156 if (fhsize == NFSX_FHMAX + 1 || (fhsize == nmp->nm_fhsize && in ncl_nget()
H A Dnfs_clrpcops.c321 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_accessrpc()
1306 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_getattr()
4956 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_pathconf()
5190 len > NFSX_FHMAX) { in nfsrpc_getdirpath()
/freebsd/sys/fs/nfsserver/
H A Dnfs_fha_new.c171 if ((len = fxdr_unsigned(int, *tl)) <= 0 || len > NFSX_FHMAX) { in fhanew_get_fh()
/freebsd/sys/fs/nfs/
H A Dnfsproto.h285 #define NFSX_FHMAX (NFSX_V4FHMAX) macro
H A Dnfs_commonsubs.c984 if (size == NFSX_FHMAX + 1 && nmp != NULL && in nfsm_fhtom()
1095 len > NFSX_FHMAX) { in nfsm_getfh()