Home
last modified time | relevance | path

Searched refs:mdsl (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/target/iscsi/
Discsi_target_seq_pdu_list.c210 u32 mdsl; in iscsit_determine_counts_for_list() local
214 mdsl = cmd->conn->conn_ops->MaxXmitDataSegmentLength; in iscsit_determine_counts_for_list()
216 mdsl = cmd->conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_determine_counts_for_list()
240 if ((offset + mdsl) >= cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list()
246 if ((offset + mdsl) in iscsit_determine_counts_for_list()
258 offset += mdsl; in iscsit_determine_counts_for_list()
259 unsolicited_data_length -= mdsl; in iscsit_determine_counts_for_list()
262 if ((offset + mdsl) >= cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list()
266 if ((burstlength + mdsl) >= in iscsit_determine_counts_for_list()
275 burstlength += mdsl; in iscsit_determine_counts_for_list()
[all …]
/linux-5.19.10/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c34 u32 mdsl; in cxgbit_set_mdsl() local
39 mdsl = min_t(u32, lldi->iscsi_iolen - CXGBIT_PDU_NONPAYLOAD_LEN, in cxgbit_set_mdsl()
42 mdsl = lldi->iscsi_iolen - CXGBIT_PDU_NONPAYLOAD_LEN; in cxgbit_set_mdsl()
43 mdsl = min(mdsl, 16384U); in cxgbit_set_mdsl()
46 mdsl = round_down(mdsl, 4); in cxgbit_set_mdsl()
47 mdsl = min_t(u32, mdsl, 4 * PAGE_SIZE); in cxgbit_set_mdsl()
48 mdsl = min_t(u32, mdsl, (MAX_SKB_FRAGS - 1) * PAGE_SIZE); in cxgbit_set_mdsl()
50 cdev->mdsl = mdsl; in cxgbit_set_mdsl()
Dcxgbit.h139 u32 mdsl; member
Dcxgbit_target.c587 if (max_xmitdsl > cdev->mdsl) { in cxgbit_validate_params()
589 conn, "MaxXmitDataSegmentLength=%u", cdev->mdsl)) in cxgbit_validate_params()
724 if (conn_ops->MaxRecvDataSegmentLength > cdev->mdsl) in cxgbit_set_params()
725 conn_ops->MaxRecvDataSegmentLength = cdev->mdsl; in cxgbit_set_params()