Home
last modified time | relevance | path

Searched refs:putfh (Results 1 – 2 of 2) sorted by relevance

/linux/fs/nfsd/
H A Dnfs4proc.c715 struct nfsd4_putfh *putfh = &u->putfh; in nfsd4_putfh() local
719 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
720 memcpy(&cstate->current_fh.fh_handle.fh_raw, putfh->pf_fhval, in nfsd4_putfh()
721 putfh->pf_fhlen); in nfsd4_putfh()
724 if (ret == nfserr_stale && putfh->no_verify) { in nfsd4_putfh()
3000 struct nfsd4_putfh *putfh; in check_if_stalefh_allowed() local
3020 putfh = (struct nfsd4_putfh *)&saved_op->u; in check_if_stalefh_allowed()
3022 putfh->no_verify = true; in check_if_stalefh_allowed()
H A Dnfs4xdr.c1375 struct nfsd4_putfh *putfh = &u->putfh; in nfsd4_decode_putfh() local
1378 if (xdr_stream_decode_u32(argp->xdr, &putfh->pf_fhlen) < 0) in nfsd4_decode_putfh()
1380 if (putfh->pf_fhlen > NFS4_FHSIZE) in nfsd4_decode_putfh()
1382 p = xdr_inline_decode(argp->xdr, putfh->pf_fhlen); in nfsd4_decode_putfh()
1385 putfh->pf_fhval = svcxdr_savemem(argp, p, putfh->pf_fhlen); in nfsd4_decode_putfh()
1386 if (!putfh->pf_fhval) in nfsd4_decode_putfh()
1389 putfh->no_verify = false; in nfsd4_decode_putfh()