Home
last modified time | relevance | path

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

/linux-2.6.39/fs/nfsd/
Dnfs4state.c4030 struct nfsd4_locku *locku) in nfsd4_locku() argument
4039 (long long) locku->lu_offset, in nfsd4_locku()
4040 (long long) locku->lu_length); in nfsd4_locku()
4042 if (check_lock_length(locku->lu_offset, locku->lu_length)) in nfsd4_locku()
4048 locku->lu_seqid, in nfsd4_locku()
4049 &locku->lu_stateid, in nfsd4_locku()
4051 &locku->lu_stateowner, &stp, NULL))) in nfsd4_locku()
4062 file_lock.fl_owner = (fl_owner_t) locku->lu_stateowner; in nfsd4_locku()
4067 file_lock.fl_start = locku->lu_offset; in nfsd4_locku()
4069 file_lock.fl_end = last_byte_offset(locku->lu_offset, locku->lu_length); in nfsd4_locku()
[all …]
Dnfs4xdr.c597 nfsd4_decode_locku(struct nfsd4_compoundargs *argp, struct nfsd4_locku *locku) in nfsd4_decode_locku() argument
601 locku->lu_stateowner = NULL; in nfsd4_decode_locku()
603 READ32(locku->lu_type); in nfsd4_decode_locku()
604 if ((locku->lu_type < NFS4_READ_LT) || (locku->lu_type > NFS4_WRITEW_LT)) in nfsd4_decode_locku()
606 READ32(locku->lu_seqid); in nfsd4_decode_locku()
607 status = nfsd4_decode_stateid(argp, &locku->lu_stateid); in nfsd4_decode_locku()
611 READ64(locku->lu_offset); in nfsd4_decode_locku()
612 READ64(locku->lu_length); in nfsd4_decode_locku()
2538 nfsd4_encode_locku(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_locku *locku) in nfsd4_encode_locku() argument
2543 nfsd4_encode_stateid(resp, &locku->lu_stateid); in nfsd4_encode_locku()
[all …]
Dxdr4.h407 struct nfsd4_locku locku; member
557 struct nfsd4_locku *locku);