Lines Matching defs:se_cmd

923 	req->se_cmd.map_tag = tag;
924 req->se_cmd.map_cpu = cpu;
925 req->se_cmd.tag = next_orb;
1220 req->se_cmd.tag = req->orb_pointer;
1221 target_submit_cmd(&req->se_cmd, sess->se_sess, req->cmd_buf,
1250 if (req->se_cmd.data_direction == DMA_FROM_DEVICE) {
1283 length = req->se_cmd.data_length;
1286 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents,
1348 * final se_cmd->cmd_kref put.
1351 target_put_sess_cmd(&req->se_cmd);
1357 struct se_cmd *se_cmd = &req->se_cmd;
1361 WARN_ON(se_cmd->scsi_sense_length < 18);
1387 status[0] |= se_cmd->scsi_status & 0x3f;/* status */
1424 struct se_cmd *se_cmd = &req->se_cmd;
1426 if (se_cmd->scsi_sense_length) {
1441 struct se_cmd *se_cmd = &req->se_cmd;
1442 struct se_session *se_sess = se_cmd->se_sess;
1447 target_free_tag(se_sess, se_cmd);
1690 static void sbp_release_cmd(struct se_cmd *se_cmd)
1692 struct sbp_target_request *req = container_of(se_cmd,
1693 struct sbp_target_request, se_cmd);
1698 static int sbp_write_pending(struct se_cmd *se_cmd)
1700 struct sbp_target_request *req = container_of(se_cmd,
1701 struct sbp_target_request, se_cmd);
1717 target_execute_cmd(se_cmd);
1721 static int sbp_queue_data_in(struct se_cmd *se_cmd)
1723 struct sbp_target_request *req = container_of(se_cmd,
1724 struct sbp_target_request, se_cmd);
1745 static int sbp_queue_status(struct se_cmd *se_cmd)
1747 struct sbp_target_request *req = container_of(se_cmd,
1748 struct sbp_target_request, se_cmd);
1753 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd)
1757 static void sbp_aborted_task(struct se_cmd *se_cmd)
1762 static int sbp_check_stop_free(struct se_cmd *se_cmd)
1764 struct sbp_target_request *req = container_of(se_cmd,
1765 struct sbp_target_request, se_cmd);
1767 return transport_generic_free_cmd(&req->se_cmd, 0);