Home
last modified time | relevance | path

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

/kernel/
Dscs.c48 static DEFINE_PER_CPU(void *, scs_cache[NR_CACHED_SCS]);
56 s = this_cpu_xchg(scs_cache[i], NULL); in scs_alloc()
87 if (this_cpu_cmpxchg(scs_cache[i], 0, s) == NULL) in scs_free()
101 void **cache = per_cpu_ptr(scs_cache, cpu); in scs_cleanup()
119 static struct kmem_cache *scs_cache; variable
125 s = kmem_cache_alloc_node(scs_cache, GFP_SCS, node); in scs_alloc()
132 kasan_poison_object_data(scs_cache, s); in scs_alloc()
140 kasan_unpoison_object_data(scs_cache, s); in scs_free()
141 kmem_cache_free(scs_cache, s); in scs_free()
151 scs_cache = kmem_cache_create("scs_cache", SCS_SIZE, SCS_SIZE, in scs_init()
[all …]