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

/linux-4.4.14/arch/x86/mm/kmemcheck/
H A Derror.c18 #define SHADOW_COPY_SIZE (1 << CONFIG_KMEMCHECK_SHADOW_COPY_SHIFT) macro
39 unsigned char shadow_copy[SHADOW_COPY_SIZE];
40 unsigned char memory_copy[SHADOW_COPY_SIZE];
115 for (i = 0; i < SHADOW_COPY_SIZE; ++i) kmemcheck_error_recall()
120 for (i = 0; i < SHADOW_COPY_SIZE; ++i) { kmemcheck_error_recall()
128 * (int) (e->address & (SHADOW_COPY_SIZE - 1)), '^'); kmemcheck_error_recall()
192 & ~(SHADOW_COPY_SIZE - 1)); kmemcheck_error_save()
195 memcpy(e->shadow_copy, shadow_copy, SHADOW_COPY_SIZE); kmemcheck_error_save()
198 memory_copy = (void *) (address & ~(SHADOW_COPY_SIZE - 1)); kmemcheck_error_save()
199 memcpy(e->memory_copy, memory_copy, SHADOW_COPY_SIZE); kmemcheck_error_save()

Completed in 54 milliseconds