Searched refs:buf_write_count (Results 1 – 13 of 13) sorted by relevance
562 BUG_ON((int)(async->munge_count - async->buf_write_count) > 0); in comedi_buf_munge()594 BUG_ON((int)(async->munge_count - async->buf_write_count) > 0); in comedi_buf_munge()653 if ((int)(async->buf_write_count + nbytes - in comedi_buf_write_free()656 nbytes = async->buf_write_alloc_count - async->buf_write_count; in comedi_buf_write_free()658 async->buf_write_count += nbytes; in comedi_buf_write_free()660 comedi_buf_munge(async, async->buf_write_count - async->munge_count); in comedi_buf_write_free()801 async->buf_write_count = 0; in comedi_reset_async_buf()
147 unsigned int buf_write_count; member424 return async->buf_write_alloc_count - async->buf_write_count; in comedi_buf_write_n_allocated()
599 bi.buf_write_count = 0; in do_bufinfo_ioctl()619 && async->buf_write_count == async->buf_read_count) { in do_bufinfo_ioctl()631 bi.buf_write_count = async->buf_write_count; in do_bufinfo_ioctl()1827 async->buf_read_count - async->buf_write_count == 0) { in comedi_read()
440 unsigned int buf_write_count; member
185 if (s->async->buf_write_count >= devpriv->ai_bytes_to_read) { in intr_handler()
498 return s->async->buf_write_count - s->async->buf_read_count; in das16m1_poll()
586 count = nbytes - async->buf_write_count; in mite_sync_input_dma()
807 return s->async->buf_write_count - s->async->buf_read_count; in pcl816_ai_poll()
501 count = s->async->buf_write_count - s->async->buf_read_count; in ni_pcidio_poll()
1203 return s->async->buf_write_count - s->async->buf_read_count; in pcl812_ai_poll()
918 return s->async->buf_write_count - s->async->buf_read_count; in das1800_ai_poll()
1715 return s->async->buf_write_count - s->async->buf_read_count;
1779 count = s->async->buf_write_count - s->async->buf_read_count; in ni_ai_poll()