Home
last modified time | relevance | path

Searched refs:kmsan_get_metadata (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/mm/kmsan/
Dcore.c91 shadow_dst = kmsan_get_metadata(dst, KMSAN_META_SHADOW); in kmsan_internal_memmove_metadata()
96 shadow_src = kmsan_get_metadata(src, KMSAN_META_SHADOW); in kmsan_internal_memmove_metadata()
109 origin_dst = kmsan_get_metadata(dst, KMSAN_META_ORIGIN); in kmsan_internal_memmove_metadata()
110 origin_src = kmsan_get_metadata(src, KMSAN_META_ORIGIN); in kmsan_internal_memmove_metadata()
266 shadow_start = kmsan_get_metadata(addr, KMSAN_META_SHADOW); in kmsan_internal_set_shadow_origin()
288 (u32 *)kmsan_get_metadata((void *)address, KMSAN_META_ORIGIN); in kmsan_internal_set_shadow_origin()
325 shadow = kmsan_get_metadata((void *)(addr64 + pos), in kmsan_internal_check_memory()
361 origin = kmsan_get_metadata((void *)(addr64 + pos + i), in kmsan_internal_check_memory()
408 cur_shadow = kmsan_get_metadata((void *)cur_addr, /*is_origin*/ false); in kmsan_metadata_is_contiguous()
411 cur_origin = kmsan_get_metadata((void *)cur_addr, /*is_origin*/ true); in kmsan_metadata_is_contiguous()
[all …]
Dshadow.c97 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
Dhooks.c128 return (unsigned long)kmsan_get_metadata((void *)addr, in vmalloc_shadow()
134 return (unsigned long)kmsan_get_metadata((void *)addr, in vmalloc_origin()
Dkmsan.h69 void *kmsan_get_metadata(void *addr, bool is_origin);
Dinstrumentation.c25 if (!kmsan_get_metadata(addr, KMSAN_META_SHADOW)) in is_bad_asm_addr()