icresp 1154 drivers/nvme/host/tcp.c struct nvme_tcp_icresp_pdu *icresp; icresp 1164 drivers/nvme/host/tcp.c icresp = kzalloc(sizeof(*icresp), GFP_KERNEL); icresp 1165 drivers/nvme/host/tcp.c if (!icresp) { icresp 1189 drivers/nvme/host/tcp.c iov.iov_base = icresp; icresp 1190 drivers/nvme/host/tcp.c iov.iov_len = sizeof(*icresp); icresp 1197 drivers/nvme/host/tcp.c if (icresp->hdr.type != nvme_tcp_icresp) { icresp 1199 drivers/nvme/host/tcp.c nvme_tcp_queue_id(queue), icresp->hdr.type); icresp 1203 drivers/nvme/host/tcp.c if (le32_to_cpu(icresp->hdr.plen) != sizeof(*icresp)) { icresp 1205 drivers/nvme/host/tcp.c nvme_tcp_queue_id(queue), icresp->hdr.plen); icresp 1209 drivers/nvme/host/tcp.c if (icresp->pfv != NVME_TCP_PFV_1_0) { icresp 1211 drivers/nvme/host/tcp.c nvme_tcp_queue_id(queue), icresp->pfv); icresp 1215 drivers/nvme/host/tcp.c ctrl_ddgst = !!(icresp->digest & NVME_TCP_DATA_DIGEST_ENABLE); icresp 1225 drivers/nvme/host/tcp.c ctrl_hdgst = !!(icresp->digest & NVME_TCP_HDR_DIGEST_ENABLE); icresp 1235 drivers/nvme/host/tcp.c if (icresp->cpda != 0) { icresp 1237 drivers/nvme/host/tcp.c nvme_tcp_queue_id(queue), icresp->cpda); icresp 1243 drivers/nvme/host/tcp.c kfree(icresp); icresp 761 drivers/nvme/target/tcp.c struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; icresp 791 drivers/nvme/target/tcp.c memset(icresp, 0, sizeof(*icresp)); icresp 792 drivers/nvme/target/tcp.c icresp->hdr.type = nvme_tcp_icresp; icresp 793 drivers/nvme/target/tcp.c icresp->hdr.hlen = sizeof(*icresp); icresp 794 drivers/nvme/target/tcp.c icresp->hdr.pdo = 0; icresp 795 drivers/nvme/target/tcp.c icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); icresp 796 drivers/nvme/target/tcp.c icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); icresp 797 drivers/nvme/target/tcp.c icresp->maxdata = cpu_to_le32(0x400000); /* 16M arbitrary limit */ icresp 798 drivers/nvme/target/tcp.c icresp->cpda = 0; icresp 800 drivers/nvme/target/tcp.c icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; icresp 802 drivers/nvme/target/tcp.c icresp->digest |= NVME_TCP_DATA_DIGEST_ENABLE; icresp 804 drivers/nvme/target/tcp.c iov.iov_base = icresp; icresp 805 drivers/nvme/target/tcp.c iov.iov_len = sizeof(*icresp); icresp 182 include/linux/nvme-tcp.h struct nvme_tcp_icresp_pdu icresp;