Searched refs:regs (Results 1 – 6 of 6) sorted by relevance
| /mm/ |
| A D | mmap_lock.c | 275 static inline bool get_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) in get_mmap_lock_carefully() argument 280 if (regs && !user_mode(regs)) { in get_mmap_lock_carefully() 281 unsigned long ip = exception_ip(regs); in get_mmap_lock_carefully() 302 static inline bool upgrade_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) in upgrade_mmap_lock_carefully() argument 305 if (regs && !user_mode(regs)) { in upgrade_mmap_lock_carefully() 306 unsigned long ip = exception_ip(regs); in upgrade_mmap_lock_carefully() 333 unsigned long addr, struct pt_regs *regs) in lock_mm_and_find_vma() argument 337 if (!get_mmap_lock_carefully(mm, regs)) in lock_mm_and_find_vma() 363 if (!upgrade_mmap_lock_carefully(mm, regs)) in lock_mm_and_find_vma() 395 unsigned long addr, struct pt_regs *regs) in lock_mm_and_find_vma() argument
|
| A D | memory.c | 6213 static inline void mm_account_fault(struct mm_struct *mm, struct pt_regs *regs, in mm_account_fault() argument 6257 if (!regs) in mm_account_fault() 6261 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); in mm_account_fault() 6263 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address); in mm_account_fault() 6330 unsigned int flags, struct pt_regs *regs) in handle_mm_fault() argument 6390 mm_account_fault(mm, regs, address, flags, ret); in handle_mm_fault()
|
| /mm/kfence/ |
| A D | report.c | 191 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs, in kfence_report_error() argument 199 if (regs) { in kfence_report_error() 200 num_stack_entries = stack_trace_save_regs(regs, stack_entries, KFENCE_STACK_DEPTH, 0); in kfence_report_error() 272 if (no_hash_pointers && regs) in kfence_report_error() 273 show_regs(regs); in kfence_report_error()
|
| A D | kfence.h | 141 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs,
|
| A D | core.c | 1191 bool kfence_handle_page_fault(unsigned long addr, bool is_write, struct pt_regs *regs) in kfence_handle_page_fault() argument 1254 kfence_report_error(addr, is_write, regs, to_report, error_type); in kfence_handle_page_fault() 1258 kfence_report_error(addr, is_write, regs, NULL, KFENCE_ERROR_INVALID); in kfence_handle_page_fault()
|
| /mm/kmsan/ |
| A D | hooks.c | 414 void kmsan_unpoison_entry_regs(const struct pt_regs *regs) in kmsan_unpoison_entry_regs() argument 416 kmsan_unpoison_memory((void *)regs, sizeof(*regs)); in kmsan_unpoison_entry_regs()
|
Completed in 24 milliseconds