Home
last modified time | relevance | path

Searched refs:locku (Results 1 – 3 of 3) sorted by relevance

/fs/nfsd/
Dxdr4.h442 struct nfsd4_locku locku; member
601 struct nfsd4_locku *locku);
Dnfs4state.c4292 struct nfsd4_locku *locku) in nfsd4_locku() argument
4301 (long long) locku->lu_offset, in nfsd4_locku()
4302 (long long) locku->lu_length); in nfsd4_locku()
4304 if (check_lock_length(locku->lu_offset, locku->lu_length)) in nfsd4_locku()
4309 status = nfs4_preprocess_seqid_op(cstate, locku->lu_seqid, in nfsd4_locku()
4310 &locku->lu_stateid, NFS4_LOCK_STID, &stp); in nfsd4_locku()
4326 file_lock.fl_start = locku->lu_offset; in nfsd4_locku()
4328 file_lock.fl_end = last_byte_offset(locku->lu_offset, locku->lu_length); in nfsd4_locku()
4343 memcpy(&locku->lu_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_locku()
4871 nfsd4_get_lockustateid(struct nfsd4_compound_state *cstate, struct nfsd4_locku *locku) in nfsd4_get_lockustateid() argument
[all …]
Dnfs4xdr.c585 nfsd4_decode_locku(struct nfsd4_compoundargs *argp, struct nfsd4_locku *locku) in nfsd4_decode_locku() argument
590 READ32(locku->lu_type); in nfsd4_decode_locku()
591 if ((locku->lu_type < NFS4_READ_LT) || (locku->lu_type > NFS4_WRITEW_LT)) in nfsd4_decode_locku()
593 READ32(locku->lu_seqid); in nfsd4_decode_locku()
594 status = nfsd4_decode_stateid(argp, &locku->lu_stateid); in nfsd4_decode_locku()
598 READ64(locku->lu_offset); in nfsd4_decode_locku()
599 READ64(locku->lu_length); in nfsd4_decode_locku()
2760 nfsd4_encode_locku(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_locku *locku) in nfsd4_encode_locku() argument
2765 nfsd4_encode_stateid(resp, &locku->lu_stateid); in nfsd4_encode_locku()