tmr_req 1960 drivers/target/iscsi/iscsi_target.c struct iscsi_tmr_req *tmr_req; tmr_req 1994 drivers/target/iscsi/iscsi_target.c cmd->tmr_req = kzalloc(sizeof(*cmd->tmr_req), GFP_KERNEL); tmr_req 1995 drivers/target/iscsi/iscsi_target.c if (!cmd->tmr_req) { tmr_req 2020 drivers/target/iscsi/iscsi_target.c ret = core_tmr_alloc_req(&cmd->se_cmd, cmd->tmr_req, tcm_function, tmr_req 2026 drivers/target/iscsi/iscsi_target.c cmd->tmr_req->se_tmr_req = cmd->se_cmd.se_tmr_req; tmr_req 2036 drivers/target/iscsi/iscsi_target.c tmr_req = cmd->tmr_req; tmr_req 2061 drivers/target/iscsi/iscsi_target.c if (iscsit_tmr_task_warm_reset(conn, tmr_req, buf) < 0) { tmr_req 2067 drivers/target/iscsi/iscsi_target.c if (iscsit_tmr_task_cold_reset(conn, tmr_req, buf) < 0) { tmr_req 2081 drivers/target/iscsi/iscsi_target.c if (iscsit_check_task_reassign_expdatasn(tmr_req, conn) < 0) tmr_req 36 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req = cmd->tmr_req; tmr_req 56 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->ref_cmd = ref_cmd; tmr_req 57 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->exp_data_sn = be32_to_cpu(hdr->exp_datasn); tmr_req 67 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 87 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 112 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req = cmd->tmr_req; tmr_req 165 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->ref_cmd = ref_cmd; tmr_req 166 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->exp_data_sn = be32_to_cpu(hdr->exp_datasn); tmr_req 167 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->conn_recovery = cr; tmr_req 168 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->task_reassign = 1; tmr_req 195 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 198 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_cmd *cmd = tmr_req->ref_cmd; tmr_req 228 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req) tmr_req 238 drivers/target/iscsi/iscsi_target_tmr.c if (!tmr_req->exp_data_sn) { tmr_req 243 drivers/target/iscsi/iscsi_target_tmr.c cmd->acked_data_sn = (tmr_req->exp_data_sn - 1); tmr_req 300 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req) tmr_req 309 drivers/target/iscsi/iscsi_target_tmr.c if (!tmr_req->exp_data_sn) { tmr_req 314 drivers/target/iscsi/iscsi_target_tmr.c cmd->acked_data_sn = (tmr_req->exp_data_sn - 1); tmr_req 339 drivers/target/iscsi/iscsi_target_tmr.c dr->data_sn = dr->begrun = tmr_req->exp_data_sn; tmr_req 353 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req) tmr_req 363 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 366 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_cmd *cmd = tmr_req->ref_cmd; tmr_req 397 drivers/target/iscsi/iscsi_target_tmr.c return iscsit_task_reassign_complete_write(cmd, tmr_req); tmr_req 399 drivers/target/iscsi/iscsi_target_tmr.c return iscsit_task_reassign_complete_read(cmd, tmr_req); tmr_req 401 drivers/target/iscsi/iscsi_target_tmr.c return iscsit_task_reassign_complete_none(cmd, tmr_req); tmr_req 412 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 418 drivers/target/iscsi/iscsi_target_tmr.c if (!tmr_req->ref_cmd) { tmr_req 422 drivers/target/iscsi/iscsi_target_tmr.c cmd = tmr_req->ref_cmd; tmr_req 428 drivers/target/iscsi/iscsi_target_tmr.c ret = iscsit_task_reassign_complete_nop_out(tmr_req, conn); tmr_req 431 drivers/target/iscsi/iscsi_target_tmr.c ret = iscsit_task_reassign_complete_scsi_cmnd(tmr_req, conn); tmr_req 456 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req = cmd->tmr_req; tmr_req 459 drivers/target/iscsi/iscsi_target_tmr.c if (tmr_req->task_reassign && tmr_req 461 drivers/target/iscsi/iscsi_target_tmr.c return iscsit_task_reassign_complete(tmr_req, conn); tmr_req 471 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 546 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 549 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_cmd *cmd = tmr_req->ref_cmd; tmr_req 566 drivers/target/iscsi/iscsi_target_tmr.c if (!tmr_req->exp_data_sn) tmr_req 590 drivers/target/iscsi/iscsi_target_tmr.c if (r2t->r2t_sn >= tmr_req->exp_data_sn) tmr_req 718 drivers/target/iscsi/iscsi_target_tmr.c cmd->r2t_sn = tmr_req->exp_data_sn; tmr_req 726 drivers/target/iscsi/iscsi_target_tmr.c if (r2t->r2t_sn < tmr_req->exp_data_sn) tmr_req 734 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->exp_data_sn, r2t->r2t_sn, tmr_req 779 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_tmr_req *tmr_req, tmr_req 782 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_cmd *ref_cmd = tmr_req->ref_cmd; tmr_req 801 drivers/target/iscsi/iscsi_target_tmr.c if (tmr_req->exp_data_sn > ref_cmd->data_sn) { tmr_req 804 drivers/target/iscsi/iscsi_target_tmr.c " DataSN: 0x%08x.\n", tmr_req->exp_data_sn, tmr_req 809 drivers/target/iscsi/iscsi_target_tmr.c (tmr_req->exp_data_sn <= ref_cmd->acked_data_sn)) { tmr_req 813 drivers/target/iscsi/iscsi_target_tmr.c " protocol error\n", tmr_req->exp_data_sn, tmr_req 817 drivers/target/iscsi/iscsi_target_tmr.c return iscsit_task_reassign_prepare_read(tmr_req, conn); tmr_req 827 drivers/target/iscsi/iscsi_target_tmr.c if (tmr_req->exp_data_sn > ref_cmd->r2t_sn) { tmr_req 830 drivers/target/iscsi/iscsi_target_tmr.c " R2TSN: 0x%08x.\n", tmr_req->exp_data_sn, tmr_req 834 drivers/target/iscsi/iscsi_target_tmr.c return iscsit_task_reassign_prepare_write(tmr_req, conn); tmr_req 731 drivers/target/iscsi/iscsi_target_util.c kfree(cmd->tmr_req); tmr_req 489 include/target/iscsi/iscsi_target_core.h struct iscsi_tmr_req *tmr_req;