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

/linux-master/include/linux/
H A Dnode.h79 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs);
84 struct node_cache_attrs *cache_attrs)
99 struct list_head cache_attrs; member in struct:node
83 node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) argument
/linux-master/drivers/base/
H A Dnode.c224 * @cache_attrs:Attributes for this cache level
229 struct node_cache_attrs cache_attrs; member in struct:node_cache_info
239 to_cache_info(dev)->cache_attrs.name); \
248 static struct attribute *cache_attrs[] = { variable in typeref:struct:attribute
295 * @cache_attrs: Attributes for the cache being added
297 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) argument
307 list_for_each_entry(info, &node->cache_attrs, node) {
308 if (info->cache_attrs.level == cache_attrs->level) {
311 cache_attrs
[all...]
/linux-master/drivers/acpi/numa/
H A Dhmat.c58 struct node_cache_attrs cache_attrs; member in struct:target_cache
74 struct node_cache_attrs cache_attrs; member in struct:memory_target
502 tcache->cache_attrs.size = cache->cache_size;
503 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4;
504 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16;
508 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP;
511 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED;
515 tcache->cache_attrs.indexing = NODE_CACHE_OTHER;
521 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_BACK;
524 tcache->cache_attrs
[all...]

Completed in 124 milliseconds