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

/linux-4.1.27/mm/
H A 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 | \
H A Dslab.c133 * DEBUG - 1 for kmem_cache_create() to honour; SLAB_RED_ZONE & SLAB_POISON.
139 * FORCED_DEBUG - 1 enables SLAB_RED_ZONE and SLAB_POISON (if possible)
1846 if (cachep->flags & SLAB_POISON) { slab_destroy_debugcheck()
2098 * %SLAB_POISON - Poison the slab with a known test pattern (a5a5a5a5)
2129 flags |= SLAB_POISON; __kmem_cache_create()
2132 BUG_ON(flags & SLAB_POISON); __kmem_cache_create()
2255 if (size % PAGE_SIZE == 0 && flags & SLAB_POISON) __kmem_cache_create()
2501 if (cachep->flags & SLAB_POISON) cache_init_objs()
2515 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) cache_init_objs()
2527 OFF_SLAB(cachep) && cachep->flags & SLAB_POISON) cache_init_objs()
2747 if (cachep->flags & SLAB_POISON) { cache_free_debugcheck()
2884 if (cachep->flags & SLAB_POISON) { cache_alloc_debugcheck_after()
2916 if (cachep->ctor && cachep->flags & SLAB_POISON) cache_alloc_debugcheck_after()
H A 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)) slab_ksize()
786 if (!(s->flags & SLAB_POISON)) slab_pad_check()
822 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { check_object()
829 if (s->flags & SLAB_POISON) { check_object()
1159 slub_debug |= SLAB_POISON; setup_slub_debug()
1435 if (unlikely(s->flags & SLAB_POISON)) new_slab()
3028 if ((flags & SLAB_POISON) && !(flags & SLAB_DESTROY_BY_RCU) && calculate_sizes()
3050 if (((flags & (SLAB_DESTROY_BY_RCU | SLAB_POISON)) || calculate_sizes()
4665 return sprintf(buf, "%d\n", !!(s->flags & SLAB_POISON)); poison_show()
4674 s->flags &= ~SLAB_POISON; poison_store()
4677 s->flags |= SLAB_POISON; poison_store()
H A Dslab_common.c36 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
351 * %SLAB_POISON - Poison the slab with a known test pattern (a5a5a5a5)
/linux-4.1.27/include/linux/
H A Dslab.h25 #define SLAB_POISON 0x00000800UL /* DEBUG: Poison objects */ macro

Completed in 224 milliseconds