Lines Matching refs:hdlen
689 unsigned int hdlen = len; in xdr_buf_tail_copy_left() local
694 if (hdto + hdlen > head->iov_len) in xdr_buf_tail_copy_left()
695 hdlen = head->iov_len - hdto; in xdr_buf_tail_copy_left()
696 memcpy(head->iov_base + hdto, tail->iov_base + base, hdlen); in xdr_buf_tail_copy_left()
697 base += hdlen; in xdr_buf_tail_copy_left()
698 len -= hdlen; in xdr_buf_tail_copy_left()
733 unsigned int hdlen = len; in xdr_buf_pages_copy_left() local
738 if (hdto + hdlen > head->iov_len) in xdr_buf_pages_copy_left()
739 hdlen = head->iov_len - hdto; in xdr_buf_pages_copy_left()
741 buf->page_base + base, hdlen); in xdr_buf_pages_copy_left()
742 base += hdlen; in xdr_buf_pages_copy_left()
743 len -= hdlen; in xdr_buf_pages_copy_left()