Home
last modified time | relevance | path

Searched refs:cache_num (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/resctrl/
A Dresctrlfs.c133 int cache_num; in get_domain_id() local
136 cache_num = get_resource_cache_level(resource); in get_domain_id()
137 if (cache_num < 0) in get_domain_id()
138 return cache_num; in get_domain_id()
140 sprintf(phys_pkg_path, "%s%d/cache/index%d/id", PHYS_ID_PATH, cpu_no, cache_num); in get_domain_id()
170 int length, i, cache_num; in get_cache_size() local
173 cache_num = get_cache_level(cache_type); in get_cache_size()
174 if (cache_num < 0) in get_cache_size()
175 return cache_num; in get_cache_size()
178 cpu_no, cache_num); in get_cache_size()
/linux/drivers/net/ethernet/google/gve/
A Dgve_flow_rule.c200 u32 *cache_num = &priv->flow_rules_cache.rules_cache_num; in gve_get_flow_rule_entry() local
210 fsp->location > be32_to_cpu(rules_cache[*cache_num - 1].location)) { in gve_get_flow_rule_entry()
218 for (i = 0; i < *cache_num; i++) { in gve_get_flow_rule_entry()
236 u32 *cache_num = &priv->flow_rules_cache.rule_ids_cache_num; in gve_get_flow_rule_ids() local
250 for (i = 0; i < *cache_num; i++) { in gve_get_flow_rule_ids()
257 } while (*cache_num != 0); in gve_get_flow_rule_ids()
/linux/sound/soc/codecs/
A Dmax98373-i2c.c482 for (i = 0; i < max98373->cache_num; i++) in max98373_suspend()
546 max98373->cache_num = ARRAY_SIZE(max98373_i2c_cache_reg); in max98373_i2c_probe()
547 max98373->cache = devm_kcalloc(&i2c->dev, max98373->cache_num, in max98373_i2c_probe()
555 for (i = 0; i < max98373->cache_num; i++) in max98373_i2c_probe()
A Dmax98373-sdw.c255 for (i = 0; i < max98373->cache_num; i++) in max98373_suspend()
747 max98373->cache_num = ARRAY_SIZE(max98373_sdw_cache_reg); in max98373_init()
748 max98373->cache = devm_kcalloc(dev, max98373->cache_num, in max98373_init()
754 for (i = 0; i < max98373->cache_num; i++) in max98373_init()
A Dmax98373.h225 int cache_num; member
A Dmax98373.c187 for (i = 0; i < max98373->cache_num; i++) { in max98373_feedback_get()
/linux/Documentation/kernel-hacking/
A Dlocking.rst399 /* Protects the cache, cache_num, and the objects within it */
402 static unsigned int cache_num = 0;
424 cache_num--;
431 if (++cache_num > MAX_CACHE_SIZE) {
512 static unsigned int cache_num = 0;
613 static unsigned int cache_num = 0;
653 cache_num--;
725 static unsigned int cache_num = 0;
767 cache_num--;
1191 cache_num--;
[all …]
/linux/Documentation/translations/it_IT/kernel-hacking/
A Dlocking.rst419 /* Protects the cache, cache_num, and the objects within it */
422 static unsigned int cache_num = 0;
444 cache_num--;
451 if (++cache_num > MAX_CACHE_SIZE) {
532 static unsigned int cache_num = 0;
634 static unsigned int cache_num = 0;
674 cache_num--;
746 static unsigned int cache_num = 0;
788 cache_num--;
1222 cache_num--;
[all …]

Completed in 24 milliseconds