Lines Matching defs:s
393 _iscsi_sgl_append_with_md(struct spdk_iov_sgl *s,
401 if (s->iov_offset >= data_len) {
402 s->iov_offset -= data_len;
406 rc = spdk_dif_set_md_interleave_iovs(s->iov, s->iovcnt, &buf_iov, 1,
407 s->iov_offset, data_len - s->iov_offset,
414 s->total_size += total_size;
415 s->iov_offset = 0;
416 assert(s->iovcnt >= rc);
417 s->iovcnt -= rc;
418 s->iov += rc;
420 if (s->iovcnt == 0) {
690 SPDK_DEBUGLOG(iscsi, "append session: init port name=%s, tsih=%u, cid=%u\n",
702 SPDK_ERRLOG("no MCS session for init port name=%s, tsih=%d, cid=%d\n",
709 SPDK_ERRLOG("too many connections for init port name=%s, tsih=%d, cid=%d\n",
718 * TODO: need a mutex or other sync mechanism to protect the session's
748 len = snprintf((char *) data + total, alloc_len - total, "%s=%s", key, val);
764 SPDK_DEBUGLOG(iscsi, "no key %.64s\n", key);
794 SPDK_ERRLOG("unsupported AuthMethod %.64s\n", method);
823 snprintf(in_val, ISCSI_TEXT_MAX_VAL_LEN + 1, "%s", algorithm);
832 snprintf(in_val, ISCSI_TEXT_MAX_VAL_LEN + 1, "%s", "Reject");
838 SPDK_DEBUGLOG(iscsi, "got CHAP_A=%s\n", new_val);
903 SPDK_ERRLOG("auth failed (name %.64s)\n", name);
922 SPDK_DEBUGLOG(iscsi, "tgtmd5=%s, resmd5=%s\n", in_val, response);
931 SPDK_ERRLOG("auth failed (name %.64s)\n", name);
934 /* OK initiator's secret */
977 SPDK_ERRLOG("auth failed (name %.64s)\n", name);
982 SPDK_ERRLOG("Initiator wants to use mutual CHAP for security, but it's not enabled.\n");
1339 snprintf(conn->initiator_name, sizeof(conn->initiator_name), "%s", val);
1341 "%s,i,0x%12.12" PRIx64, val, iscsi_get_isid(rsph->isid));
1344 SPDK_DEBUGLOG(iscsi, "Initiator name: %s\n", conn->initiator_name);
1345 SPDK_DEBUGLOG(iscsi, "Initiator port: %s\n", initiator_port_name);
1391 SPDK_DEBUGLOG(iscsi, "Session Type: %s\n", session_type_str);
1414 SPDK_WARNLOG("target %s not found\n", target_name);
1421 SPDK_ERRLOG("target %s is removed\n", target_name);
1427 SPDK_INFOLOG(iscsi, "target %s is redirected\n", target_name);
1507 SPDK_ERRLOG("orig_param %s not found\n", key);
1514 SPDK_ERRLOG("iscsi_param_del(%s) failed\n", key);
1648 SPDK_ERRLOG("Target Short Name (%s) is more than %u characters\n",
1655 snprintf(conn->target_short_name, MAX_TARGET_NAME, "%s",
1658 snprintf(conn->target_short_name, MAX_TARGET_NAME, "%s", target_name);
1790 snprintf(buf, sizeof buf, "%s", target->alias);
1792 snprintf(buf, sizeof buf, "%s", "");
1801 snprintf(buf, sizeof buf, "%s:%s,%d", conn->portal_host, conn->portal_port,
2033 SPDK_DEBUGLOG(iscsi, "Login from %s (%s) on %s tgt_node%d"
2034 " (%s:%s,%d), ISID=%"PRIx64", TSIH=%u,"
2035 " CID=%u, HeaderDigest=%s, DataDigest=%s\n",
2046 SPDK_DEBUGLOG(iscsi, "Login(discovery) from %s (%s) on"
2047 " (%s:%s,%d), ISID=%"PRIx64", TSIH=%u,"
2048 " CID=%u, HeaderDigest=%s, DataDigest=%s\n",
2479 SPDK_DEBUGLOG(iscsi, "Logout(login failed) from %s (%s) on"
2480 " (%s:%s,%d)\n",
2484 SPDK_DEBUGLOG(iscsi, "Logout from %s (%s) on %s tgt_node%d"
2485 " (%s:%s,%d), ISID=%"PRIx64", TSIH=%u,"
2486 " CID=%u, HeaderDigest=%s, DataDigest=%s\n",
2497 SPDK_DEBUGLOG(iscsi, "Logout(discovery) from %s (%s) on"
2498 " (%s:%s,%d), ISID=%"PRIx64", TSIH=%u,"
2499 " CID=%u, HeaderDigest=%s, DataDigest=%s\n",
3200 * This function compare the input pdu's bhs with the pdu's bhs associated by
3847 * task transfertag and the pdu's opcode
3868 * initiator task tag and the pdu's opcode
4566 SPDK_ERRLOG("processing PDU header (opcode=%x) failed on %s(%s)\n",
4613 SPDK_ERRLOG("processing PDU payload (opcode=%x) failed on %s(%s)\n",
4728 SPDK_ERRLOG("data digest error (%s)\n", conn->initiator_name);
4832 SPDK_ERRLOG("header digest error (%s)\n", conn->initiator_name);