#include <target/target_core_base.h>
#define XCOPY_HDR_LEN …
#define XCOPY_TARGET_DESC_LEN …
#define XCOPY_SEGMENT_DESC_LEN …
#define XCOPY_NAA_IEEE_REGEX_LEN …
#define XCOPY_MAX_BYTES …
#define XCOPY_CSCD_DESC_ID_LIST_OFF_MAX …
enum xcopy_origin_list { … };
struct xcopy_op { … };
#define RCR_SA_COPY_STATUS …
#define RCR_SA_RECEIVE_DATA …
#define RCR_SA_OPERATING_PARAMETERS …
#define RCR_SA_FAILED_SEGMENT_DETAILS …
#define RCR_OP_MAX_TARGET_DESC_COUNT …
#define RCR_OP_MAX_SG_DESC_COUNT …
#define RCR_OP_MAX_DESC_LIST_LEN …
#define RCR_OP_MAX_SEGMENT_LEN …
#define RCR_OP_TOTAL_CONCURR_COPIES …
#define RCR_OP_MAX_CONCURR_COPIES …
#define RCR_OP_DATA_SEG_GRAN_LOG2 …
#define RCR_OP_INLINE_DATA_GRAN_LOG2 …
#define RCR_OP_HELD_DATA_GRAN_LOG2 …
extern int target_xcopy_setup_pt(void);
extern void target_xcopy_release_pt(void);
extern sense_reason_t target_do_xcopy(struct se_cmd *);
extern sense_reason_t target_do_receive_copy_results(struct se_cmd *);