Home
last modified time | relevance | path

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

/linux/drivers/mtd/
H A Dmtdchar.c600 size_t datbuf_len, oobbuf_len; in mtdchar_write_ioctl() local
625 datbuf_len = min_t(size_t, req.len, mtd->erasesize); in mtdchar_write_ioctl()
626 if (datbuf_len > 0) { in mtdchar_write_ioctl()
627 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
644 .len = min_t(size_t, req.len, datbuf_len), in mtdchar_write_ioctl()
699 size_t datbuf_len, oobbuf_len; in mtdchar_read_ioctl() local
734 datbuf_len = min_t(size_t, req.len, mtd->erasesize); in mtdchar_read_ioctl()
735 if (datbuf_len > 0) { in mtdchar_read_ioctl()
736 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_read_ioctl()
756 .len = min_t(size_t, req.len, datbuf_len), in mtdchar_read_ioctl()