Home
last modified time | relevance | path

Searched refs:check_memory_region (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/mm/kasan/
Dtags.c78 bool check_memory_region(unsigned long addr, size_t size, bool write, in check_memory_region() function
132 check_memory_region(addr, size, false, _RET_IP_); \
137 check_memory_region(addr, size, true, _RET_IP_); \
149 check_memory_region(addr, size, false, _RET_IP_); in __hwasan_loadN_noabort()
155 check_memory_region(addr, size, true, _RET_IP_); in __hwasan_storeN_noabort()
Dcommon.c71 return check_memory_region((unsigned long)p, size, false, _RET_IP_); in __kasan_check_read()
77 return check_memory_region((unsigned long)p, size, true, _RET_IP_); in __kasan_check_write()
84 if (!check_memory_region((unsigned long)addr, len, true, _RET_IP_)) in memset()
94 if (!check_memory_region((unsigned long)src, len, false, _RET_IP_) || in memmove()
95 !check_memory_region((unsigned long)dest, len, true, _RET_IP_)) in memmove()
105 if (!check_memory_region((unsigned long)src, len, false, _RET_IP_) || in memcpy()
106 !check_memory_region((unsigned long)dest, len, true, _RET_IP_)) in memcpy()
Dgeneric.c189 bool check_memory_region(unsigned long addr, size_t size, bool write, in check_memory_region() function
257 check_memory_region(addr, size, false, _RET_IP_); in __asan_loadN()
267 check_memory_region(addr, size, true, _RET_IP_); in __asan_storeN()
Dkasan.h163 bool check_memory_region(unsigned long addr, size_t size, bool write,