Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dslab.h121 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
123 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
Dslab.c1848 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
2120 flags |= SLAB_POISON; in __kmem_cache_create()
2123 BUG_ON(flags & SLAB_POISON); in __kmem_cache_create()
2246 if (size % PAGE_SIZE == 0 && flags & SLAB_POISON) in __kmem_cache_create()
2492 if (cachep->flags & SLAB_POISON) in cache_init_objs()
2506 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) in cache_init_objs()
2518 OFF_SLAB(cachep) && cachep->flags & SLAB_POISON) in cache_init_objs()
2738 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2875 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
2907 if (cachep->ctor && cachep->flags & SLAB_POISON) in cache_alloc_debugcheck_after()
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()
788 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
824 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
831 if (s->flags & SLAB_POISON) { in check_object()
1179 slub_debug |= SLAB_POISON; in setup_slub_debug()
1458 if (unlikely(s->flags & SLAB_POISON)) in allocate_slab()
3242 if ((flags & SLAB_POISON) && !(flags & SLAB_DESTROY_BY_RCU) && in calculate_sizes()
3264 if (((flags & (SLAB_DESTROY_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
Dslab_common.c36 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/linux-4.4.14/include/linux/
Dslab.h25 #define SLAB_POISON 0x00000800UL /* DEBUG: Poison objects */ macro