Lines Matching refs:boxes
111 return dieid < max_dies ? pmu->boxes[dieid] : NULL; in uncore_pmu_to_box()
881 kfree(pmu->boxes[die]); in uncore_free_boxes()
882 kfree(pmu->boxes); in uncore_free_boxes()
924 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
925 if (!pmus[i].boxes) in uncore_type_init()
961 kfree(pmus[i].boxes); in uncore_type_init()
1041 if (WARN_ON_ONCE(pmu->boxes[die] != NULL)) in uncore_pci_probe()
1061 pmu->boxes[die] = box; in uncore_pci_probe()
1069 pmu->boxes[die] = NULL; in uncore_pci_probe()
1103 pmu->boxes[box->dieid] = NULL; in uncore_pci_remove()
1166 box = pmu->boxes[die]; in uncore_change_type_ctx()
1205 box = pmu->boxes[id]; in uncore_box_unref()
1254 if (pmu->boxes[die]) in allocate_boxes()
1267 box->pmu->boxes[die] = box; in allocate_boxes()
1295 box = pmu->boxes[id]; in uncore_box_ref()