Searched refs:SLAB_RED_ZONE (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)
361 BUG_ON(!(cachep->flags & SLAB_RED_ZONE)); dbg_redzone1()
368 BUG_ON(!(cachep->flags & SLAB_RED_ZONE)); dbg_redzone2()
1754 if (cachep->flags & SLAB_RED_ZONE) { print_objinfo()
1858 if (cachep->flags & SLAB_RED_ZONE) { slab_destroy_debugcheck()
2101 * %SLAB_RED_ZONE - Insert `Red' zones around the allocated memory to check
2127 flags |= SLAB_RED_ZONE | SLAB_STORE_USER; __kmem_cache_create()
2145 if (flags & SLAB_RED_ZONE) { __kmem_cache_create()
2159 flags &= ~(SLAB_RED_ZONE | SLAB_STORE_USER); __kmem_cache_create()
2176 if (flags & SLAB_RED_ZONE) { __kmem_cache_create()
2186 if (flags & SLAB_RED_ZONE) __kmem_cache_create()
2256 flags &= ~(SLAB_RED_ZONE | SLAB_STORE_USER); __kmem_cache_create()
2506 if (cachep->flags & SLAB_RED_ZONE) { cache_init_objs()
2518 if (cachep->flags & SLAB_RED_ZONE) { cache_init_objs()
2733 if (cachep->flags & SLAB_RED_ZONE) { cache_free_debugcheck()
2899 if (cachep->flags & SLAB_RED_ZONE) { cache_alloc_debugcheck_after()
4144 if (!(cachep->flags & SLAB_RED_ZONE)) leaks_show()
H A Dslub.c163 #define DEBUG_DEFAULT_FLAGS (SLAB_DEBUG_FREE | SLAB_RED_ZONE | \
171 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
294 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) slab_ksize()
634 if (s->flags & SLAB_RED_ZONE) print_trailer()
683 if (s->flags & SLAB_RED_ZONE) init_object()
817 if (s->flags & SLAB_RED_ZONE) { check_object()
1023 if (!(s->flags & (SLAB_STORE_USER|SLAB_RED_ZONE|__OBJECT_POISON))) setup_object_debug()
1156 slub_debug |= SLAB_RED_ZONE; setup_slub_debug()
3040 if ((flags & SLAB_RED_ZONE) && size == s->object_size) calculate_sizes()
3072 if (flags & SLAB_RED_ZONE) calculate_sizes()
4644 return sprintf(buf, "%d\n", !!(s->flags & SLAB_RED_ZONE)); red_zone_show()
4653 s->flags &= ~SLAB_RED_ZONE; red_zone_store()
4656 s->flags |= SLAB_RED_ZONE; red_zone_store()
H A Dslab_common.c36 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
354 * %SLAB_RED_ZONE - Insert `Red' zones around the allocated memory to check
/linux-4.1.27/include/linux/
H A Dslab.h24 #define SLAB_RED_ZONE 0x00000400UL /* DEBUG: Red zone objs in a cache */ macro

Completed in 329 milliseconds