Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 | \
485 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
623 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
634 (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()
1939 flags |= SLAB_POISON; in __kmem_cache_create()
2019 if (debug_pagealloc_enabled_static() && (flags & SLAB_POISON) && in __kmem_cache_create()
2069 (cachep->flags & SLAB_POISON) && in __kmem_cache_create()
2347 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) { in cache_init_objs_debug()
2362 if (cachep->flags & SLAB_POISON) { in cache_init_objs_debug()
2730 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2768 if (cachep->flags & SLAB_POISON) { in fixup_slab_list()
2995 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]
Dslub.c176 SLAB_POISON | SLAB_STORE_USER)
191 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
865 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
907 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
914 if (s->flags & SLAB_POISON) { in check_object()
1118 if (!kmem_cache_debug_flags(s, SLAB_POISON)) in setup_page_debug()
1300 *flags |= SLAB_POISON; in parse_slub_debug_flags()
1392 (slub_debug & SLAB_POISON)) in setup_slub_debug()
3670 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
3692 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 | \
/kernel/linux/linux-5.10/include/linux/
Dslab.h31 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro