Lines Matching refs:ISCSI_HDR_LEN
504 u32 niov = 0, tx_size = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu()
509 iov[niov++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu()
512 u32 *header_digest = (u32 *)&cmd->pdu[ISCSI_HDR_LEN]; in iscsit_xmit_nondatain_pdu()
515 ISCSI_HDR_LEN, 0, NULL, in iscsit_xmit_nondatain_pdu()
582 iov[iov_count++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_datain_pdu()
583 tx_size += ISCSI_HDR_LEN; in iscsit_xmit_datain_pdu()
586 u32 *header_digest = (u32 *)&cmd->pdu[ISCSI_HDR_LEN]; in iscsit_xmit_datain_pdu()
589 ISCSI_HDR_LEN, 0, NULL, in iscsit_xmit_datain_pdu()
803 cmd->buf_ptr = kmemdup(buf, ISCSI_HDR_LEN, GFP_KERNEL); in iscsit_add_reject()
840 cmd->buf_ptr = kmemdup(buf, ISCSI_HDR_LEN, GFP_KERNEL); in iscsit_add_reject_from_cmd()
3084 memset(hdr, 0, ISCSI_HDR_LEN); in iscsit_send_r2t()
3220 memset(hdr, 0, ISCSI_HDR_LEN); in iscsit_build_rsp_pdu()
3561 hton24(hdr->dlength, ISCSI_HDR_LEN); in iscsit_build_reject()
3584 ISCSI_HDR_LEN); in iscsit_send_reject()
3960 buffer = kcalloc(ISCSI_HDR_LEN, sizeof(*buffer), GFP_KERNEL); in iscsit_get_rx_pdu()
3974 iov.iov_len = ISCSI_HDR_LEN; in iscsit_get_rx_pdu()
3976 ret = rx_data(conn, &iov, 1, ISCSI_HDR_LEN); in iscsit_get_rx_pdu()
3977 if (ret != ISCSI_HDR_LEN) { in iscsit_get_rx_pdu()
3993 ISCSI_HDR_LEN, 0, NULL, in iscsit_get_rx_pdu()
4004 memset(buffer, 0xff, ISCSI_HDR_LEN); in iscsit_get_rx_pdu()