Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/mm/
H A Dslab.h156 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
158 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
181 SLAB_POISON | \
528 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
675 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
686 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
H A Dslab.c1581 if (OBJFREELIST_SLAB(cachep) && cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1589 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1940 flags |= SLAB_POISON; in __kmem_cache_create()
2020 if (debug_pagealloc_enabled_static() && (flags & SLAB_POISON) && in __kmem_cache_create()
2070 (cachep->flags & SLAB_POISON) && in __kmem_cache_create()
2348 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) { in cache_init_objs_debug()
2363 if (cachep->flags & SLAB_POISON) { in cache_init_objs_debug()
2731 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2769 if (cachep->flags & SLAB_POISON) { in fixup_slab_list()
2996 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]
H A Dslub.c179 SLAB_POISON | SLAB_STORE_USER)
194 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
906 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
948 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
955 if (s->flags & SLAB_POISON) { in check_object()
1159 if (!kmem_cache_debug_flags(s, SLAB_POISON)) in setup_page_debug()
1341 *flags |= SLAB_POISON; in parse_slub_debug_flags()
1433 (slub_debug & SLAB_POISON)) in setup_slub_debug()
3738 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
3760 if ((flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
H A Dslab_common.c57 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/OK3568_Linux_fs/kernel/include/linux/
H A Dslab.h31 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro