Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dslab.h21 #define SLAB_POISON 0x00000800UL /* DEBUG: Poison objects */ macro
/linux-3.4.99/mm/
Dslub.c112 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
152 SLAB_POISON | SLAB_STORE_USER)
159 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
164 #define SLUB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
313 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
763 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
797 if ((s->flags & SLAB_POISON) && s->objsize < s->inuse) { in check_object()
803 if (s->flags & SLAB_POISON) { in check_object()
1184 slub_debug |= SLAB_POISON; in setup_slub_debug()
1376 if (unlikely(s->flags & SLAB_POISON)) in new_slab()
[all …]
Dslab.c157 SLAB_POISON | SLAB_HWCACHE_ALIGN | \
2048 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
2341 flags |= SLAB_POISON; in kmem_cache_create()
2344 BUG_ON(flags & SLAB_POISON); in kmem_cache_create()
2499 if (size % PAGE_SIZE == 0 && flags & SLAB_POISON) in kmem_cache_create()
2818 if (cachep->flags & SLAB_POISON) in cache_init_objs()
2832 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) in cache_init_objs()
2844 OFF_SLAB(cachep) && cachep->flags & SLAB_POISON) in cache_init_objs()
3078 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
3231 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]