Searched refs:check_memory_region (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/mm/kasan/ |
D | tags.c | 78 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()
|
D | common.c | 71 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()
|
D | generic.c | 189 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()
|
D | kasan.h | 163 bool check_memory_region(unsigned long addr, size_t size, bool write,
|