Searched refs:cache (Results 1 – 5 of 5) sorted by relevance
/lib/ |
D | test_kasan.c | 383 struct kmem_cache *cache = kmem_cache_create("test_cache", in kmem_cache_oob() local 386 if (!cache) { in kmem_cache_oob() 391 p = kmem_cache_alloc(cache, GFP_KERNEL); in kmem_cache_oob() 394 kmem_cache_destroy(cache); in kmem_cache_oob() 399 kmem_cache_free(cache, p); in kmem_cache_oob() 400 kmem_cache_destroy(cache); in kmem_cache_oob() 408 struct kmem_cache *cache; in memcg_accounted_kmem_cache() local 410 cache = kmem_cache_create("test_cache", size, 0, SLAB_ACCOUNT, NULL); in memcg_accounted_kmem_cache() 411 if (!cache) { in memcg_accounted_kmem_cache() 422 p = kmem_cache_alloc(cache, GFP_KERNEL); in memcg_accounted_kmem_cache() [all …]
|
D | lru_cache.c | 87 struct lru_cache *lc_create(const char *name, struct kmem_cache *cache, in lc_create() argument 95 unsigned cache_obj_size = kmem_cache_size(cache); in lc_create() 128 lc->lc_cache = cache; in lc_create() 134 void *p = kmem_cache_alloc(cache, GFP_KERNEL); in lc_create() 151 kmem_cache_free(cache, p - e_off); in lc_create()
|
D | bch.c | 734 rep = bch->cache; in gf_poly_mod() 821 gf_poly_logrep(bch, f, bch->cache); in compute_trace_bk_mod() 836 gf_poly_mod(bch, z, f, bch->cache); in compute_trace_bk_mod() 932 gf_poly_logrep(bch, p, bch->cache); in chien_search() 933 bch->cache[p->deg] = 0; in chien_search() 939 m = bch->cache[j]; in chien_search() 1322 bch->cache = bch_alloc(2*t*sizeof(*bch->cache), &err); in init_bch() 1371 kfree(bch->cache); in free_bch()
|
D | Kconfig | 165 Most modern processors have enough cache to hold this table without 166 thrashing the cache.
|
D | Kconfig.debug | 410 will be able to flush the buffer cache to disk, reboot the system 1420 feature by default. When enabled, memory and cache locality will 2103 use due to the cache aliasing requirements.
|