retcfi 62 drivers/mtd/chips/gen_probe.c struct cfi_private *retcfi; retcfi 138 drivers/mtd/chips/gen_probe.c retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); retcfi 140 drivers/mtd/chips/gen_probe.c if (!retcfi) { retcfi 146 drivers/mtd/chips/gen_probe.c memcpy(retcfi, &cfi, sizeof(cfi)); retcfi 147 drivers/mtd/chips/gen_probe.c memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); retcfi 151 drivers/mtd/chips/gen_probe.c struct flchip *pchip = &retcfi->chips[j++]; retcfi 161 drivers/mtd/chips/gen_probe.c return retcfi;