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
627 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
628 if (!datbuf) in mtdchar_write_ioctl()
636 kvfree(datbuf); in mtdchar_write_ioctl()
646 .datbuf = datbuf, in mtdchar_write_ioctl()
668 if (copy_from_user(datbuf, usr_data, ops.len) || in mtdchar_write_ioctl()
686 kvfree(datbuf); in mtdchar_write_ioctl()
698 uint8_t *datbuf = NULL, *oobbuf = NULL; in mtdchar_read_ioctl() local
736 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_read_ioctl()
737 if (!datbuf) { in mtdchar_read_ioctl()
758 .datbuf = datbuf, in mtdchar_read_ioctl()
784 if (copy_to_user(usr_data, ops.datbuf, ops.retlen) || in mtdchar_read_ioctl()
818 kvfree(datbuf); in mtdchar_read_ioctl()