writebuf 302 drivers/mtd/devices/mtd_dataflash.c u_char *writebuf = (u_char *) buf; writebuf 373 drivers/mtd/devices/mtd_dataflash.c x[1].tx_buf = writebuf; writebuf 419 drivers/mtd/devices/mtd_dataflash.c writebuf += writelen; writebuf 33 drivers/mtd/tests/oobtest.c static unsigned char *writebuf; writebuf 63 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); writebuf 72 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf + (use_len_max * i) + use_offset; writebuf 173 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); writebuf 195 drivers/mtd/tests/oobtest.c writebuf + (use_len_max * i) + use_offset, writebuf 232 drivers/mtd/tests/oobtest.c writebuf + (use_len_max * i) + use_offset, writebuf 271 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, len); writebuf 296 drivers/mtd/tests/oobtest.c writebuf + (i * oobavail), oobavail); writebuf 382 drivers/mtd/tests/oobtest.c writebuf = kmalloc(mtd->erasesize, GFP_KERNEL); writebuf 383 drivers/mtd/tests/oobtest.c if (!writebuf) writebuf 503 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf; writebuf 550 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf; writebuf 597 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf; writebuf 651 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, sz * cnt); writebuf 660 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf + pg * sz; writebuf 682 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, mtd->oobavail * 2); writebuf 698 drivers/mtd/tests/oobtest.c if (memcmpshow(addr, readbuf, writebuf, writebuf 720 drivers/mtd/tests/oobtest.c kfree(writebuf); writebuf 30 drivers/mtd/tests/pagetest.c static unsigned char *writebuf; writebuf 45 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, mtd->erasesize); writebuf 47 drivers/mtd/tests/pagetest.c return mtdtest_write(mtd, addr, mtd->erasesize, writebuf); writebuf 65 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, mtd->erasesize); writebuf 78 drivers/mtd/tests/pagetest.c if (memcmp(twopages, writebuf + (j * pgsize), bufsize)) { writebuf 99 drivers/mtd/tests/pagetest.c memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); writebuf 213 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, pgsize); writebuf 214 drivers/mtd/tests/pagetest.c strcpy(writebuf, "There is no data like this!"); writebuf 215 drivers/mtd/tests/pagetest.c err = mtdtest_write(mtd, addr0, pgsize, writebuf); writebuf 226 drivers/mtd/tests/pagetest.c if (memcmp(writebuf, readbuf, pgsize)) { writebuf 238 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, pgsize); writebuf 239 drivers/mtd/tests/pagetest.c strcpy(writebuf, "There is no data like this!"); writebuf 240 drivers/mtd/tests/pagetest.c err = mtdtest_write(mtd, addr0, pgsize, writebuf); writebuf 256 drivers/mtd/tests/pagetest.c if (memcmp(writebuf, readbuf, pgsize)) { writebuf 287 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, pgsize); writebuf 288 drivers/mtd/tests/pagetest.c err = mtdtest_write(mtd, addr0, pgsize, writebuf); writebuf 362 drivers/mtd/tests/pagetest.c writebuf = kmalloc(mtd->erasesize, GFP_KERNEL); writebuf 363 drivers/mtd/tests/pagetest.c if (!writebuf) writebuf 444 drivers/mtd/tests/pagetest.c kfree(writebuf); writebuf 33 drivers/mtd/tests/stresstest.c static unsigned char *writebuf; writebuf 116 drivers/mtd/tests/stresstest.c err = mtdtest_write(mtd, addr, len, writebuf); writebuf 189 drivers/mtd/tests/stresstest.c writebuf = vmalloc(bufsize); writebuf 191 drivers/mtd/tests/stresstest.c if (!readbuf || !writebuf || !offsets) writebuf 195 drivers/mtd/tests/stresstest.c prandom_bytes(writebuf, bufsize); writebuf 222 drivers/mtd/tests/stresstest.c vfree(writebuf); writebuf 27 drivers/mtd/tests/subpagetest.c static unsigned char *writebuf; writebuf 49 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); writebuf 50 drivers/mtd/tests/subpagetest.c err = mtd_write(mtd, addr, subpgsize, &written, writebuf); writebuf 63 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); writebuf 64 drivers/mtd/tests/subpagetest.c err = mtd_write(mtd, addr, subpgsize, &written, writebuf); writebuf 87 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); writebuf 88 drivers/mtd/tests/subpagetest.c err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); writebuf 123 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); writebuf 137 drivers/mtd/tests/subpagetest.c if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { writebuf 141 drivers/mtd/tests/subpagetest.c print_subpage(writebuf); writebuf 150 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); writebuf 164 drivers/mtd/tests/subpagetest.c if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { writebuf 168 drivers/mtd/tests/subpagetest.c print_subpage(writebuf); writebuf 187 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); writebuf 201 drivers/mtd/tests/subpagetest.c if (unlikely(memcmp(readbuf, writebuf, subpgsize * k))) { writebuf 219 drivers/mtd/tests/subpagetest.c memset(writebuf, 0xff, subpgsize); writebuf 234 drivers/mtd/tests/subpagetest.c if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { writebuf 311 drivers/mtd/tests/subpagetest.c writebuf = kmalloc(bufsize, GFP_KERNEL); writebuf 312 drivers/mtd/tests/subpagetest.c if (!writebuf) writebuf 420 drivers/mtd/tests/subpagetest.c kfree(writebuf); writebuf 1814 drivers/staging/wlan-ng/hfa384x_usb.c u8 *writebuf; writebuf 1875 drivers/staging/wlan-ng/hfa384x_usb.c writebuf = buf + writebuf 1891 drivers/staging/wlan-ng/hfa384x_usb.c writebuf, writelen); writebuf 696 drivers/usb/class/usblp.c char *writebuf; writebuf 698 drivers/usb/class/usblp.c writebuf = kmalloc(transfer_length, GFP_KERNEL); writebuf 699 drivers/usb/class/usblp.c if (writebuf == NULL) writebuf 703 drivers/usb/class/usblp.c kfree(writebuf); writebuf 710 drivers/usb/class/usblp.c writebuf, transfer_length, usblp_bulk_write, usblp); writebuf 56 drivers/usb/serial/iuu_phoenix.c u8 *writebuf; /* buffer for writing to device */ writebuf 80 drivers/usb/serial/iuu_phoenix.c priv->writebuf = kzalloc(256, GFP_KERNEL); writebuf 81 drivers/usb/serial/iuu_phoenix.c if (!priv->writebuf) { writebuf 94 drivers/usb/serial/iuu_phoenix.c kfree(priv->writebuf); writebuf 108 drivers/usb/serial/iuu_phoenix.c kfree(priv->writebuf); writebuf 605 drivers/usb/serial/iuu_phoenix.c memcpy(buf_ptr, priv->writebuf, priv->writelen); writebuf 706 drivers/usb/serial/iuu_phoenix.c memcpy(priv->writebuf + priv->writelen, buf, count); writebuf 1173 fs/jffs2/gc.c unsigned char *comprbuf = NULL, *writebuf; writebuf 1358 fs/jffs2/gc.c writebuf = pg_ptr + (offset & (PAGE_SIZE -1)); writebuf 1360 fs/jffs2/gc.c comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); writebuf 1386 fs/jffs2/gc.c jffs2_free_comprbuf(comprbuf, writebuf);