Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dslab.h21 #define SLAB_POISON 0x00000800UL /* DEBUG: Poison objects */ macro
/linux-2.6.39/mm/
Dslub.c111 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
148 SLAB_POISON | SLAB_STORE_USER)
155 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
160 #define SLUB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
291 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
645 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
679 if ((s->flags & SLAB_POISON) && s->objsize < s->inuse) { in check_object()
685 if (s->flags & SLAB_POISON) { in check_object()
1062 slub_debug |= SLAB_POISON; in setup_slub_debug()
1242 if (unlikely(s->flags & SLAB_POISON)) in new_slab()
[all …]
Dslab.c154 SLAB_POISON | SLAB_HWCACHE_ALIGN | \
1938 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
2231 flags |= SLAB_POISON; in kmem_cache_create()
2234 BUG_ON(flags & SLAB_POISON); in kmem_cache_create()
2388 if (size % PAGE_SIZE == 0 && flags & SLAB_POISON) in kmem_cache_create()
2697 if (cachep->flags & SLAB_POISON) in cache_init_objs()
2711 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) in cache_init_objs()
2723 OFF_SLAB(cachep) && cachep->flags & SLAB_POISON) in cache_init_objs()
2957 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
3114 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]