Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
A Dslub_kunit.c49 64, SLAB_POISON); in test_next_pointer()
94 64, SLAB_POISON); in test_first_word()
109 64, SLAB_POISON); in test_clobber_50th_byte()
/linux-6.3-rc2/mm/
A Dslab.h341 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
343 #define SLAB_DEBUG_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
367 SLAB_POISON | \
702 if (s->flags & (SLAB_RED_ZONE | SLAB_POISON)) in slab_ksize()
858 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
870 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
A Dslab.c1568 if (OBJFREELIST_SLAB(cachep) && cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1576 if (cachep->flags & SLAB_POISON) { in slab_destroy_debugcheck()
1933 flags |= SLAB_POISON; in __kmem_cache_create()
2013 if (debug_pagealloc_enabled_static() && (flags & SLAB_POISON) && in __kmem_cache_create()
2063 (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 …]
A Dslub.c270 SLAB_POISON | SLAB_STORE_USER)
285 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
1135 if (!(s->flags & SLAB_POISON)) in slab_pad_check()
1188 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
1195 if (s->flags & SLAB_POISON) { in check_object()
1396 if (!kmem_cache_debug_flags(s, SLAB_POISON)) in setup_slab_debug()
1523 *flags |= SLAB_POISON; in parse_slub_debug_flags()
1621 (slub_debug & SLAB_POISON)) in setup_slub_debug()
4369 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
4392 (flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
[all …]
A Dslab_common.c48 #define SLAB_NEVER_MERGE (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER | \
/linux-6.3-rc2/mm/kmsan/
A Dhooks.c79 if (unlikely(s->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))) in kmsan_slab_free()
/linux-6.3-rc2/include/linux/
A Dslab.h31 #define SLAB_POISON ((slab_flags_t __force)0x00000800U) macro

Completed in 31 milliseconds