Searched refs:lockt (Results 1 – 3 of 3) sorted by relevance
/fs/nfsd/ |
D | nfs4xdr.c | 927 nfsd4_decode_lockt(struct nfsd4_compoundargs *argp, struct nfsd4_lockt *lockt) in nfsd4_decode_lockt() argument 929 memset(lockt, 0, sizeof(*lockt)); in nfsd4_decode_lockt() 930 if (xdr_stream_decode_u32(argp->xdr, &lockt->lt_type) < 0) in nfsd4_decode_lockt() 932 if ((lockt->lt_type < NFS4_READ_LT) || (lockt->lt_type > NFS4_WRITEW_LT)) in nfsd4_decode_lockt() 934 if (xdr_stream_decode_u64(argp->xdr, &lockt->lt_offset) < 0) in nfsd4_decode_lockt() 936 if (xdr_stream_decode_u64(argp->xdr, &lockt->lt_length) < 0) in nfsd4_decode_lockt() 938 return nfsd4_decode_state_owner4(argp, &lockt->lt_clientid, in nfsd4_decode_lockt() 939 &lockt->lt_owner); in nfsd4_decode_lockt() 3791 nfsd4_encode_lockt(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_lockt *lockt) in nfsd4_encode_lockt() argument 3796 nfsd4_encode_lock_denied(xdr, &lockt->lt_denied); in nfsd4_encode_lockt()
|
D | nfs4state.c | 7588 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_lockt() local 7597 if (check_lock_length(lockt->lt_offset, lockt->lt_length)) in nfsd4_lockt() 7601 status = set_client(&lockt->lt_clientid, cstate, nn); in nfsd4_lockt() 7616 switch (lockt->lt_type) { in nfsd4_lockt() 7631 lo = find_lockowner_str(cstate->clp, &lockt->lt_owner); in nfsd4_lockt() 7637 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 7638 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt() 7648 nfs4_set_lock_denied(file_lock, &lockt->lt_denied); in nfsd4_lockt()
|
D | xdr4.h | 649 struct nfsd4_lockt lockt; member
|