Lines Matching defs:copy
306 * Returns a pointer to a copy of @nbytes bytes of memory at @p
1798 nfsd4_decode_copy(struct nfsd4_compoundargs *argp, struct nfsd4_copy *copy)
1804 status = nfsd4_decode_stateid(argp, ©->cp_src_stateid);
1807 status = nfsd4_decode_stateid(argp, ©->cp_dst_stateid);
1812 p = xdr_decode_hyper(p, ©->cp_src_pos);
1813 p = xdr_decode_hyper(p, ©->cp_dst_pos);
1814 p = xdr_decode_hyper(p, ©->cp_count);
1816 copy->cp_synchronous = be32_to_cpup(p++);
1820 copy->cp_intra = false;
1821 if (count == 0) { /* intra-server copy */
1822 copy->cp_intra = true;
1827 status = nfsd4_decode_nl4_server(argp, ©->cp_src);
4584 struct nfsd4_copy *copy)
4588 nfserr = nfsd42_encode_write_res(resp, ©->cp_res,
4589 copy->cp_synchronous);
4595 *p++ = cpu_to_be32(copy->cp_synchronous);
5010 * If there were user attributes to copy, but we didn't copy