• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bnx2i/

Lines Matching refs:resp_hdr

1357 	struct iscsi_login_rsp *resp_hdr;
1368 resp_hdr = (struct iscsi_login_rsp *) &bnx2i_conn->gen_pdu.resp_hdr;
1369 memset(resp_hdr, 0, sizeof(struct iscsi_hdr));
1370 resp_hdr->opcode = login->op_code;
1371 resp_hdr->flags = login->response_flags;
1372 resp_hdr->max_version = login->version_max;
1373 resp_hdr->active_version = login->version_active;
1374 resp_hdr->hlength = 0;
1376 hton24(resp_hdr->dlength, login->data_length);
1377 memcpy(resp_hdr->isid, &login->isid_lo, 6);
1378 resp_hdr->tsih = cpu_to_be16(login->tsih);
1379 resp_hdr->itt = task->hdr->itt;
1380 resp_hdr->statsn = cpu_to_be32(login->stat_sn);
1381 resp_hdr->exp_cmdsn = cpu_to_be32(login->exp_cmd_sn);
1382 resp_hdr->max_cmdsn = cpu_to_be32(login->max_cmd_sn);
1383 resp_hdr->status_class = login->status_class;
1384 resp_hdr->status_detail = login->status_detail;
1401 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr,
1424 struct iscsi_tm_rsp *resp_hdr;
1433 resp_hdr = (struct iscsi_tm_rsp *) &bnx2i_conn->gen_pdu.resp_hdr;
1434 memset(resp_hdr, 0, sizeof(struct iscsi_hdr));
1435 resp_hdr->opcode = tmf_cqe->op_code;
1436 resp_hdr->max_cmdsn = cpu_to_be32(tmf_cqe->max_cmd_sn);
1437 resp_hdr->exp_cmdsn = cpu_to_be32(tmf_cqe->exp_cmd_sn);
1438 resp_hdr->itt = task->hdr->itt;
1439 resp_hdr->response = tmf_cqe->response;
1441 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0);
1463 struct iscsi_logout_rsp *resp_hdr;
1472 resp_hdr = (struct iscsi_logout_rsp *) &bnx2i_conn->gen_pdu.resp_hdr;
1473 memset(resp_hdr, 0, sizeof(struct iscsi_hdr));
1474 resp_hdr->opcode = logout->op_code;
1475 resp_hdr->flags = logout->response;
1476 resp_hdr->hlength = 0;
1478 resp_hdr->itt = task->hdr->itt;
1479 resp_hdr->statsn = task->hdr->exp_statsn;
1480 resp_hdr->exp_cmdsn = cpu_to_be32(logout->exp_cmd_sn);
1481 resp_hdr->max_cmdsn = cpu_to_be32(logout->max_cmd_sn);
1483 resp_hdr->t2wait = cpu_to_be32(logout->time_to_wait);
1484 resp_hdr->t2retain = cpu_to_be32(logout->time_to_retain);
1486 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0);
1558 hdr = (struct iscsi_nopin *)&bnx2i_conn->gen_pdu.resp_hdr;
1601 struct iscsi_async *resp_hdr;
1616 resp_hdr = (struct iscsi_async *) &bnx2i_conn->gen_pdu.resp_hdr;
1617 memset(resp_hdr, 0, sizeof(struct iscsi_hdr));
1618 resp_hdr->opcode = async_cqe->op_code;
1619 resp_hdr->flags = 0x80;
1621 memcpy(resp_hdr->lun, async_cqe->lun, 8);
1622 resp_hdr->exp_cmdsn = cpu_to_be32(async_cqe->exp_cmd_sn);
1623 resp_hdr->max_cmdsn = cpu_to_be32(async_cqe->max_cmd_sn);
1625 resp_hdr->async_event = async_cqe->async_event;
1626 resp_hdr->async_vcode = async_cqe->async_vcode;
1628 resp_hdr->param1 = cpu_to_be16(async_cqe->param1);
1629 resp_hdr->param2 = cpu_to_be16(async_cqe->param2);
1630 resp_hdr->param3 = cpu_to_be16(async_cqe->param3);
1633 (struct iscsi_hdr *)resp_hdr, NULL, 0);
1662 hdr = (struct iscsi_reject *) &bnx2i_conn->gen_pdu.resp_hdr;