Searched refs:lockt (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/nfsd/ |
D | nfs4xdr.c | 762 nfsd4_decode_lockt(struct nfsd4_compoundargs *argp, struct nfsd4_lockt *lockt) in nfsd4_decode_lockt() argument 767 lockt->lt_type = be32_to_cpup(p++); in nfsd4_decode_lockt() 768 if((lockt->lt_type < NFS4_READ_LT) || (lockt->lt_type > NFS4_WRITEW_LT)) in nfsd4_decode_lockt() 770 p = xdr_decode_hyper(p, &lockt->lt_offset); in nfsd4_decode_lockt() 771 p = xdr_decode_hyper(p, &lockt->lt_length); in nfsd4_decode_lockt() 772 COPYMEM(&lockt->lt_clientid, 8); in nfsd4_decode_lockt() 773 lockt->lt_owner.len = be32_to_cpup(p++); in nfsd4_decode_lockt() 774 READ_BUF(lockt->lt_owner.len); in nfsd4_decode_lockt() 775 READMEM(lockt->lt_owner.data, lockt->lt_owner.len); in nfsd4_decode_lockt() 3313 nfsd4_encode_lockt(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_lockt *lockt) in nfsd4_encode_lockt() argument [all …]
|
D | nfs4state.c | 6185 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_lockt() local 6194 if (check_lock_length(lockt->lt_offset, lockt->lt_length)) in nfsd4_lockt() 6198 status = lookup_clientid(&lockt->lt_clientid, cstate, nn); in nfsd4_lockt() 6213 switch (lockt->lt_type) { in nfsd4_lockt() 6228 lo = find_lockowner_str(cstate->clp, &lockt->lt_owner); in nfsd4_lockt() 6234 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 6235 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt() 6245 nfs4_set_lock_denied(file_lock, &lockt->lt_denied); in nfsd4_lockt()
|
D | xdr4.h | 556 struct nfsd4_lockt lockt; member
|