Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c143 int length, i, cache_num; in get_cache_size() local
147 cache_num = 3; in get_cache_size()
149 cache_num = 2; in get_cache_size()
156 cpu_no, cache_num); in get_cache_size()
/openbmc/linux/sound/soc/codecs/
H A Dmax98373-i2c.c484 for (i = 0; i < max98373->cache_num; i++) in max98373_suspend()
548 max98373->cache_num = ARRAY_SIZE(max98373_i2c_cache_reg); in max98373_i2c_probe()
549 max98373->cache = devm_kcalloc(&i2c->dev, max98373->cache_num, in max98373_i2c_probe()
557 for (i = 0; i < max98373->cache_num; i++) in max98373_i2c_probe()
H 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()
H A Dmax98373.h225 int cache_num; member
H A Dmax98373.c188 for (i = 0; i < max98373->cache_num; i++) { in max98373_feedback_get()
/openbmc/linux/Documentation/translations/it_IT/kernel-hacking/
H 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 …]
/openbmc/linux/Documentation/kernel-hacking/
H 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 …]