Searched refs:new_package (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/powercap/
H A Dintel_rapl.c1382 struct rapl_package *new_package, *rp; rapl_detect_topology() local
1387 new_package = kzalloc(sizeof(*rp), GFP_KERNEL); for_each_online_cpu()
1388 if (!new_package) { for_each_online_cpu()
1393 new_package->id = phy_package_id; for_each_online_cpu()
1394 new_package->nr_cpus = 1; for_each_online_cpu()
1397 if (rapl_detect_domains(new_package, i) || for_each_online_cpu()
1398 rapl_defaults->check_unit(new_package, i)) { for_each_online_cpu()
1399 kfree(new_package->domains); for_each_online_cpu()
1400 kfree(new_package); for_each_online_cpu()
1405 INIT_LIST_HEAD(&new_package->plist); for_each_online_cpu()
1406 list_add(&new_package->plist, &rapl_packages); for_each_online_cpu()

Completed in 51 milliseconds