Searched refs:locku (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/nfsd/ |
D | nfs4xdr.c | 781 nfsd4_decode_locku(struct nfsd4_compoundargs *argp, struct nfsd4_locku *locku) in nfsd4_decode_locku() argument 786 locku->lu_type = be32_to_cpup(p++); in nfsd4_decode_locku() 787 if ((locku->lu_type < NFS4_READ_LT) || (locku->lu_type > NFS4_WRITEW_LT)) in nfsd4_decode_locku() 789 locku->lu_seqid = be32_to_cpup(p++); in nfsd4_decode_locku() 790 status = nfsd4_decode_stateid(argp, &locku->lu_stateid); in nfsd4_decode_locku() 794 p = xdr_decode_hyper(p, &locku->lu_offset); in nfsd4_decode_locku() 795 p = xdr_decode_hyper(p, &locku->lu_length); in nfsd4_decode_locku() 3323 nfsd4_encode_locku(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_locku *locku) in nfsd4_encode_locku() argument 3327 return nfsd4_encode_stateid(xdr, &locku->lu_stateid); in nfsd4_encode_locku()
|
D | nfs4state.c | 6259 struct nfsd4_locku *locku = &u->locku; in nfsd4_locku() local 6268 (long long) locku->lu_offset, in nfsd4_locku() 6269 (long long) locku->lu_length); in nfsd4_locku() 6271 if (check_lock_length(locku->lu_offset, locku->lu_length)) in nfsd4_locku() 6274 status = nfs4_preprocess_seqid_op(cstate, locku->lu_seqid, in nfsd4_locku() 6275 &locku->lu_stateid, NFS4_LOCK_STID, in nfsd4_locku() 6297 file_lock->fl_start = locku->lu_offset; in nfsd4_locku() 6299 file_lock->fl_end = last_byte_offset(locku->lu_offset, in nfsd4_locku() 6300 locku->lu_length); in nfsd4_locku() 6308 nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid); in nfsd4_locku() [all …]
|
D | xdr4.h | 557 struct nfsd4_locku locku; member
|