Home
last modified time | relevance | path

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

/linux/drivers/base/
A Dnode.c228 struct node_cache_attrs cache_attrs; member
238 to_cache_info(dev)->cache_attrs.name); \
247 static struct attribute *cache_attrs[] = { variable
306 list_for_each_entry(info, &node->cache_attrs, node) { in node_add_cache()
307 if (info->cache_attrs.level == cache_attrs->level) { in node_add_cache()
310 cache_attrs->level); in node_add_cache()
329 if (dev_set_name(dev, "index%d", cache_attrs->level)) in node_add_cache()
332 info->cache_attrs = *cache_attrs; in node_add_cache()
335 cache_attrs->level); in node_add_cache()
339 list_add_tail(&info->node, &node->cache_attrs); in node_add_cache()
[all …]
/linux/drivers/acpi/numa/
A Dhmat.c58 struct node_cache_attrs cache_attrs; member
68 struct node_cache_attrs cache_attrs; member
386 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()
387 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; in hmat_parse_cache()
392 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP; in hmat_parse_cache()
395 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED; in hmat_parse_cache()
399 tcache->cache_attrs.indexing = NODE_CACHE_OTHER; in hmat_parse_cache()
405 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_BACK; in hmat_parse_cache()
408 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_THROUGH; in hmat_parse_cache()
412 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_OTHER; in hmat_parse_cache()
[all …]
/linux/include/linux/
A Dnode.h68 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs);
73 struct node_cache_attrs *cache_attrs) in node_add_cache() argument
92 struct list_head cache_attrs; member

Completed in 7 milliseconds