Searched refs:kmsan_get_metadata (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/mm/kmsan/ |
H A D | core.c | 93 shadow_dst = kmsan_get_metadata(dst, KMSAN_META_SHADOW); in kmsan_internal_memmove_metadata() 98 shadow_src = kmsan_get_metadata(src, KMSAN_META_SHADOW); in kmsan_internal_memmove_metadata() 111 origin_dst = kmsan_get_metadata(dst, KMSAN_META_ORIGIN); in kmsan_internal_memmove_metadata() 112 origin_src = kmsan_get_metadata(src, KMSAN_META_ORIGIN); in kmsan_internal_memmove_metadata() 269 shadow_start = kmsan_get_metadata(addr, KMSAN_META_SHADOW); in kmsan_internal_set_shadow_origin() 291 (u32 *)kmsan_get_metadata((void *)address, KMSAN_META_ORIGIN); in kmsan_internal_set_shadow_origin() 336 shadow = kmsan_get_metadata((void *)(addr64 + pos), in kmsan_internal_check_memory() 372 origin = kmsan_get_metadata((void *)(addr64 + pos + i), in kmsan_internal_check_memory() 429 next_shadow = kmsan_get_metadata((void *)next_addr, false); in kmsan_metadata_is_contiguous() 430 next_origin = kmsan_get_metadata((void *)next_addr, true); in kmsan_metadata_is_contiguous() [all …]
|
H A D | shadow.c | 97 shadow = kmsan_get_metadata(address, KMSAN_META_SHADOW); in kmsan_get_shadow_origin_ptr() 102 ret.origin = kmsan_get_metadata(address, KMSAN_META_ORIGIN); in kmsan_get_shadow_origin_ptr() 124 void *kmsan_get_metadata(void *address, bool is_origin) in kmsan_get_metadata() function
|
H A D | hooks.c | 128 return (unsigned long)kmsan_get_metadata((void *)addr, in vmalloc_shadow() 134 return (unsigned long)kmsan_get_metadata((void *)addr, in vmalloc_origin()
|
H A D | kmsan.h | 69 void *kmsan_get_metadata(void *addr, bool is_origin);
|
H A D | instrumentation.c | 25 if (!kmsan_get_metadata(addr, KMSAN_META_SHADOW)) in is_bad_asm_addr()
|