Searched refs:redzone (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
H A Dvalidate.c17 unsigned long dst_off, unsigned long len, void *redzone, do_one()
49 if (memcmp(dst, redzone, dstp - dst)) { do_one()
50 printf("(%p,%p,%ld) redzone before corrupted\n", do_one()
55 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { do_one()
56 printf("(%p,%p,%ld) redzone after corrupted\n", do_one()
64 char *src, *dst, *redzone, *fill; test_copy_loop() local
70 redzone = malloc(BUFLEN); test_copy_loop()
73 if (!src || !dst || !redzone || !fill) { test_copy_loop()
78 memset(redzone, POISON, BUFLEN); test_copy_loop()
88 redzone, fill); test_copy_loop()
16 do_one(char *src, char *dst, unsigned long src_off, unsigned long dst_off, unsigned long len, void *redzone, void *fill) do_one() argument
/linux-4.4.14/mm/kasan/
H A Dkasan.h10 #define KASAN_PAGE_REDZONE 0xFE /* redzone for kmalloc_large allocations */
11 #define KASAN_KMALLOC_REDZONE 0xFC /* redzone inside slub object */
13 #define KASAN_GLOBAL_REDZONE 0xFA /* redzone for global variable */
16 * Stack redzone shadow values
/linux-4.4.14/arch/powerpc/include/asm/
H A Dptrace.h32 * Size of redzone that userspace is allowed to use below the stack
36 * For kernel code we allow a 288-byte redzone, in order to conserve
38 * hopefully allow explicit control of the redzone size in future.
/linux-4.4.14/arch/openrisc/kernel/
H A Dprocess.c158 sp -= STACK_FRAME_OVERHEAD; /* redzone */ copy_thread()
163 sp -= STACK_FRAME_OVERHEAD; /* redzone */ copy_thread()
H A Dsignal.c140 /* redzone */ get_sigframe()
/linux-4.4.14/tools/vm/
H A Dslabinfo.c89 int redzone; variable
647 redzone = 1; debug_opt_scan()
666 if (redzone) debug_opt_scan()
668 redzone = 1; debug_opt_scan()
717 if (redzone && !s->red_zone) { slab_debug()
723 if (!redzone && s->red_zone) { slab_debug()
/linux-4.4.14/arch/x86/include/asm/
H A Dcompat.h303 /* -128 for the x32 ABI redzone */ arch_compat_alloc_user_space()
/linux-4.4.14/mm/
H A Dslab.c349 * redzone word.
351 * cachep->size - 2* BYTES_PER_WORD: redzone word [BYTES_PER_WORD long]
2138 /* If redzoning, ensure that the second redzone is suitably __kmem_cache_create()
2244 * the redzone and userword anyhow, so switch them off. __kmem_cache_create()
2708 printk(KERN_ERR "%p: redzone 1:0x%llx, redzone 2:0x%llx.\n", verify_redzone_free()
2896 "%p: redzone 1:0x%llx, redzone 2:0x%llx\n", cache_alloc_debugcheck_after()
H A Dslub.c4450 pr_err("\n3. kmalloc-512: Clobber redzone 0xab->0x%p\n\n", p); resiliency_test()
/linux-4.4.14/arch/x86/kernel/
H A Dsignal.c212 /* redzone */ get_sigframe()
/linux-4.4.14/arch/powerpc/kernel/
H A Dsignal_64.c67 /* New 64 bit little-endian ABI allows redzone of 512 bytes below sp */
/linux-4.4.14/arch/x86/xen/
H A Dmmu.c123 * redzone above it, so round it up to a PGD boundary.

Completed in 537 milliseconds