Searched refs:locku (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/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() 3314 nfsd4_encode_locku(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_locku *locku) in nfsd4_encode_locku() argument 3318 return nfsd4_encode_stateid(xdr, &locku->lu_stateid); in nfsd4_encode_locku()
|
D | nfs4state.c | 6242 struct nfsd4_locku *locku = &u->locku; in nfsd4_locku() local 6251 (long long) locku->lu_offset, in nfsd4_locku() 6252 (long long) locku->lu_length); in nfsd4_locku() 6254 if (check_lock_length(locku->lu_offset, locku->lu_length)) in nfsd4_locku() 6257 status = nfs4_preprocess_seqid_op(cstate, locku->lu_seqid, in nfsd4_locku() 6258 &locku->lu_stateid, NFS4_LOCK_STID, in nfsd4_locku() 6280 file_lock->fl_start = locku->lu_offset; in nfsd4_locku() 6282 file_lock->fl_end = last_byte_offset(locku->lu_offset, in nfsd4_locku() 6283 locku->lu_length); in nfsd4_locku() 6291 nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid); in nfsd4_locku() [all …]
|
D | xdr4.h | 557 struct nfsd4_locku locku; member
|