Home
last modified time | relevance | path

Searched refs:cache_attrs (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/acpi/numa/
H A Dhmat.c58 struct node_cache_attrs cache_attrs; member
74 struct node_cache_attrs cache_attrs; member
133 if (tcache->cache_attrs.address_mode != in hmat_get_extended_linear_cache_size()
141 *cache_size = tcache->cache_attrs.size; in hmat_get_extended_linear_cache_size()
541 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()
547 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP; in hmat_parse_cache()
550 tcache->cache_attrs.address_mode = in hmat_parse_cache()
555 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED; in hmat_parse_cache()
559 tcache->cache_attrs.indexing = NODE_CACHE_OTHER; in hmat_parse_cache()
565 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_BACK; in hmat_parse_cache()
[all …]
/linux-6.15/drivers/base/
H A Dnode.c229 struct node_cache_attrs cache_attrs; member
239 to_cache_info(dev)->cache_attrs.name); \
249 static struct attribute *cache_attrs[] = { variable
309 list_for_each_entry(info, &node->cache_attrs, node) { in node_add_cache()
310 if (info->cache_attrs.level == cache_attrs->level) { in node_add_cache()
313 cache_attrs->level); in node_add_cache()
332 if (dev_set_name(dev, "index%d", cache_attrs->level)) in node_add_cache()
335 info->cache_attrs = *cache_attrs; in node_add_cache()
338 cache_attrs->level); in node_add_cache()
342 list_add_tail(&info->node, &node->cache_attrs); in node_add_cache()
[all …]
/linux-6.15/include/linux/
H A Dnode.h85 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs);
90 struct node_cache_attrs *cache_attrs) in node_add_cache() argument
105 struct list_head cache_attrs; member