Searched refs:is_origin (Results 1 – 3 of 3) sorted by relevance
55 static unsigned long vmalloc_meta(void *addr, bool is_origin) in vmalloc_meta() argument59 KMSAN_WARN_ON(is_origin && !IS_ALIGNED(addr64, KMSAN_ORIGIN_SIZE)); in vmalloc_meta()62 return off + (is_origin ? KMSAN_VMALLOC_ORIGIN_START : in vmalloc_meta()67 return off + (is_origin ? KMSAN_MODULES_ORIGIN_START : in vmalloc_meta()124 void *kmsan_get_metadata(void *address, bool is_origin) in kmsan_get_metadata() argument130 if (is_origin && !IS_ALIGNED(addr, KMSAN_ORIGIN_SIZE)) { in kmsan_get_metadata()137 return (void *)vmalloc_meta(address, is_origin); in kmsan_get_metadata()139 ret = arch_kmsan_get_meta_or_null(address, is_origin); in kmsan_get_metadata()150 return (is_origin ? origin_ptr_for(page) : shadow_ptr_for(page)) + off; in kmsan_get_metadata()
69 void *kmsan_get_metadata(void *addr, bool is_origin);
30 static inline void *arch_kmsan_get_meta_or_null(void *addr, bool is_origin) in arch_kmsan_get_meta_or_null() argument44 metadata_array = is_origin ? cpu_entry_area_origin : in arch_kmsan_get_meta_or_null()