Searched refs:locku (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/fs/nfsd/ |
D | xdr4.h | 442 struct nfsd4_locku locku; member 601 struct nfsd4_locku *locku);
|
D | nfs4state.c | 4303 struct nfsd4_locku *locku) in nfsd4_locku() argument 4312 (long long) locku->lu_offset, in nfsd4_locku() 4313 (long long) locku->lu_length); in nfsd4_locku() 4315 if (check_lock_length(locku->lu_offset, locku->lu_length)) in nfsd4_locku() 4320 status = nfs4_preprocess_seqid_op(cstate, locku->lu_seqid, in nfsd4_locku() 4321 &locku->lu_stateid, NFS4_LOCK_STID, &stp); in nfsd4_locku() 4337 file_lock.fl_start = locku->lu_offset; in nfsd4_locku() 4339 file_lock.fl_end = last_byte_offset(locku->lu_offset, locku->lu_length); in nfsd4_locku() 4354 memcpy(&locku->lu_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_locku() 4882 nfsd4_get_lockustateid(struct nfsd4_compound_state *cstate, struct nfsd4_locku *locku) in nfsd4_get_lockustateid() argument [all …]
|
D | nfs4xdr.c | 596 nfsd4_decode_locku(struct nfsd4_compoundargs *argp, struct nfsd4_locku *locku) in nfsd4_decode_locku() argument 601 READ32(locku->lu_type); in nfsd4_decode_locku() 602 if ((locku->lu_type < NFS4_READ_LT) || (locku->lu_type > NFS4_WRITEW_LT)) in nfsd4_decode_locku() 604 READ32(locku->lu_seqid); in nfsd4_decode_locku() 605 status = nfsd4_decode_stateid(argp, &locku->lu_stateid); in nfsd4_decode_locku() 609 READ64(locku->lu_offset); in nfsd4_decode_locku() 610 READ64(locku->lu_length); in nfsd4_decode_locku() 2773 nfsd4_encode_locku(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_locku *locku) in nfsd4_encode_locku() argument 2778 nfsd4_encode_stateid(resp, &locku->lu_stateid); in nfsd4_encode_locku()
|