Searched refs:oobbuf_len (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mtd/ |
H A D | mtdchar.c | 600 size_t datbuf_len, oobbuf_len; in mtdchar_write_ioctl() local 631 oobbuf_len = min_t(size_t, req.ooblen, mtd->erasesize); in mtdchar_write_ioctl() 632 if (oobbuf_len > 0) { in mtdchar_write_ioctl() 633 oobbuf = kvmalloc(oobbuf_len, GFP_KERNEL); in mtdchar_write_ioctl() 644 .ooblen = min_t(size_t, req.ooblen, oobbuf_len), in mtdchar_write_ioctl() 698 size_t datbuf_len, oobbuf_len; in mtdchar_read_ioctl() local 741 oobbuf_len = min_t(size_t, req.ooblen, mtd->erasesize); in mtdchar_read_ioctl() 742 if (oobbuf_len > 0) { in mtdchar_read_ioctl() 743 oobbuf = kvmalloc(oobbuf_len, GFP_KERNEL); in mtdchar_read_ioctl() 755 .ooblen = min_t(size_t, req.ooblen, oobbuf_len), in mtdchar_read_ioctl()
|