Searched refs:lockt (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/fs/nfsd/ |
D | nfs4xdr.c | 937 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_decode_lockt() local 938 memset(lockt, 0, sizeof(*lockt)); in nfsd4_decode_lockt() 939 if (xdr_stream_decode_u32(argp->xdr, &lockt->lt_type) < 0) in nfsd4_decode_lockt() 941 if ((lockt->lt_type < NFS4_READ_LT) || (lockt->lt_type > NFS4_WRITEW_LT)) in nfsd4_decode_lockt() 943 if (xdr_stream_decode_u64(argp->xdr, &lockt->lt_offset) < 0) in nfsd4_decode_lockt() 945 if (xdr_stream_decode_u64(argp->xdr, &lockt->lt_length) < 0) in nfsd4_decode_lockt() 947 return nfsd4_decode_state_owner4(argp, &lockt->lt_clientid, in nfsd4_decode_lockt() 948 &lockt->lt_owner); in nfsd4_decode_lockt() 3900 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_encode_lockt() local 3904 nfsd4_encode_lock_denied(xdr, &lockt->lt_denied); in nfsd4_encode_lockt()
|
D | nfs4state.c | 7742 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_lockt() local 7751 if (check_lock_length(lockt->lt_offset, lockt->lt_length)) in nfsd4_lockt() 7755 status = set_client(&lockt->lt_clientid, cstate, nn); in nfsd4_lockt() 7770 switch (lockt->lt_type) { in nfsd4_lockt() 7785 lo = find_lockowner_str(cstate->clp, &lockt->lt_owner); in nfsd4_lockt() 7791 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 7792 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt() 7802 nfs4_set_lock_denied(file_lock, &lockt->lt_denied); in nfsd4_lockt()
|
D | xdr4.h | 649 struct nfsd4_lockt lockt; member
|