Home
last modified time | relevance | path

Searched refs:prealloc_buf (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/comedi/
Dcomedi_buf.c68 if (async->prealloc_buf) { in __comedi_buf_free()
69 vunmap(async->prealloc_buf); in __comedi_buf_free()
70 async->prealloc_buf = NULL; in __comedi_buf_free()
145 async->prealloc_buf = vmap(pages, n_pages, VM_MAP, in __comedi_buf_alloc()
203 if (async->prealloc_buf && async->prealloc_bufsz == new_size) in comedi_buf_alloc()
215 if (!async->prealloc_buf) { in comedi_buf_alloc()
322 async->prealloc_buf + async->munge_ptr, in comedi_buf_munge()
507 memcpy(async->prealloc_buf + write_ptr, data, block_size); in comedi_buf_memcpy_to()
526 src = async->prealloc_buf + read_ptr; in comedi_buf_memcpy_from()
Dcomedidev.h353 void *prealloc_buf; member
Dcomedi_fops.c2392 m = copy_from_user(async->prealloc_buf + wp, buf, n1); in comedi_write()
2396 m = copy_from_user(async->prealloc_buf, buf + n1, n2); in comedi_write()
2526 m = copy_to_user(buf, async->prealloc_buf + rp, n1); in comedi_read()
2530 m = copy_to_user(buf + n1, async->prealloc_buf, n2); in comedi_read()
/drivers/staging/comedi/drivers/
Dni_pcidio.c745 memset(s->async->prealloc_buf, 0xaa, s->async->prealloc_bufsz); in ni_pcidio_change()