Lines Matching refs:recv_len
716 int recv_len, ret; in nvme_tcp_recv_data() local
718 recv_len = min_t(size_t, *len, queue->data_remaining); in nvme_tcp_recv_data()
719 if (!recv_len) in nvme_tcp_recv_data()
740 recv_len = min_t(size_t, recv_len, in nvme_tcp_recv_data()
745 &req->iter, recv_len, queue->rcv_hash); in nvme_tcp_recv_data()
748 &req->iter, recv_len); in nvme_tcp_recv_data()
756 *len -= recv_len; in nvme_tcp_recv_data()
757 *offset += recv_len; in nvme_tcp_recv_data()
758 queue->data_remaining -= recv_len; in nvme_tcp_recv_data()
783 size_t recv_len = min_t(size_t, *len, queue->ddgst_remaining); in nvme_tcp_recv_ddgst() local
787 ret = skb_copy_bits(skb, *offset, &ddgst[off], recv_len); in nvme_tcp_recv_ddgst()
791 queue->ddgst_remaining -= recv_len; in nvme_tcp_recv_ddgst()
792 *offset += recv_len; in nvme_tcp_recv_ddgst()
793 *len -= recv_len; in nvme_tcp_recv_ddgst()