Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/base/
A Dnode.c229 struct node_cache_attrs cache_attrs; member
239 to_cache_info(dev)->cache_attrs.name); \
248 static struct attribute *cache_attrs[] = { variable
307 list_for_each_entry(info, &node->cache_attrs, node) { in node_add_cache()
308 if (info->cache_attrs.level == cache_attrs->level) { in node_add_cache()
311 cache_attrs->level); in node_add_cache()
330 if (dev_set_name(dev, "index%d", cache_attrs->level)) in node_add_cache()
333 info->cache_attrs = *cache_attrs; in node_add_cache()
336 cache_attrs->level); in node_add_cache()
340 list_add_tail(&info->node, &node->cache_attrs); in node_add_cache()
[all …]
/linux-6.3-rc2/drivers/acpi/numa/
A Dhmat.c57 struct node_cache_attrs cache_attrs; member
67 struct node_cache_attrs cache_attrs; member
385 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()
386 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; in hmat_parse_cache()
391 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP; in hmat_parse_cache()
394 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED; in hmat_parse_cache()
398 tcache->cache_attrs.indexing = NODE_CACHE_OTHER; in hmat_parse_cache()
404 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_BACK; in hmat_parse_cache()
407 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_THROUGH; in hmat_parse_cache()
411 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_OTHER; in hmat_parse_cache()
[all …]
/linux-6.3-rc2/include/linux/
A Dnode.h67 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs);
72 struct node_cache_attrs *cache_attrs) in node_add_cache() argument
87 struct list_head cache_attrs; member

Completed in 10 milliseconds