Searched refs:prealloc_buf (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/comedi/ |
H A D | comedi_buf.c | 59 if (async->prealloc_buf) { 61 vunmap(async->prealloc_buf); 62 async->prealloc_buf = NULL; 170 async->prealloc_buf = buf->virt_addr; 181 /* vmap the pages to prealloc_buf */ 182 async->prealloc_buf = vmap(pages, n_pages, VM_MAP, 267 if (async->prealloc_buf && async->prealloc_bufsz == new_size) 279 if (!async->prealloc_buf) { 387 async->prealloc_buf + async->munge_ptr, 571 memcpy(async->prealloc_buf [all...] |
H A D | comedi_fops.c | 2549 m = copy_from_user(async->prealloc_buf + wp, buf, n1); 2553 m = copy_from_user(async->prealloc_buf, buf + n1, n2); 2683 m = copy_to_user(buf, async->prealloc_buf + rp, n1); 2687 m = copy_to_user(buf + n1, async->prealloc_buf, n2);
|
/linux-master/fs/kernfs/ |
H A D | file.c | 228 buf = of->prealloc_buf; 269 if (buf == of->prealloc_buf) 307 buf = of->prealloc_buf; 345 if (buf == of->prealloc_buf) 673 of->prealloc_buf = kmalloc(len + 1, GFP_KERNEL); 675 if (!of->prealloc_buf) 720 kfree(of->prealloc_buf); 767 kfree(of->prealloc_buf);
|
/linux-master/include/linux/comedi/ |
H A D | comedidev.h | 238 * kernel's contiguous virtual address space pointed to by the 'prealloc_buf' 245 * address space pointed by 'prealloc_buf' is freed when the COMEDI device is 258 * @prealloc_buf: Kernel virtual address of allocated acquisition buffer. 347 void *prealloc_buf; member in struct:comedi_async
|
/linux-master/include/linux/ |
H A D | kernfs.h | 263 char *prealloc_buf; member in struct:kernfs_open_file
|
/linux-master/fs/sysfs/ |
H A D | file.c | 109 * If buf != of->prealloc_buf, we don't know how 112 if (WARN_ON_ONCE(buf != of->prealloc_buf))
|
/linux-master/drivers/comedi/drivers/ |
H A D | ni_pcidio.c | 750 memset(s->async->prealloc_buf, 0xaa, s->async->prealloc_bufsz);
|
Completed in 175 milliseconds