Lines Matching refs:pdu_len
107 u32 pdu_len; member
308 req->pdu_len - req->pdu_sent); in nvme_tcp_req_cur_length()
314 req->pdu_len - req->pdu_sent : 0; in nvme_tcp_pdu_data_left()
473 void *pdu, size_t pdu_len) in nvme_tcp_verify_hdgst() argument
487 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
685 u32 h2cdata_sent = req->pdu_len; in nvme_tcp_setup_h2c_data_pdu()
691 req->pdu_len = min(req->h2cdata_left, queue->maxh2cdata); in nvme_tcp_setup_h2c_data_pdu()
693 req->h2cdata_left -= req->pdu_len; in nvme_tcp_setup_h2c_data_pdu()
707 cpu_to_le32(data->hdr.hlen + hdgst + req->pdu_len + ddgst); in nvme_tcp_setup_h2c_data_pdu()
711 data->data_length = cpu_to_le32(req->pdu_len); in nvme_tcp_setup_h2c_data_pdu()
752 req->pdu_len = 0; in nvme_tcp_handle_r2t()
2547 req->pdu_len = 0; in nvme_tcp_setup_cmd_pdu()
2558 req->pdu_len = req->data_len; in nvme_tcp_setup_cmd_pdu()
2564 if (queue->data_digest && req->pdu_len) { in nvme_tcp_setup_cmd_pdu()
2569 pdu->hdr.pdo = req->pdu_len ? pdu->hdr.hlen + hdgst : 0; in nvme_tcp_setup_cmd_pdu()
2571 cpu_to_le32(pdu->hdr.hlen + hdgst + req->pdu_len + ddgst); in nvme_tcp_setup_cmd_pdu()