Searched refs:cbuf_data (Results 1 – 1 of 1) sorted by relevance
78 static int cbuf_data(struct cbuf *cb) in cbuf_data() function659 iov[0].iov_len = con->cb.base - cbuf_data(&con->cb); in receive_from_sock()660 iov[0].iov_base = page_address(con->rx_page) + cbuf_data(&con->cb); in receive_from_sock()668 if (cbuf_data(&con->cb) >= con->cb.base) { in receive_from_sock()669 iov[0].iov_len = PAGE_SIZE - cbuf_data(&con->cb); in receive_from_sock()