Searched refs:usrlay (Results 1 – 1 of 1) sorted by relevance
919 struct nand_ecclayout_user *usrlay; in mtdchar_ioctl() local924 usrlay = kmalloc(sizeof(*usrlay), GFP_KERNEL); in mtdchar_ioctl()925 if (!usrlay) in mtdchar_ioctl()928 shrink_ecclayout(mtd, usrlay); in mtdchar_ioctl()930 if (copy_to_user(argp, usrlay, sizeof(*usrlay))) in mtdchar_ioctl()932 kfree(usrlay); in mtdchar_ioctl()