Searched refs:amd_l3_attrs (Results 1 – 1 of 1) sorted by relevance
536 static struct attribute **amd_l3_attrs; in init_amd_l3_attrs() local538 if (amd_l3_attrs) /* already initialized */ in init_amd_l3_attrs()546 amd_l3_attrs = kcalloc(n, sizeof(*amd_l3_attrs), GFP_KERNEL); in init_amd_l3_attrs()547 if (!amd_l3_attrs) in init_amd_l3_attrs()552 amd_l3_attrs[n++] = &dev_attr_cache_disable_0.attr; in init_amd_l3_attrs()553 amd_l3_attrs[n++] = &dev_attr_cache_disable_1.attr; in init_amd_l3_attrs()556 amd_l3_attrs[n++] = &dev_attr_subcaches.attr; in init_amd_l3_attrs()558 cache_private_group.attrs = amd_l3_attrs; in init_amd_l3_attrs()