Home
last modified time | relevance | path

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

/netbsd/sys/nfs/
H A Dnfs_srvsubs.c379 if (NFSRVFH_SIZE(nsfh) == 0) { in nfs_ispublicfh()
382 if (NFSRVFH_SIZE(nsfh) != NFSX_V2FH) { in nfs_ispublicfh()
421 if (NFSRVFH_SIZE(fh1) != NFSRVFH_SIZE(fh2)) { in nfsrv_comparefh()
422 return NFSRVFH_SIZE(fh2) - NFSRVFH_SIZE(fh1); in nfsrv_comparefh()
424 return memcmp(NFSRVFH_DATA(fh1), NFSRVFH_DATA(fh2), NFSRVFH_SIZE(fh1)); in nfsrv_comparefh()
432 fh1->nsfh_size = size = NFSRVFH_SIZE(fh2); in nfsrv_copyfh()
H A Dnfsm_subs.h131 NFSRVFH_SIZE(f)); \
132 *tl++ = txdr_unsigned(NFSRVFH_SIZE(f)); \
133 memcpy(tl, NFSRVFH_DATA(f), NFSRVFH_SIZE(f)); \
135 KASSERT(NFSRVFH_SIZE(f) == NFSX_V2FH); \
142 2 * NFSX_UNSIGNED + NFSRVFH_SIZE(f)); \
144 *tl++ = txdr_unsigned(NFSRVFH_SIZE(f)); \
145 memcpy(tl, NFSRVFH_DATA(f), NFSRVFH_SIZE(f)); \
H A Dnfsproto.h133 #define NFSX_SRVFH(nsfh, v3) (((v3) ? NFSX_UNSIGNED : 0) + NFSRVFH_SIZE(nsfh))
H A Dnfs.h510 #define NFSRVFH_SIZE(nsfh) ((nsfh)->nsfh_size) macro
H A Dnfs_serv.c1048 hash = hash32_buf(NFSRVFH_DATA(nsfh), NFSRVFH_SIZE(nsfh), in nfsrv_nwdelayhash()
3217 xfer = NFSRVFH_SIZE(&nnsfh); in nfsrv_readdirplus()