Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dslab.h198 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
200 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
223 SLAB_POISON | \
538 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
679 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
690 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
Dslab.c1574 if (OBJFREELIST_SLAB(cachep) && cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1582 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1930 flags |= SLAB_POISON; in __kmem_cache_create()
2010 if (debug_pagealloc_enabled() && (flags & SLAB_POISON) && in __kmem_cache_create()
2060 (cachep->flags & SLAB_POISON) && in __kmem_cache_create()
2351 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) { in cache_init_objs_debug()
2366 if (cachep->flags & SLAB_POISON) { in cache_init_objs_debug()
2738 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2776 if (cachep->flags & SLAB_POISON) { in fixup_slab_list()
3003 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]
Dslub.c173 SLAB_POISON | SLAB_STORE_USER)
188 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
828 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
869 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
876 if (s->flags & SLAB_POISON) { in check_object()
1080 if (!(s->flags & SLAB_POISON)) in setup_page_debug()
1255 slub_debug |= SLAB_POISON; in setup_slub_debug()
1285 (slub_debug & SLAB_POISON)) in setup_slub_debug()
3511 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
3533 if (((flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
Dslab_common.c52 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/Linux-v5.4/include/linux/
Dslab.h31 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro