Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dslab.h134 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
136 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
159 SLAB_POISON | \
394 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
Dslab.c1665 if (OBJFREELIST_SLAB(cachep) && cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1673 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
2009 flags |= SLAB_POISON; in __kmem_cache_create()
2089 if (debug_pagealloc_enabled() && (flags & SLAB_POISON) && in __kmem_cache_create()
2137 (cachep->flags & SLAB_POISON) && in __kmem_cache_create()
2424 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) { in cache_init_objs_debug()
2439 if (cachep->flags & SLAB_POISON) { in cache_init_objs_debug()
2812 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2850 if (cachep->flags & SLAB_POISON) { in fixup_slab_list()
3076 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]
Dslub.c172 SLAB_POISON | SLAB_STORE_USER)
187 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
829 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
870 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
877 if (s->flags & SLAB_POISON) { in check_object()
1246 slub_debug |= SLAB_POISON; in setup_slub_debug()
1607 if (unlikely(s->flags & SLAB_POISON)) in allocate_slab()
3457 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
3479 if (((flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
5155 return sprintf(buf, "%d\n", !!(s->flags & SLAB_POISON)); in poison_show()
[all …]
Dslab_common.c51 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/Linux-v4.19/include/linux/
Dslab.h30 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro