Searched refs:new_package (Results 1 – 1 of 1) sorted by relevance
1382 struct rapl_package *new_package, *rp; in rapl_detect_topology() local1387 new_package = kzalloc(sizeof(*rp), GFP_KERNEL); in rapl_detect_topology()1388 if (!new_package) { in rapl_detect_topology()1393 new_package->id = phy_package_id; in rapl_detect_topology()1394 new_package->nr_cpus = 1; in rapl_detect_topology()1397 if (rapl_detect_domains(new_package, i) || in rapl_detect_topology()1398 rapl_defaults->check_unit(new_package, i)) { in rapl_detect_topology()1399 kfree(new_package->domains); in rapl_detect_topology()1400 kfree(new_package); in rapl_detect_topology()1405 INIT_LIST_HEAD(&new_package->plist); in rapl_detect_topology()[all …]