Searched refs:amd_l3_attrs (Results 1 – 1 of 1) sorted by relevance
551 static struct attribute **amd_l3_attrs; in init_amd_l3_attrs() local553 if (amd_l3_attrs) /* already initialized */ in init_amd_l3_attrs()561 amd_l3_attrs = kcalloc(n, sizeof(*amd_l3_attrs), GFP_KERNEL); in init_amd_l3_attrs()562 if (!amd_l3_attrs) in init_amd_l3_attrs()567 amd_l3_attrs[n++] = &dev_attr_cache_disable_0.attr; in init_amd_l3_attrs()568 amd_l3_attrs[n++] = &dev_attr_cache_disable_1.attr; in init_amd_l3_attrs()571 amd_l3_attrs[n++] = &dev_attr_subcaches.attr; in init_amd_l3_attrs()573 cache_private_group.attrs = amd_l3_attrs; in init_amd_l3_attrs()