Searched refs:lockt (Results 1 – 3 of 3) sorted by relevance
/fs/nfsd/ |
D | nfs4xdr.c | 767 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() 3319 nfsd4_encode_lockt(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_lockt *lockt) in nfsd4_encode_lockt() argument [all …]
|
D | nfs4state.c | 6693 struct nfsd4_lockt *lockt = &u->lockt; in nfsd4_lockt() local 6702 if (check_lock_length(lockt->lt_offset, lockt->lt_length)) in nfsd4_lockt() 6706 status = lookup_clientid(&lockt->lt_clientid, cstate, nn); in nfsd4_lockt() 6721 switch (lockt->lt_type) { in nfsd4_lockt() 6736 lo = find_lockowner_str(cstate->clp, &lockt->lt_owner); in nfsd4_lockt() 6742 file_lock->fl_start = lockt->lt_offset; in nfsd4_lockt() 6743 file_lock->fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length); in nfsd4_lockt() 6753 nfs4_set_lock_denied(file_lock, &lockt->lt_denied); in nfsd4_lockt()
|
D | xdr4.h | 585 struct nfsd4_lockt lockt; member
|