Lines Matching defs:response

782 	const char *response;
867 response = iscsi_param_get_val(params, "CHAP_R");
868 if (response == NULL) {
869 SPDK_ERRLOG("no response\n");
872 if (response[0] == '0' &&
873 (response[1] == 'x' || response[1] == 'X')) {
874 rc = hex2bin(resmd5, SPDK_MD5DIGEST_LEN, response);
876 SPDK_ERRLOG("response format error\n");
879 } else if (response[0] == '0' &&
880 (response[1] == 'b' || response[1] == 'B')) {
881 response += 2;
882 rc = spdk_base64_decode(resmd5, &decoded_len, response);
884 SPDK_ERRLOG("response format error\n");
888 SPDK_ERRLOG("response format error\n");
922 SPDK_DEBUGLOG(iscsi, "tgtmd5=%s, resmd5=%s\n", in_val, response);
1146 * The response function of spdk_iscsi_op_login
1184 * The function which is used to initialize the internal response data
1815 /* write in response */
2144 * so translate this into meaningful response codes and
2425 /* response PDU */
2516 int response;
2561 response = 0;
2564 response = 1;
2567 /* response PDU */
2576 rsph->response = response;
3148 /* response PDU */
3506 /* response PDU */
3511 switch (task->scsi.response) {
3513 rsph->response = ISCSI_TASK_FUNC_RESP_COMPLETE;
3516 rsph->response = ISCSI_TASK_FUNC_RESP_COMPLETE;
3519 rsph->response = ISCSI_TASK_FUNC_REJECTED;
3522 rsph->response = ISCSI_TASK_FUNC_RESP_LUN_NOT_EXIST;
3525 rsph->response = ISCSI_TASK_FUNC_REJECTED;
3528 rsph->response = ISCSI_TASK_FUNC_RESP_FUNC_NOT_SUPPORTED;
3553 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_INVALID_LUN;
3656 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_INVALID_LUN;
3680 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_REJECT_FUNC_NOT_SUPPORTED;
3685 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_REJECT_FUNC_NOT_SUPPORTED;
3698 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_REJECT_FUNC_NOT_SUPPORTED;
3703 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_REJECT_FUNC_NOT_SUPPORTED;
3708 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_REJECT_FUNC_NOT_SUPPORTED;
3713 task->scsi.response = SPDK_SCSI_TASK_MGMT_RESP_REJECT;
3792 * We don't actually check to see if this is a response to the NOP-In
3811 /* response of NOPOUT */
3817 /* response PDU */
4510 * return response code 0x020b to initiator.
4776 * machine, otherwise logout response may not be sent to initiator