Lines Matching refs:address
146 static void print_diff_canary(unsigned long address, size_t bytes_to_show, in print_diff_canary() argument
149 const unsigned long show_until_addr = address + bytes_to_show; in print_diff_canary()
153 end = (const u8 *)(address < meta->addr ? min(show_until_addr, meta->addr) in print_diff_canary()
154 : min(show_until_addr, PAGE_ALIGN(address))); in print_diff_canary()
157 for (cur = (const u8 *)address; cur < end; cur++) { in print_diff_canary()
173 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs, in kfence_report_error() argument
209 const bool left_of_object = address < meta->addr; in kfence_report_error()
214 get_access_type(is_write), (void *)address, in kfence_report_error()
215 left_of_object ? meta->addr - address : address - meta->addr, in kfence_report_error()
223 get_access_type(is_write), (void *)address, object_index); in kfence_report_error()
227 pr_err("Corrupted memory at 0x%p ", (void *)address); in kfence_report_error()
228 print_diff_canary(address, 16, meta); in kfence_report_error()
235 (void *)address); in kfence_report_error()
239 pr_err("Invalid free of 0x%p (in kfence-#%td):\n", (void *)address, in kfence_report_error()
258 trace_error_report_end(ERROR_DETECTOR_KFENCE, address); in kfence_report_error()