Home
last modified time | relevance | path

Searched refs:ISCSI_HDR_LEN (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c32 static const u32 hdr_len = TX_HDR_LEN + ISCSI_HDR_LEN; in __cxgbit_alloc_skb()
43 __skb_put(skb, ISCSI_HDR_LEN); in __cxgbit_alloc_skb()
57 __skb_put(skb, ISCSI_HDR_LEN); in __cxgbit_alloc_skb()
421 memset(skb->data, 0, ISCSI_HDR_LEN); in cxgbit_tx_datain_iso()
427 ((num_pdu - 1) * ISCSI_HDR_LEN); in cxgbit_tx_datain_iso()
447 iso_info.len = ISCSI_HDR_LEN + plen; in cxgbit_tx_datain_iso()
494 memcpy(skb->data, cmd->pdu, ISCSI_HDR_LEN); in cxgbit_tx_datain()
544 memcpy(skb->data, cmd->pdu, ISCSI_HDR_LEN); in cxgbit_xmit_nondatain_pdu()
549 skb_store_bits(skb, ISCSI_HDR_LEN, data_buf, data_buf_len); in cxgbit_xmit_nondatain_pdu()
552 skb_store_bits(skb, ISCSI_HDR_LEN + data_buf_len, in cxgbit_xmit_nondatain_pdu()
[all …]
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target.c504 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()
[all …]
Discsi_target_util.c1103 tx_hdr_size = ISCSI_HDR_LEN; in iscsit_fe_sendpage_sg()
1206 memset(&login->rsp[0], 0, ISCSI_HDR_LEN); in iscsit_tx_login_rsp()
Discsi_target_parameters.c48 length = (ISCSI_HDR_LEN + text_length); in iscsi_login_tx_data()
51 iov[0].iov_len = ISCSI_HDR_LEN; in iscsi_login_tx_data()
Discsi_target_login.c1013 if (iscsi_login_rx_data(conn, login->req, ISCSI_HDR_LEN) < 0) in iscsit_get_login_rx()
/kernel/linux/linux-5.10/include/target/iscsi/
Discsi_target_core.h446 unsigned char pdu[ISCSI_HDR_LEN + ISCSI_CRC_LEN];
708 char req[ISCSI_HDR_LEN];
709 char rsp[ISCSI_HDR_LEN];
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/
Dib_isert.c1008 memcpy(&login->req[0], isert_get_iscsi_hdr(rx_desc), ISCSI_HDR_LEN); in isert_rx_login_req()
1916 hton24(hdr->dlength, ISCSI_HDR_LEN); in isert_put_reject()
1918 (void *)cmd->buf_ptr, ISCSI_HDR_LEN, in isert_put_reject()
1922 isert_cmd->pdu_buf_len = ISCSI_HDR_LEN; in isert_put_reject()
1924 tx_dsg->length = ISCSI_HDR_LEN; in isert_put_reject()
/kernel/linux/linux-5.10/include/scsi/
Discsi_proto.h22 #define ISCSI_HDR_LEN 48 macro