Searched refs:new_package (Results 1 – 1 of 1) sorted by relevance
1341 struct rapl_package *new_package, *rp; in rapl_detect_topology() local1346 new_package = kzalloc(sizeof(*rp), GFP_KERNEL); in rapl_detect_topology()1347 if (!new_package) { in rapl_detect_topology()1352 new_package->id = phy_package_id; in rapl_detect_topology()1353 new_package->nr_cpus = 1; in rapl_detect_topology()1356 if (rapl_detect_domains(new_package, i) || in rapl_detect_topology()1357 rapl_defaults->check_unit(new_package, i)) { in rapl_detect_topology()1358 kfree(new_package->domains); in rapl_detect_topology()1359 kfree(new_package); in rapl_detect_topology()1364 INIT_LIST_HEAD(&new_package->plist); in rapl_detect_topology()[all …]