Home
last modified time | relevance | path

Searched refs:KMSAN_ORIGIN_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/mm/kmsan/
H A Dcore.c98 (u32 *)ALIGN_DOWN((u64)shadow_dst, KMSAN_ORIGIN_SIZE); in kmsan_internal_memmove_metadata()
115 src_off = (u64)src % KMSAN_ORIGIN_SIZE; in kmsan_internal_memmove_metadata()
116 dst_off = (u64)dst % KMSAN_ORIGIN_SIZE; in kmsan_internal_memmove_metadata()
120 oiter_src = (iter + src_off) / KMSAN_ORIGIN_SIZE; in kmsan_internal_memmove_metadata()
121 oiter_dst = (iter + dst_off) / KMSAN_ORIGIN_SIZE; in kmsan_internal_memmove_metadata()
217 if (!IS_ALIGNED(address, KMSAN_ORIGIN_SIZE)) { in kmsan_internal_set_shadow_origin()
218 pad = address % KMSAN_ORIGIN_SIZE; in kmsan_internal_set_shadow_origin()
222 size = ALIGN(size, KMSAN_ORIGIN_SIZE); in kmsan_internal_set_shadow_origin()
232 for (int i = 0; i < size / KMSAN_ORIGIN_SIZE; i++) { in kmsan_internal_set_shadow_origin()
H A Dshadow.c59 KMSAN_WARN_ON(is_origin && !IS_ALIGNED(addr64, KMSAN_ORIGIN_SIZE)); in vmalloc_meta()
131 addr = ALIGN_DOWN(addr, KMSAN_ORIGIN_SIZE); in kmsan_get_metadata()
H A Dkmsan.h30 #define KMSAN_ORIGIN_SIZE 4 macro