Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfs4xdr.c767 nfsd4_decode_lockt(struct nfsd4_compoundargs *argp, struct nfsd4_lockt *lockt) in nfsd4_decode_lockt() argument
772 lockt->lt_type = be32_to_cpup(p++); in nfsd4_decode_lockt()
773 if((lockt->lt_type < NFS4_READ_LT) || (lockt->lt_type > NFS4_WRITEW_LT)) in nfsd4_decode_lockt()
775 p = xdr_decode_hyper(p, &lockt->lt_offset); in nfsd4_decode_lockt()
776 p = xdr_decode_hyper(p, &lockt->lt_length); in nfsd4_decode_lockt()
777 COPYMEM(&lockt->lt_clientid, 8); in nfsd4_decode_lockt()
778 lockt->lt_owner.len = be32_to_cpup(p++); in nfsd4_decode_lockt()
779 READ_BUF(lockt->lt_owner.len); in nfsd4_decode_lockt()
780 READMEM(lockt->lt_owner.data, lockt->lt_owner.len); in nfsd4_decode_lockt()
3314 nfsd4_encode_lockt(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_lockt *lockt) in nfsd4_encode_lockt() argument
[all …]
Dnfs4state.c6647 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_lockt() local
6656 if (check_lock_length(lockt->lt_offset, lockt->lt_length)) in nfsd4_lockt()
6660 status = lookup_clientid(&lockt->lt_clientid, cstate, nn); in nfsd4_lockt()
6675 switch (lockt->lt_type) { in nfsd4_lockt()
6690 lo = find_lockowner_str(cstate->clp, &lockt->lt_owner); in nfsd4_lockt()
6696 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt()
6697 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt()
6707 nfs4_set_lock_denied(file_lock, &lockt->lt_denied); in nfsd4_lockt()
Dxdr4.h585 struct nfsd4_lockt lockt; member