Home
last modified time | relevance | path

Searched refs:cur_data_len (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/usb/
H A Dusb_dev.c1473 io_len = MIN(m->cur_data_len, uio->uio_resid); in usb_read()
1481 m->cur_data_len -= io_len; in usb_read()
1484 if (m->cur_data_len == 0) { in usb_read()
1585 io_len = m->cur_data_len; in usb_write()
1589 m->cur_data_len = io_len; in usb_write()
1591 io_len = m->max_data_len - m->cur_data_len; in usb_write()
1592 pdata = m->cur_data_ptr + m->cur_data_len; in usb_write()
1595 m->cur_data_len += io_len; in usb_write()
1612 (m->cur_data_len == m->max_data_len)) { in usb_write()
2060 io_len = MIN(len, m->cur_data_len); in usb_fifo_put_data()
[all …]
H A Dusb_mbuf.h41 usb_size_t cur_data_len; member
83 (m)->cur_data_len = (m)->max_data_len; \
H A Dusb_mbuf.c86 m_ptr->cur_data_len = in usb_alloc_mbufs()