Lines Matching refs:SLAB_RED_ZONE
194 if (kmem_cache_debug_flags(s, SLAB_RED_ZONE)) in fixup_red_left()
233 #define DEBUG_DEFAULT_FLAGS (SLAB_CONSISTENCY_CHECKS | SLAB_RED_ZONE | \
249 #define DEBUG_METADATA_FLAGS (SLAB_RED_ZONE | SLAB_POISON | SLAB_STORE_USER)
618 if (s->flags & SLAB_RED_ZONE) in size_from_object()
626 if (s->flags & SLAB_RED_ZONE) in restore_red_left()
851 if (s->flags & SLAB_RED_ZONE) in print_trailer()
859 if (s->flags & SLAB_RED_ZONE) in print_trailer()
911 if (s->flags & SLAB_RED_ZONE) in init_object()
919 if (s->flags & SLAB_RED_ZONE) in init_object()
1061 if (s->flags & SLAB_RED_ZONE) { in check_object()
1269 if (!kmem_cache_debug_flags(s, SLAB_STORE_USER|SLAB_RED_ZONE|__OBJECT_POISON)) in setup_object_debug()
1458 *flags |= SLAB_RED_ZONE; in parse_slub_debug_flags()
1718 rsize = (s->flags & SLAB_RED_ZONE) ? s->red_left_pad : 0; in slab_free_hook()
4080 if ((flags & SLAB_RED_ZONE) && size == s->object_size) in calculate_sizes()
4091 ((flags & SLAB_RED_ZONE) && s->object_size < sizeof(void *)) || in calculate_sizes()
4129 if (flags & SLAB_RED_ZONE) { in calculate_sizes()
4511 if (!is_kfence && kmem_cache_debug_flags(s, SLAB_RED_ZONE)) { in __check_heap_object()
5565 return sysfs_emit(buf, "%d\n", !!(s->flags & SLAB_RED_ZONE)); in red_zone_show()