Searched refs:buf_write_ptr (Results 1 – 4 of 4) sorted by relevance
659 async->buf_write_ptr += nbytes; in comedi_buf_write_free()661 if (async->buf_write_ptr >= async->prealloc_bufsz) in comedi_buf_write_free()662 async->buf_write_ptr %= async->prealloc_bufsz; in comedi_buf_write_free()705 unsigned int write_ptr = async->buf_write_ptr + offset; in comedi_buf_memcpy_to()792 *(short *)(async->prealloc_buf + async->buf_write_ptr) = x; in comedi_buf_put()805 async->buf_write_ptr = 0; in comedi_reset_async_buf()
597 bi.buf_write_ptr = 0; in do_bufinfo_ioctl()632 bi.buf_write_ptr = async->buf_write_ptr; in do_bufinfo_ioctl()1676 if (async->buf_write_ptr + m > async->prealloc_bufsz) in comedi_write()1677 m = async->prealloc_bufsz - async->buf_write_ptr; in comedi_write()1703 m = copy_from_user(async->prealloc_buf + async->buf_write_ptr, in comedi_write()
155 unsigned int buf_write_ptr; /* buffer marker for writer */ member
438 unsigned int buf_write_ptr; member