Searched refs:usrlay (Results 1 – 1 of 1) sorted by relevance
1158 struct nand_ecclayout_user *usrlay; in mtdchar_ioctl() local1163 usrlay = kmalloc(sizeof(*usrlay), GFP_KERNEL); in mtdchar_ioctl()1164 if (!usrlay) in mtdchar_ioctl()1167 shrink_ecclayout(mtd, usrlay); in mtdchar_ioctl()1169 if (copy_to_user(argp, usrlay, sizeof(*usrlay))) in mtdchar_ioctl()1171 kfree(usrlay); in mtdchar_ioctl()