Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dslab.h136 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
138 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
161 SLAB_POISON | \
488 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
626 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
637 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
Dslab.c1580 if (OBJFREELIST_SLAB(cachep) && cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1588 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 …]
Dslub.c175 SLAB_POISON | SLAB_STORE_USER)
190 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
864 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
906 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
913 if (s->flags & SLAB_POISON) { in check_object()
1117 if (!kmem_cache_debug_flags(s, SLAB_POISON)) in setup_page_debug()
1299 *flags |= SLAB_POISON; in parse_slub_debug_flags()
1388 (slub_debug & SLAB_POISON)) in setup_slub_debug()
3668 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
3690 if (((flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
Dslab_common.c54 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/Linux-v5.10/include/linux/
Dslab.h31 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro