/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_xcopy.c | 34 static sense_reason_t target_parse_xcopy_cmd(struct xcopy_op *xop); 128 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4() argument 174 if (cscd_index != xop->stdi && cscd_index != xop->dtdi) { in target_xcopy_parse_tiddesc_e4() 180 if (cscd_index == xop->stdi) { in target_xcopy_parse_tiddesc_e4() 181 memcpy(&xop->src_tid_wwn[0], &desc[8], XCOPY_NAA_IEEE_REGEX_LEN); in target_xcopy_parse_tiddesc_e4() 185 if (!memcmp(&xop->local_dev_wwn[0], &xop->src_tid_wwn[0], in target_xcopy_parse_tiddesc_e4() 187 xop->op_origin = XCOL_SOURCE_RECV_OP; in target_xcopy_parse_tiddesc_e4() 188 xop in target_xcopy_parse_tiddesc_e4() 214 target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, struct xcopy_op *xop, unsigned char *p, unsigned short tdll, sense_reason_t *sense_ret) target_xcopy_parse_target_descriptors() argument 311 target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, unsigned char *p) target_xcopy_parse_segdesc_02() argument 348 target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, struct xcopy_op *xop, unsigned char *p, unsigned int sdll, sense_reason_t *sense_ret) target_xcopy_parse_segment_descriptors() argument 419 xcopy_pt_undepend_remotedev(struct xcopy_op *xop) xcopy_pt_undepend_remotedev() argument 535 target_xcopy_setup_pt_cmd( struct xcopy_pt_cmd *xpt_cmd, struct xcopy_op *xop, struct se_device *se_dev, unsigned char *cdb, bool remote_port) target_xcopy_setup_pt_cmd() argument 594 target_xcopy_read_source( struct se_cmd *ec_cmd, struct xcopy_op *xop, struct se_device *src_dev, sector_t src_lba, u32 src_sectors) target_xcopy_read_source() argument 639 target_xcopy_write_destination( struct se_cmd *ec_cmd, struct xcopy_op *xop, struct se_device *dst_dev, sector_t dst_lba, u32 dst_sectors) target_xcopy_write_destination() argument 683 struct xcopy_op *xop = container_of(work, struct xcopy_op, xop_work); target_xcopy_do_work() local 798 target_parse_xcopy_cmd(struct xcopy_op *xop) target_parse_xcopy_cmd() argument 889 struct xcopy_op *xop; target_do_xcopy() local [all...] |
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_xcopy.c | 34 static sense_reason_t target_parse_xcopy_cmd(struct xcopy_op *xop); 115 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4() argument 161 if (cscd_index != xop->stdi && cscd_index != xop->dtdi) { in target_xcopy_parse_tiddesc_e4() 167 if (cscd_index == xop->stdi) { in target_xcopy_parse_tiddesc_e4() 168 memcpy(&xop->src_tid_wwn[0], &desc[8], XCOPY_NAA_IEEE_REGEX_LEN); in target_xcopy_parse_tiddesc_e4() 172 if (!memcmp(&xop->local_dev_wwn[0], &xop->src_tid_wwn[0], in target_xcopy_parse_tiddesc_e4() 174 xop->op_origin = XCOL_SOURCE_RECV_OP; in target_xcopy_parse_tiddesc_e4() 175 xop in target_xcopy_parse_tiddesc_e4() 201 target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, struct xcopy_op *xop, unsigned char *p, unsigned short tdll, sense_reason_t *sense_ret) target_xcopy_parse_target_descriptors() argument 298 target_xcopy_parse_segdesc_02(struct xcopy_op *xop, unsigned char *p) target_xcopy_parse_segdesc_02() argument 334 target_xcopy_parse_segment_descriptors(struct xcopy_op *xop, unsigned char *p, unsigned int sdll, sense_reason_t *sense_ret) target_xcopy_parse_segment_descriptors() argument 405 xcopy_pt_undepend_remotedev(struct xcopy_op *xop) xcopy_pt_undepend_remotedev() argument 510 target_xcopy_setup_pt_cmd( struct xcopy_pt_cmd *xpt_cmd, struct xcopy_op *xop, struct se_device *se_dev, unsigned char *cdb, bool remote_port) target_xcopy_setup_pt_cmd() argument 569 target_xcopy_read_source( struct se_cmd *ec_cmd, struct xcopy_op *xop, struct se_device *src_dev, sector_t src_lba, u32 src_bytes) target_xcopy_read_source() argument 614 target_xcopy_write_destination( struct se_cmd *ec_cmd, struct xcopy_op *xop, struct se_device *dst_dev, sector_t dst_lba, u32 dst_bytes) target_xcopy_write_destination() argument 658 struct xcopy_op *xop = container_of(work, struct xcopy_op, xop_work); target_xcopy_do_work() local 786 target_parse_xcopy_cmd(struct xcopy_op *xop) target_parse_xcopy_cmd() argument 876 struct xcopy_op *xop; target_do_xcopy() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | ppc-opc.c | 2329 #define A(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1) | (((unsigned long)(rc)) & 1)) 2420 #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) 2424 #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) 2431 #define DQX(op, xop) (OP (op) | ((xop) & 0x7)) 2435 #define DSO(op, xop) (OP (op) | ((xop) [all...] |
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | ppc-opc.c | 2329 #define A(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1) | (((unsigned long)(rc)) & 1)) 2420 #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) 2424 #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) 2431 #define DQX(op, xop) (OP (op) | ((xop) & 0x7)) 2435 #define DSO(op, xop) (OP (op) | ((xop) [all...] |