Home
last modified time | relevance | path

Searched refs:writebuf (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/mtd/tests/
H A Dstresstest.c33 static unsigned char *writebuf; variable
107 err = mtdtest_write(mtd, addr, len, writebuf); in do_write()
180 writebuf = vmalloc(bufsize); in mtd_stresstest_init()
182 if (!readbuf || !writebuf || !offsets) in mtd_stresstest_init()
186 get_random_bytes(writebuf, bufsize); in mtd_stresstest_init()
213 vfree(writebuf); in mtd_stresstest_init()
/linux/drivers/char/xillybus/
H A Dxillyusb.c83 unsigned int writebuf; member
232 unsigned int writebuf = fifo->writebuf; in fifo_write() local
248 fifo->writebuf = writebuf; in fifo_write()
256 rc = (*copier)(fifo->mem[writebuf] + writepos, data + done, n); in fifo_write()
269 writebuf++; in fifo_write()
271 if (writebuf == fifo->bufnum) in fifo_write()
272 writebuf = 0; in fifo_write()
413 fifo->writebuf = 0; in fifo_init()
/linux/drivers/usb/serial/
H A Diuu_phoenix.c56 u8 *writebuf; /* buffer for writing to device */ member
80 priv->writebuf = kzalloc(256, GFP_KERNEL); in iuu_port_probe()
81 if (!priv->writebuf) { in iuu_port_probe()
94 kfree(priv->writebuf); in iuu_port_probe()
108 kfree(priv->writebuf); in iuu_port_remove()
611 memcpy(buf_ptr, priv->writebuf, priv->writelen); in iuu_bulk_write()
711 memcpy(priv->writebuf + priv->writelen, buf, count); in iuu_uart_write()
/linux/drivers/mtd/devices/
H A Dmtd_dataflash.c308 u_char *writebuf = (u_char *) buf; in dataflash_write() local
379 x[1].tx_buf = writebuf; in dataflash_write()
425 writebuf += writelen; in dataflash_write()
/linux/fs/jffs2/
H A Dgc.c1173 unsigned char *comprbuf = NULL, *writebuf; in jffs2_garbage_collect_dnode() local
1358 writebuf = pg_ptr + (offset & (PAGE_SIZE -1)); in jffs2_garbage_collect_dnode()
1360 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode()
1386 jffs2_free_comprbuf(comprbuf, writebuf); in jffs2_garbage_collect_dnode()