Home
last modified time | relevance | path

Searched refs:verf (Results 1 – 23 of 23) sorted by relevance

/linux-4.19.296/fs/nfs/
Dnfs42proc.c187 memcpy(&res->write_res.verifier, &copy->verf, sizeof(copy->verf)); in handle_async_copy()
204 cres.verf = kzalloc(sizeof(struct nfs_writeverf), GFP_NOFS); in process_copy_commit()
205 if (!cres.verf) in process_copy_commit()
212 &cres.verf->verifier)) { in process_copy_commit()
217 kfree(cres.verf); in process_copy_commit()
260 res->commit_res.verf = NULL; in _nfs42_proc_copy()
262 res->commit_res.verf = in _nfs42_proc_copy()
264 if (!res->commit_res.verf) in _nfs42_proc_copy()
279 &res->commit_res.verf->verifier)) { in _nfs42_proc_copy()
305 kfree(res->commit_res.verf); in _nfs42_proc_copy()
Ddirect.c106 struct nfs_writeverf verf; /* unstable write verifier */ member
183 struct nfs_writeverf *verfp = &dreq->verf; in nfs_direct_select_verf()
215 memcpy(verfp, &hdr->verf, sizeof(struct nfs_writeverf)); in nfs_direct_set_hdr_verf()
244 return nfs_direct_cmp_verf(verfp, &hdr->verf); in nfs_direct_set_or_cmp_hdr_verf()
264 if (verfp->committed < 0 || data->res.verf->committed <= NFS_UNSTABLE) in nfs_direct_cmp_commit_data_verf()
267 return nfs_direct_cmp_verf(verfp, data->res.verf); in nfs_direct_cmp_commit_data_verf()
336 dreq->verf.committed = NFS_INVALID_STABLE_HOW; /* not set yet */ in nfs_direct_req_alloc()
671 dreq->verf.committed = NFS_INVALID_STABLE_HOW; in nfs_direct_write_reschedule()
864 hdr->verf.committed = NFS_UNSTABLE; in nfs_direct_write_reschedule_io()
Dwrite.c988 if (hdr->verf.committed == NFS_DATA_SYNC) in nfs_write_need_commit()
990 return hdr->verf.committed != NFS_FILE_SYNC; in nfs_write_need_commit()
1018 memcpy(&req->wb_verf, &hdr->verf.verifier, sizeof(req->wb_verf)); in nfs_write_completion()
1551 hdr->args.offset, hdr->res.verf); in nfs_writeback_done()
1553 if (hdr->res.verf->committed < hdr->args.stable && in nfs_writeback_done()
1570 hdr->res.verf->committed, hdr->args.stable); in nfs_writeback_done()
1619 if (resp->verf->committed != NFS_UNSTABLE) { in nfs_writeback_result()
1741 data->res.verf = &data->verf; in nfs_init_commit()
1810 const struct nfs_writeverf *verf = data->res.verf; in nfs_commit_release_pages() local
1837 if (verf->committed > NFS_UNSTABLE && in nfs_commit_release_pages()
[all …]
Dnfs3xdr.c1271 p = xdr_encode_cookieverf3(p, args->verf); in encode_readdir3args()
1306 p = xdr_encode_cookieverf3(p, args->verf); in encode_readdirplus3args()
1732 result->verf->committed = be32_to_cpup(p++); in decode_write3resok()
1733 if (unlikely(result->verf->committed > NFS_FILE_SYNC)) in decode_write3resok()
1735 if (decode_writeverf3(xdr, &result->verf->verifier)) in decode_write3resok()
1739 dprintk("NFS: bad stable_how value: %u\n", result->verf->committed); in decode_write3resok()
2119 error = decode_cookieverf3(xdr, result->verf); in decode_readdir3resok()
2384 struct nfs_writeverf *verf = result->verf; in nfs3_xdr_dec_commit3res() local
2397 error = decode_writeverf3(xdr, &verf->verifier); in nfs3_xdr_dec_commit3res()
2399 verf->committed = NFS_FILE_SYNC; in nfs3_xdr_dec_commit3res()
Dnfs3proc.c614 __be32 *verf = NFS_I(dir)->cookieverf; in nfs3_proc_readdir() local
618 .verf = {verf[0], verf[1]}, in nfs3_proc_readdir()
624 .verf = verf, in nfs3_proc_readdir()
Dpnfs_nfs.c33 struct nfs_writeverf *verf = data->res.verf; in pnfs_generic_prepare_to_resend_writes() local
36 memset(&verf->verifier, 0, sizeof(verf->verifier)); in pnfs_generic_prepare_to_resend_writes()
37 verf->committed = NFS_UNSTABLE; in pnfs_generic_prepare_to_resend_writes()
Dcallback_proc.c670 cp_state->verf.committed = args->wr_writeverf.committed; in nfs4_copy_cb_args()
671 memcpy(&cp_state->verf.verifier.data[0], in nfs4_copy_cb_args()
Dnfs4xdr.c1053 static void encode_nfs4_verifier(struct xdr_stream *xdr, const nfs4_verifier *verf) in encode_nfs4_verifier() argument
1055 encode_opaque_fixed(xdr, verf->data, NFS4_VERIFIER_SIZE); in encode_nfs4_verifier()
1597 __be32 *p, verf[2]; in encode_readdir() local
1629 memcpy(verf, readdir->verifier.data, sizeof(verf)); in encode_readdir()
1634 verf[0], verf[1], in encode_readdir()
4443 struct nfs_writeverf *verf = res->verf; in decode_commit() local
4448 status = decode_write_verifier(xdr, &verf->verifier); in decode_commit()
4450 verf->committed = NFS_FILE_SYNC; in decode_commit()
5354 __be32 verf[2]; in decode_readdir() local
5361 memcpy(verf, readdir->verifier.data, sizeof(verf)); in decode_readdir()
[all …]
Dpagelist.c595 hdr->res.verf = &hdr->verf; in nfs_pgio_rpcsetup()
Dnfs42xdr.c565 if (res->commit_res.verf) in nfs4_xdr_dec_copy()
Dnfs2xdr.c920 result->verf->committed = NFS_FILE_SYNC; in nfs2_xdr_dec_writeres()
Dnfs4proc.c1144 const __u32 verf[2]; member
1260 memcpy(p->o_arg.u.verifier.data, c->verf, in nfs4_opendata_alloc()
3068 .verf = { in nfs4_do_open()
5761 __be32 verf[2]; in nfs4_init_boot_verifier() local
5766 verf[0] = cpu_to_be32(U32_MAX); in nfs4_init_boot_verifier()
5767 verf[1] = cpu_to_be32(U32_MAX); in nfs4_init_boot_verifier()
5772 verf[0] = cpu_to_be32(ns >> 32); in nfs4_init_boot_verifier()
5773 verf[1] = cpu_to_be32(ns); in nfs4_init_boot_verifier()
5775 memcpy(bootverf->data, verf, sizeof(bootverf->data)); in nfs4_init_boot_verifier()
Dnfstrace.h954 memcpy(&__entry->verifier, &data->verf.verifier,
/linux-4.19.296/fs/nfsd/
Dxdr3.h53 __be32 * verf; member
101 __be32 * verf; member
183 __be32 verf[2]; member
Dnfs3proc.c256 argp->createmode, (u32 *)argp->verf, NULL, NULL); in nfsd3_proc_create()
469 memcpy(resp->verf, argp->verf, 8); in nfsd3_proc_readdir()
531 memcpy(resp->verf, argp->verf, 8); in nfsd3_proc_readdirplus()
Dnfs3xdr.c461 args->verf = p; in nfs3svc_decode_createargs()
580 args->verf = p; p += 2; in nfs3svc_decode_readdirargs()
600 args->verf = p; p += 2; in nfs3svc_decode_readdirplusargs()
803 memcpy(p, resp->verf, 8); p += 2; in nfs3svc_encode_readdirres()
Dnfs4proc.c569 __be32 verf[2]; in gen_boot_verifier() local
577 verf[0] = (__force __be32)nn->nfssvc_boot.tv_sec; in gen_boot_verifier()
578 verf[1] = (__force __be32)nn->nfssvc_boot.tv_nsec; in gen_boot_verifier()
579 memcpy(verifier->data, verf, sizeof(verifier->data)); in gen_boot_verifier()
Dnfs4state.c2118 __be32 verf[2]; in gen_confirm() local
2124 verf[0] = (__force __be32)get_seconds(); in gen_confirm()
2125 verf[1] = (__force __be32)nn->clverifier_counter++; in gen_confirm()
2126 memcpy(clp->cl_confirm.data, verf, sizeof(clp->cl_confirm.data)); in gen_confirm()
2165 struct svc_rqst *rqstp, nfs4_verifier *verf) in create_client() argument
2184 copy_verf(clp, verf); in create_client()
2506 nfs4_verifier verf = exid->verifier; in nfsd4_exchange_id() local
2520 new = create_client(exid->clname, rqstp, &verf); in nfsd4_exchange_id()
2571 bool verfs_match = same_verf(&verf, &conf->cl_verifier); in nfsd4_exchange_id()
/linux-4.19.296/include/linux/
Dnfs_fs.h194 struct nfs_writeverf verf; member
332 static inline void nfs_set_verifier(struct dentry * dentry, unsigned long verf) in nfs_set_verifier() argument
334 dentry->d_time = verf; in nfs_set_verifier()
Dnfs_xdr.h621 struct nfs_writeverf * verf; /* used by write */ member
641 struct nfs_writeverf *verf; member
884 __be32 verf[2]; member
915 __be32 * verf; member
1464 struct nfs_writeverf verf; /* Used for writes */ member
1524 struct nfs_writeverf verf; member
/linux-4.19.296/fs/nfs/filelayout/
Dfilelayout.c234 hdr->res.verf->committed == NFS_FILE_SYNC) in filelayout_set_layoutcommit()
236 if (hdr->res.verf->committed == NFS_DATA_SYNC) in filelayout_set_layoutcommit()
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayout.c1438 if (hdr->res.verf->committed == NFS_FILE_SYNC || in ff_layout_write_done_cb()
1439 hdr->res.verf->committed == NFS_DATA_SYNC) in ff_layout_write_done_cb()
1503 hdr->res.verf->committed); in ff_layout_write_record_layoutstats_done()
/linux-4.19.296/fs/nfs/blocklayout/
Dblocklayout.c392 hdr->verf.committed = NFS_FILE_SYNC; in bl_end_par_io_write()