Home
last modified time | relevance | path

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

/linux-4.1.27/mm/
Dslab.h120 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
122 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
Dslub.c164 SLAB_POISON | SLAB_STORE_USER)
171 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
294 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
786 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
822 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
829 if (s->flags & SLAB_POISON) { in check_object()
1159 slub_debug |= SLAB_POISON; in setup_slub_debug()
1435 if (unlikely(s->flags & SLAB_POISON)) in new_slab()
3028 if ((flags & SLAB_POISON) && !(flags & SLAB_DESTROY_BY_RCU) && in calculate_sizes()
3050 if (((flags & (SLAB_DESTROY_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
Dslab.c1846 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
2129 flags |= SLAB_POISON; in __kmem_cache_create()
2132 BUG_ON(flags & SLAB_POISON); in __kmem_cache_create()
2255 if (size % PAGE_SIZE == 0 && flags & SLAB_POISON) in __kmem_cache_create()
2501 if (cachep->flags & SLAB_POISON) in cache_init_objs()
2515 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) in cache_init_objs()
2527 OFF_SLAB(cachep) && cachep->flags & SLAB_POISON) in cache_init_objs()
2747 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2884 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
2916 if (cachep->ctor && cachep->flags & SLAB_POISON) in cache_alloc_debugcheck_after()
Dslab_common.c36 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/linux-4.1.27/include/linux/
Dslab.h25 #define SLAB_POISON 0x00000800UL /* DEBUG: Poison objects */ macro