Home
last modified time | relevance | path

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

/fs/nfs/
Ddirect.c103 struct nfs_writeverf verf; /* unstable write verifier */ member
163 struct nfs_writeverf *verfp = &dreq->verf; in nfs_direct_select_verf()
195 memcpy(verfp, &hdr->verf, sizeof(struct nfs_writeverf)); in nfs_direct_set_hdr_verf()
224 return nfs_direct_cmp_verf(verfp, &hdr->verf); in nfs_direct_set_or_cmp_hdr_verf()
247 return nfs_direct_cmp_verf(verfp, &data->verf); in nfs_direct_cmp_commit_data_verf()
316 dreq->verf.committed = NFS_INVALID_STABLE_HOW; /* not set yet */ in nfs_direct_req_alloc()
646 dreq->verf.committed = NFS_INVALID_STABLE_HOW; in nfs_direct_write_reschedule()
848 hdr->verf.committed = NFS_UNSTABLE; in nfs_direct_write_reschedule_io()
Dwrite.c913 if (hdr->verf.committed == NFS_DATA_SYNC) in nfs_write_need_commit()
915 return hdr->verf.committed != NFS_FILE_SYNC; in nfs_write_need_commit()
938 memcpy(&req->wb_verf, &hdr->verf.verifier, sizeof(req->wb_verf)); in nfs_write_completion()
1481 if (hdr->res.verf->committed < hdr->args.stable && in nfs_writeback_done()
1498 hdr->res.verf->committed, hdr->args.stable); in nfs_writeback_done()
1544 if (resp->verf->committed != NFS_UNSTABLE) { in nfs_writeback_result()
1668 data->res.verf = &data->verf; in nfs_init_commit()
1726 int nfs_commit_file(struct file *file, struct nfs_write_verifier *verf) in nfs_commit_file() argument
1743 memcpy(&req->wb_verf, verf, sizeof(struct nfs_write_verifier)); in nfs_commit_file()
1797 if (!nfs_write_verifier_cmp(&req->wb_verf, &data->verf.verifier)) { in nfs_commit_release_pages()
Dnfs3proc.c627 __be32 *verf = NFS_I(dir)->cookieverf; in nfs3_proc_readdir() local
631 .verf = {verf[0], verf[1]}, in nfs3_proc_readdir()
637 .verf = verf, in nfs3_proc_readdir()
Dnfs3xdr.c1237 p = xdr_encode_cookieverf3(p, args->verf); in encode_readdir3args()
1270 p = xdr_encode_cookieverf3(p, args->verf); in encode_readdirplus3args()
1686 result->verf->committed = be32_to_cpup(p++); in decode_write3resok()
1687 if (unlikely(result->verf->committed > NFS_FILE_SYNC)) in decode_write3resok()
1689 if (decode_writeverf3(xdr, &result->verf->verifier)) in decode_write3resok()
1693 dprintk("NFS: bad stable_how value: %u\n", result->verf->committed); in decode_write3resok()
2065 error = decode_cookieverf3(xdr, result->verf); in decode_readdir3resok()
2337 error = decode_writeverf3(xdr, &result->verf->verifier); in nfs3_xdr_dec_commit3res()
Dpnfs_nfs.c36 memcpy(&data->verf.verifier, &first->wb_verf, in pnfs_generic_prepare_to_resend_writes()
37 sizeof(data->verf.verifier)); in pnfs_generic_prepare_to_resend_writes()
38 data->verf.verifier.data[0]++; /* ensure verifier mismatch */ in pnfs_generic_prepare_to_resend_writes()
Dnfs4xdr.c998 static void encode_nfs4_verifier(struct xdr_stream *xdr, const nfs4_verifier *verf) in encode_nfs4_verifier() argument
1000 encode_opaque_fixed(xdr, verf->data, NFS4_VERIFIER_SIZE); in encode_nfs4_verifier()
1576 __be32 *p, verf[2]; in encode_readdir() local
1608 memcpy(verf, readdir->verifier.data, sizeof(verf)); in encode_readdir()
1613 verf[0], verf[1], in encode_readdir()
4324 status = decode_write_verifier(xdr, &res->verf->verifier); in decode_commit()
5223 __be32 verf[2]; in decode_readdir() local
5230 memcpy(verf, readdir->verifier.data, sizeof(verf)); in decode_readdir()
5232 __func__, verf[0], verf[1]); in decode_readdir()
5458 res->verf->committed = be32_to_cpup(p++); in decode_write()
[all …]
Dpagelist.c567 hdr->res.verf = &hdr->verf; in nfs_pgio_rpcsetup()
Dinternal.h495 int nfs_commit_file(struct file *file, struct nfs_write_verifier *verf);
Dnfs4proc.c1252 __u32 verf[2]; in nfs4_opendata_alloc() local
1257 verf[0] = jiffies; in nfs4_opendata_alloc()
1258 verf[1] = current->pid; in nfs4_opendata_alloc()
1259 memcpy(p->o_arg.u.verifier.data, verf, in nfs4_opendata_alloc()
5306 __be32 verf[2]; in nfs4_init_boot_verifier() local
5311 verf[0] = cpu_to_be32(U32_MAX); in nfs4_init_boot_verifier()
5312 verf[1] = cpu_to_be32(U32_MAX); in nfs4_init_boot_verifier()
5317 verf[0] = cpu_to_be32(ns >> 32); in nfs4_init_boot_verifier()
5318 verf[1] = cpu_to_be32(ns); in nfs4_init_boot_verifier()
5320 memcpy(bootverf->data, verf, sizeof(bootverf->data)); in nfs4_init_boot_verifier()
Dnfs2xdr.c888 result->verf->committed = NFS_FILE_SYNC; in nfs2_xdr_dec_writeres()
/fs/nfsd/
Dxdr3.h52 __be32 * verf; member
99 __be32 * verf; member
181 __be32 verf[2]; member
Dnfs3proc.c239 argp->createmode, (u32 *)argp->verf, NULL, NULL); in nfsd3_proc_create()
432 memcpy(resp->verf, argp->verf, 8); in nfsd3_proc_readdir()
482 memcpy(resp->verf, argp->verf, 8); in nfsd3_proc_readdirplus()
Dnfs3xdr.c429 args->verf = p; in nfs3svc_decode_createargs()
569 args->verf = p; p += 2; in nfs3svc_decode_readdirargs()
589 args->verf = p; p += 2; in nfs3svc_decode_readdirplusargs()
781 memcpy(p, resp->verf, 8); p += 2; in nfs3svc_encode_readdirres()
Dnfs4proc.c577 __be32 verf[2]; in gen_boot_verifier() local
584 verf[0] = (__force __be32)nn->nfssvc_boot.tv_sec; in gen_boot_verifier()
585 verf[1] = (__force __be32)nn->nfssvc_boot.tv_usec; in gen_boot_verifier()
586 memcpy(verifier->data, verf, sizeof(verifier->data)); in gen_boot_verifier()
Dnfs4state.c2094 __be32 verf[2]; in gen_confirm() local
2100 verf[0] = (__force __be32)get_seconds(); in gen_confirm()
2101 verf[1] = (__force __be32)nn->clverifier_counter++; in gen_confirm()
2102 memcpy(clp->cl_confirm.data, verf, sizeof(clp->cl_confirm.data)); in gen_confirm()
2141 struct svc_rqst *rqstp, nfs4_verifier *verf) in create_client() argument
2160 copy_verf(clp, verf); in create_client()
2470 nfs4_verifier verf = exid->verifier; in nfsd4_exchange_id() local
2484 new = create_client(exid->clname, rqstp, &verf); in nfsd4_exchange_id()
2535 bool verfs_match = same_verf(&verf, &conf->cl_verifier); in nfsd4_exchange_id()
/fs/nfs/objlayout/
Dobjlayout.c331 hdr->verf.committed = oir->committed; in objlayout_write_done()
339 status, hdr->verf.committed, sync); in objlayout_write_done()
/fs/nfs/filelayout/
Dfilelayout.c261 hdr->res.verf->committed == NFS_FILE_SYNC) in filelayout_set_layoutcommit()
263 if (hdr->res.verf->committed == NFS_DATA_SYNC) in filelayout_set_layoutcommit()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c1502 if (hdr->res.verf->committed == NFS_FILE_SYNC || in ff_layout_write_done_cb()
1503 hdr->res.verf->committed == NFS_DATA_SYNC) in ff_layout_write_done_cb()
1567 hdr->res.verf->committed); in ff_layout_write_record_layoutstats_done()
/fs/nfs/blocklayout/
Dblocklayout.c362 hdr->verf.committed = NFS_FILE_SYNC; in bl_end_par_io_write()