Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/
Dmtdchar.c919 struct nand_ecclayout_user *usrlay; in mtdchar_ioctl() local
924 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()