Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dslub_kunit.c33 SLAB_POISON|SLAB_NO_USER_FLAGS, NULL); in test_next_pointer()
78 SLAB_POISON|SLAB_NO_USER_FLAGS, NULL); in test_first_word()
93 SLAB_POISON|SLAB_NO_USER_FLAGS, NULL); in test_clobber_50th_byte()
/Linux-v6.1/mm/
Dslab.h325 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
327 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
350 SLAB_POISON | \
684 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
826 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
838 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
Dslab.c1570 if (OBJFREELIST_SLAB(cachep) && cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1578 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1935 flags |= SLAB_POISON; in __kmem_cache_create()
2015 if (debug_pagealloc_enabled_static() && (flags & SLAB_POISON) && in __kmem_cache_create()
2065 (cachep->flags & SLAB_POISON) && in __kmem_cache_create()
2338 if (cachep->ctor && !(cachep->flags & SLAB_POISON)) { in cache_init_objs_debug()
2353 if (cachep->flags & SLAB_POISON) { in cache_init_objs_debug()
2710 if (cachep->flags & SLAB_POISON) { in cache_free_debugcheck()
2748 if (cachep->flags & SLAB_POISON) { in fixup_slab_list()
2969 if (cachep->flags & SLAB_POISON) { in cache_alloc_debugcheck_after()
[all …]
Dslub.c258 SLAB_POISON | SLAB_STORE_USER)
273 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
1092 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
1133 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
1140 if (s->flags & SLAB_POISON) { in check_object()
1341 if (!kmem_cache_debug_flags(s, SLAB_POISON)) in setup_slab_debug()
1468 *flags |= SLAB_POISON; in parse_slub_debug_flags()
1566 (slub_debug & SLAB_POISON)) in setup_slub_debug()
4183 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
4205 if ((flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
Dslab_common.c48 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/Linux-v6.1/mm/kmsan/
Dhooks.c79 if (unlikely(s->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))) in kmsan_slab_free()
/Linux-v6.1/include/linux/
Dslab.h31 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro