Searched refs:tmp_pdu_hdr (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dpdu.c69 isns_pdu_t *tmp_pdu_hdr; local
85 tmp_pdu_hdr = (isns_pdu_t *)malloc(ISNSP_HEADER_SIZE);
86 if (tmp_pdu_hdr == NULL) {
89 (void) memset((void *)&tmp_pdu_hdr[0], 0, ISNSP_HEADER_SIZE);
91 iovec[0].iov_base = (void *)tmp_pdu_hdr;
113 free(tmp_pdu_hdr);
118 free(tmp_pdu_hdr);
124 payload_len = ntohs(tmp_pdu_hdr->payload_len);
127 free(tmp_pdu_hdr);
134 free(tmp_pdu_hdr);
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.c1585 isns_pdu_t *tmp_pdu_hdr; local
1591 tmp_pdu_hdr = (isns_pdu_t *)kmem_zalloc(ISNSP_HEADER_SIZE, KM_SLEEP);
1593 iovec[0].iov_base = (void *)tmp_pdu_hdr;
1620 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE);
1626 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE);
1633 payload_len = ntohs(tmp_pdu_hdr->payload_len);
1637 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE);
1675 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE);
1682 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE);
1691 (*pdu)->version = ntohs(tmp_pdu_hdr
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c2841 isns_pdu_t tmp_pdu_hdr; local
2860 if (idm_sorecv(so, &tmp_pdu_hdr, ISNSP_HEADER_SIZE) != 0 ||
2861 ntohs(tmp_pdu_hdr.seq) != seq) {
2868 payload_len = ntohs(tmp_pdu_hdr.payload_len);
2908 bcopy(&tmp_pdu_hdr, *pdu, ISNSP_HEADER_SIZE);
2915 flags = ntohs(tmp_pdu_hdr.flags);

Completed in 53 milliseconds