Searched refs:fmt_attr_group (Results 1 – 1 of 1) sorted by relevance
54 struct attribute_group fmt_attr_group; member443 struct attribute_group *fmt_attr_group, in amdgpu_pmu_alloc_pmu_attrs() argument455 fmt_attr_group->attrs = kcalloc(config->num_formats + 1, in amdgpu_pmu_alloc_pmu_attrs()456 sizeof(*fmt_attr_group->attrs), GFP_KERNEL); in amdgpu_pmu_alloc_pmu_attrs()458 if (!fmt_attr_group->attrs) in amdgpu_pmu_alloc_pmu_attrs()476 kfree(fmt_attr_group->attrs); in amdgpu_pmu_alloc_pmu_attrs()487 &pmu_entry->fmt_attr_group, in init_pmu_entry_by_type_and_add()566 kfree(pmu_entry->fmt_attr_group.attrs); in init_pmu_entry_by_type_and_add()587 kfree(pe->fmt_attr_group.attrs); in amdgpu_pmu_fini()608 pmu_entry->fmt_attr_group.name = "format"; in create_pmu_entry()[all …]