Lines Matching refs:addr

168 static void check_access(vaddr_t addr, size_t size)  in check_access()  argument
170 void *begin = (void *)addr; in check_access()
171 void *end = (void *)(addr + size); in check_access()
186 e = va_to_shadow((void *)(addr + size - 1)); in check_access()
196 static void check_load(vaddr_t addr, size_t size) in check_load() argument
198 check_access(addr, size); in check_load()
201 static void check_store(vaddr_t addr, size_t size) in check_store() argument
203 check_access(addr, size); in check_store()
206 static void __noreturn report_load(vaddr_t addr __unused, size_t size __unused) in report_load()
211 static void __noreturn report_store(vaddr_t addr __unused, size_t size __unused) in report_store()
219 void __asan_##type##size(vaddr_t addr); \
220 void __asan_##type##size(vaddr_t addr) \
221 { check_##type(addr, size); } \
222 void __asan_##type##size##_noabort(vaddr_t addr); \
223 void __asan_##type##size##_noabort(vaddr_t addr) \
224 { check_##type(addr, size); } \
225 void __asan_report_##type##size##_noabort(vaddr_t addr);\
226 void __noreturn __asan_report_##type##size##_noabort(vaddr_t addr) \
227 { report_##type(addr, size); }
240 void __asan_loadN_noabort(vaddr_t addr, size_t size);
241 void __asan_loadN_noabort(vaddr_t addr, size_t size) in __asan_loadN_noabort() argument
243 check_load(addr, size); in __asan_loadN_noabort()
246 void __asan_storeN_noabort(vaddr_t addr, size_t size);
247 void __asan_storeN_noabort(vaddr_t addr, size_t size) in __asan_storeN_noabort() argument
249 check_store(addr, size); in __asan_storeN_noabort()
252 void __asan_report_load_n_noabort(vaddr_t addr, size_t size);
253 void __noreturn __asan_report_load_n_noabort(vaddr_t addr, size_t size) in __asan_report_load_n_noabort() argument
255 report_load(addr, size); in __asan_report_load_n_noabort()
258 void __asan_report_store_n_noabort(vaddr_t addr, size_t size);
259 void __noreturn __asan_report_store_n_noabort(vaddr_t addr, size_t size) in __asan_report_store_n_noabort() argument
261 report_store(addr, size); in __asan_report_store_n_noabort()