Lines Matching refs:cdb
525 unsigned char *cdb, in target_xcopy_setup_pt_cmd() argument
543 if (target_cmd_init_cdb(cmd, cdb, GFP_KERNEL)) in target_xcopy_setup_pt_cmd()
591 unsigned char cdb[16]; in target_xcopy_read_source() local
597 memset(&cdb[0], 0, 16); in target_xcopy_read_source()
598 cdb[0] = READ_16; in target_xcopy_read_source()
599 put_unaligned_be64(src_lba, &cdb[2]); in target_xcopy_read_source()
600 put_unaligned_be32(transfer_length_block, &cdb[10]); in target_xcopy_read_source()
607 rc = target_xcopy_setup_pt_cmd(&xpt_cmd, xop, src_dev, &cdb[0], in target_xcopy_read_source()
636 unsigned char cdb[16]; in target_xcopy_write_destination() local
642 memset(&cdb[0], 0, 16); in target_xcopy_write_destination()
643 cdb[0] = WRITE_16; in target_xcopy_write_destination()
644 put_unaligned_be64(dst_lba, &cdb[2]); in target_xcopy_write_destination()
645 put_unaligned_be32(transfer_length_block, &cdb[10]); in target_xcopy_write_destination()
652 rc = target_xcopy_setup_pt_cmd(&xpt_cmd, xop, dst_dev, &cdb[0], in target_xcopy_write_destination()
1019 unsigned char *cdb = &se_cmd->t_task_cdb[0]; in target_do_receive_copy_results() local
1020 int sa = (cdb[1] & 0x1f), list_id = cdb[2]; in target_do_receive_copy_results()