Home
last modified time | relevance | path

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

/linux/drivers/acpi/numa/
H A Dhmat.c58 struct node_cache_attrs cache_attrs; member
74 struct node_cache_attrs cache_attrs; member
132 if (tcache->cache_attrs.address_mode != in hmat_get_extended_linear_cache_size()
140 *cache_size = tcache->cache_attrs.size; in hmat_get_extended_linear_cache_size()
511 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()
512 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; in hmat_parse_cache()
513 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16; in hmat_parse_cache()
517 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP; in hmat_parse_cache()
520 tcache->cache_attrs.address_mode = in hmat_parse_cache()
525 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED; in hmat_parse_cache()
[all …]
/linux/drivers/base/
H A Dnode.c298 struct node_cache_attrs cache_attrs; member
308 to_cache_info(dev)->cache_attrs.name); \
318 static struct attribute *cache_attrs[] = { variable
368 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) in node_add_cache() argument
378 list_for_each_entry(info, &node->cache_attrs, node) { in node_add_cache()
379 if (info->cache_attrs.level == cache_attrs->level) { in node_add_cache()
382 cache_attrs->level); in node_add_cache()
401 if (dev_set_name(dev, "index%d", cache_attrs->level)) in node_add_cache()
404 info->cache_attrs = *cache_attrs; in node_add_cache()
407 cache_attrs->level); in node_add_cache()
[all …]
/linux/include/linux/
H A Dnode.h85 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs);
92 struct node_cache_attrs *cache_attrs) in node_add_cache() argument
113 struct list_head cache_attrs; member