Lines Matching refs:datbuf
172 ops.datbuf = kbuf; in mtdchar_read()
266 ops.datbuf = kbuf; in mtdchar_write()
358 ops.datbuf = NULL; in mtdchar_writeoob()
395 ops.datbuf = NULL; in mtdchar_readoob()
599 uint8_t *datbuf = NULL, *oobbuf = NULL; in mtdchar_write_ioctl() local
626 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
627 if (!datbuf) in mtdchar_write_ioctl()
635 kvfree(datbuf); in mtdchar_write_ioctl()
645 .datbuf = datbuf, in mtdchar_write_ioctl()
667 if (copy_from_user(datbuf, usr_data, ops.len) || in mtdchar_write_ioctl()
685 kvfree(datbuf); in mtdchar_write_ioctl()
697 uint8_t *datbuf = NULL, *oobbuf = NULL; in mtdchar_read_ioctl() local
734 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_read_ioctl()
735 if (!datbuf) { in mtdchar_read_ioctl()
756 .datbuf = datbuf, in mtdchar_read_ioctl()
782 if (copy_to_user(usr_data, ops.datbuf, ops.retlen) || in mtdchar_read_ioctl()
816 kvfree(datbuf); in mtdchar_read_ioctl()