readbuf           170 drivers/hid/hid-alps.c 	u8 *readbuf = NULL;
readbuf           204 drivers/hid/hid-alps.c 		readbuf = kzalloc(T4_FEATURE_REPORT_LEN, GFP_KERNEL);
readbuf           205 drivers/hid/hid-alps.c 		if (!readbuf) {
readbuf           210 drivers/hid/hid-alps.c 		ret = hid_hw_raw_request(hdev, T4_FEATURE_REPORT_ID, readbuf,
readbuf           220 drivers/hid/hid-alps.c 		if (*(u32 *)&readbuf[6] != address) {
readbuf           222 drivers/hid/hid-alps.c 				*(u32 *)&readbuf[6], address);
readbuf           226 drivers/hid/hid-alps.c 		if (*(u16 *)&readbuf[10] != 1) {
readbuf           228 drivers/hid/hid-alps.c 				*(u16 *)&readbuf[10]);
readbuf           232 drivers/hid/hid-alps.c 		check_sum = t4_calc_check_sum(readbuf, 6, 7);
readbuf           233 drivers/hid/hid-alps.c 		if (*(u16 *)&readbuf[13] != check_sum) {
readbuf           235 drivers/hid/hid-alps.c 				*(u16 *)&readbuf[13], check_sum);
readbuf           239 drivers/hid/hid-alps.c 		*read_val = readbuf[12];
readbuf           245 drivers/hid/hid-alps.c 	kfree(readbuf);
readbuf           257 drivers/hid/hid-alps.c 	u8 *readbuf;
readbuf           290 drivers/hid/hid-alps.c 		readbuf = kzalloc(U1_FEATURE_REPORT_LEN, GFP_KERNEL);
readbuf           291 drivers/hid/hid-alps.c 		if (!readbuf) {
readbuf           296 drivers/hid/hid-alps.c 		ret = hid_hw_raw_request(hdev, U1_FEATURE_REPORT_ID, readbuf,
readbuf           302 drivers/hid/hid-alps.c 			kfree(readbuf);
readbuf           306 drivers/hid/hid-alps.c 		*read_val = readbuf[6];
readbuf           308 drivers/hid/hid-alps.c 		kfree(readbuf);
readbuf           321 drivers/hid/hid-asus.c 	u8 *readbuf;
readbuf           330 drivers/hid/hid-asus.c 	readbuf = kzalloc(FEATURE_KBD_REPORT_SIZE, GFP_KERNEL);
readbuf           331 drivers/hid/hid-asus.c 	if (!readbuf)
readbuf           334 drivers/hid/hid-asus.c 	ret = hid_hw_raw_request(hdev, FEATURE_KBD_REPORT_ID, readbuf,
readbuf           339 drivers/hid/hid-asus.c 		kfree(readbuf);
readbuf           343 drivers/hid/hid-asus.c 	*kbd_func = readbuf[6];
readbuf           345 drivers/hid/hid-asus.c 	kfree(readbuf);
readbuf           329 drivers/media/radio/radio-cadet.c 	unsigned char readbuf[RDS_BUFFER];
readbuf           345 drivers/media/radio/radio-cadet.c 		readbuf[i++] = dev->rdsbuf[dev->rdsout++];
readbuf           348 drivers/media/radio/radio-cadet.c 	if (i && copy_to_user(data, readbuf, i))
readbuf            32 drivers/mtd/tests/oobtest.c static unsigned char *readbuf;
readbuf           182 drivers/mtd/tests/oobtest.c 		ops.oobbuf    = readbuf;
readbuf           194 drivers/mtd/tests/oobtest.c 		bitflips = memcmpshow(addr, readbuf,
readbuf           219 drivers/mtd/tests/oobtest.c 			ops.oobbuf    = readbuf;
readbuf           231 drivers/mtd/tests/oobtest.c 						    readbuf + use_offset,
readbuf           236 drivers/mtd/tests/oobtest.c 			bitflips += memffshow(addr, 0, readbuf, use_offset);
readbuf           240 drivers/mtd/tests/oobtest.c 			bitflips += memffshow(addr, k, readbuf + k,
readbuf           279 drivers/mtd/tests/oobtest.c 	ops.oobbuf    = readbuf;
readbuf           295 drivers/mtd/tests/oobtest.c 		bitflips = memcmpshow(addr, readbuf + (i * oobavail),
readbuf           379 drivers/mtd/tests/oobtest.c 	readbuf = kmalloc(mtd->erasesize, GFP_KERNEL);
readbuf           380 drivers/mtd/tests/oobtest.c 	if (!readbuf)
readbuf           523 drivers/mtd/tests/oobtest.c 	ops.oobbuf    = readbuf;
readbuf           570 drivers/mtd/tests/oobtest.c 		ops.oobbuf    = readbuf;
readbuf           617 drivers/mtd/tests/oobtest.c 		ops.oobbuf    = readbuf;
readbuf           691 drivers/mtd/tests/oobtest.c 		ops.oobbuf    = readbuf;
readbuf           698 drivers/mtd/tests/oobtest.c 		if (memcmpshow(addr, readbuf, writebuf,
readbuf           721 drivers/mtd/tests/oobtest.c 	kfree(readbuf);
readbuf           192 drivers/mtd/tests/pagetest.c 	char *readbuf = twopages;
readbuf           220 drivers/mtd/tests/pagetest.c 	memset(readbuf, 0, pgsize);
readbuf           221 drivers/mtd/tests/pagetest.c 	err = mtdtest_read(mtd, addr0, pgsize, readbuf);
readbuf           226 drivers/mtd/tests/pagetest.c 	if (memcmp(writebuf, readbuf, pgsize)) {
readbuf           250 drivers/mtd/tests/pagetest.c 	memset(readbuf, 0, pgsize);
readbuf           251 drivers/mtd/tests/pagetest.c 	err = mtdtest_read(mtd, addr0, pgsize, readbuf);
readbuf           256 drivers/mtd/tests/pagetest.c 	if (memcmp(writebuf, readbuf, pgsize)) {
readbuf            34 drivers/mtd/tests/stresstest.c static unsigned char *readbuf;
readbuf            88 drivers/mtd/tests/stresstest.c 	return mtdtest_read(mtd, addr, len, readbuf);
readbuf           188 drivers/mtd/tests/stresstest.c 	readbuf = vmalloc(bufsize);
readbuf           191 drivers/mtd/tests/stresstest.c 	if (!readbuf || !writebuf || !offsets)
readbuf           223 drivers/mtd/tests/stresstest.c 	vfree(readbuf);
readbuf            28 drivers/mtd/tests/subpagetest.c static unsigned char *readbuf;
readbuf           124 drivers/mtd/tests/subpagetest.c 	clear_data(readbuf, subpgsize);
readbuf           125 drivers/mtd/tests/subpagetest.c 	err = mtd_read(mtd, addr, subpgsize, &read, readbuf);
readbuf           137 drivers/mtd/tests/subpagetest.c 	if (unlikely(memcmp(readbuf, writebuf, subpgsize))) {
readbuf           143 drivers/mtd/tests/subpagetest.c 		print_subpage(readbuf);
readbuf           151 drivers/mtd/tests/subpagetest.c 	clear_data(readbuf, subpgsize);
readbuf           152 drivers/mtd/tests/subpagetest.c 	err = mtd_read(mtd, addr, subpgsize, &read, readbuf);
readbuf           164 drivers/mtd/tests/subpagetest.c 	if (unlikely(memcmp(readbuf, writebuf, subpgsize))) {
readbuf           170 drivers/mtd/tests/subpagetest.c 		print_subpage(readbuf);
readbuf           188 drivers/mtd/tests/subpagetest.c 		clear_data(readbuf, subpgsize * k);
readbuf           189 drivers/mtd/tests/subpagetest.c 		err = mtd_read(mtd, addr, subpgsize * k, &read, readbuf);
readbuf           201 drivers/mtd/tests/subpagetest.c 		if (unlikely(memcmp(readbuf, writebuf, subpgsize * k))) {
readbuf           221 drivers/mtd/tests/subpagetest.c 		clear_data(readbuf, subpgsize);
readbuf           222 drivers/mtd/tests/subpagetest.c 		err = mtd_read(mtd, addr, subpgsize, &read, readbuf);
readbuf           234 drivers/mtd/tests/subpagetest.c 		if (unlikely(memcmp(readbuf, writebuf, subpgsize))) {
readbuf           314 drivers/mtd/tests/subpagetest.c 	readbuf = kmalloc(bufsize, GFP_KERNEL);
readbuf           315 drivers/mtd/tests/subpagetest.c 	if (!readbuf)
readbuf           419 drivers/mtd/tests/subpagetest.c 	kfree(readbuf);
readbuf           372 drivers/net/wireless/ath/carl9170/carl9170.h 	u8 *readbuf;
readbuf           151 drivers/net/wireless/ath/carl9170/rx.c 	if (ar->readbuf) {
readbuf           153 drivers/net/wireless/ath/carl9170/rx.c 			memcpy(ar->readbuf, buffer + 4, len - 4);
readbuf           155 drivers/net/wireless/ath/carl9170/rx.c 		ar->readbuf = NULL;
readbuf           671 drivers/net/wireless/ath/carl9170/usb.c 	ar->readbuf = (u8 *)out;
readbuf           708 drivers/net/wireless/ath/carl9170/usb.c 	ar->readbuf = NULL;
readbuf           392 drivers/net/wireless/intersil/hostap/hostap_download.c 	u8 readbuf[4];
readbuf           401 drivers/net/wireless/intersil/hostap/hostap_download.c 	hfa384x_from_aux(dev, 0x7e0038, sizeof(readbuf), readbuf);
readbuf           403 drivers/net/wireless/intersil/hostap/hostap_download.c 	hfa384x_from_aux(dev, 0x7e0038, sizeof(readbuf), readbuf);
readbuf           405 drivers/net/wireless/intersil/hostap/hostap_download.c 	if (memcmp(initseq, readbuf, sizeof(initseq)) == 0) {
readbuf           411 drivers/net/wireless/intersil/hostap/hostap_download.c 		       hcr, initseq, readbuf);
readbuf           895 drivers/staging/rtl8723bs/hal/sdio_ops.c 	u8 *readbuf;
readbuf           934 drivers/staging/rtl8723bs/hal/sdio_ops.c 	readbuf = recvbuf->pskb->data;
readbuf           935 drivers/staging/rtl8723bs/hal/sdio_ops.c 	ret = sdio_read_port(&adapter->iopriv.intf, WLAN_RX0FF_DEVICE_ID, readsize, readbuf);
readbuf           136 drivers/usb/class/usblp.c 	char			*readbuf;		/* read transfer_buffer */
readbuf           176 drivers/usb/class/usblp.c 	dev_dbg(dev, "readbuf=0x%p\n", usblp->readbuf);
readbuf           445 drivers/usb/class/usblp.c 	kfree(usblp->readbuf);
readbuf           839 drivers/usb/class/usblp.c 	    copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) {
readbuf           995 drivers/usb/class/usblp.c 		usblp->readbuf, USBLP_BUF_SIZE_IN,
readbuf          1132 drivers/usb/class/usblp.c 	if (!(usblp->readbuf = kmalloc(USBLP_BUF_SIZE_IN, GFP_KERNEL))) {
readbuf          1199 drivers/usb/class/usblp.c 	kfree(usblp->readbuf);
readbuf            31 fs/jffs2/read.c 	unsigned char *readbuf = NULL;
readbuf            91 fs/jffs2/read.c 		readbuf = buf;
readbuf            93 fs/jffs2/read.c 		readbuf = kmalloc(je32_to_cpu(ri->csize), GFP_KERNEL);
readbuf            94 fs/jffs2/read.c 		if (!readbuf) {
readbuf           110 fs/jffs2/read.c 		decomprbuf = readbuf;
readbuf           114 fs/jffs2/read.c 		  readbuf);
readbuf           116 fs/jffs2/read.c 			       je32_to_cpu(ri->csize), &readlen, readbuf);
readbuf           123 fs/jffs2/read.c 	crc = crc32(0, readbuf, je32_to_cpu(ri->csize));
readbuf           133 fs/jffs2/read.c 			  je32_to_cpu(ri->csize), readbuf,
readbuf           135 fs/jffs2/read.c 		ret = jffs2_decompress(c, f, ri->compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri->csize), je32_to_cpu(ri->dsize));
readbuf           146 fs/jffs2/read.c 	if(decomprbuf != buf && decomprbuf != readbuf)
readbuf           149 fs/jffs2/read.c 	if(readbuf != buf)
readbuf           150 fs/jffs2/read.c 		kfree(readbuf);