| /linux-6.15/include/linux/ |
| H A D | rwlock_api_smp.h | 186 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_irqsave() 195 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_irq() 202 rwlock_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_write_lock_bh() 224 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_write_unlock() 231 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock() 239 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock_irqrestore() 247 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock_irq() 255 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_read_unlock_bh() 263 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_write_unlock_irqrestore() 271 rwlock_release(&lock->dep_map, _RET_IP_); in __raw_write_unlock_irq() [all …]
|
| H A D | spinlock_api_smp.h | 90 spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __raw_spin_trylock() 110 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_irqsave() 119 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_irq() 126 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock_bh() 133 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in __raw_spin_lock() 141 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock() 149 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_irqrestore() 157 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_irq() 165 spin_release(&lock->dep_map, _RET_IP_); in __raw_spin_unlock_bh() 167 __local_bh_enable_ip(_RET_IP_, SOFTIRQ_LOCK_OFFSET); in __raw_spin_unlock_bh() [all …]
|
| H A D | kasan.h | 198 return __kasan_slab_pre_free(s, object, _RET_IP_); in kasan_slab_pre_free() 241 __kasan_kfree_large(ptr, _RET_IP_); in kasan_kfree_large() 306 return __kasan_mempool_poison_pages(page, order, _RET_IP_); in kasan_mempool_poison_pages() 328 __kasan_mempool_unpoison_pages(page, order, _RET_IP_); in kasan_mempool_unpoison_pages() 360 return __kasan_mempool_poison_object(ptr, _RET_IP_); in kasan_mempool_poison_object() 388 __kasan_mempool_unpoison_object(ptr, size, _RET_IP_); in kasan_mempool_unpoison_object() 399 return __kasan_check_byte(addr, _RET_IP_); in kasan_check_byte()
|
| H A D | percpu-rwsem.h | 52 rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_); in percpu_down_read() 93 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in percpu_down_read_trylock() 100 rwsem_release(&sem->dep_map, _RET_IP_); in percpu_up_read()
|
| H A D | instruction_pointer.h | 7 #define _RET_IP_ (unsigned long)__builtin_return_address(0) macro
|
| /linux-6.15/kernel/locking/ |
| H A D | spinlock_rt.c | 56 spin_acquire(&lock->dep_map, 0, 0, _RET_IP_); in rt_spin_lock() 64 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in rt_spin_lock_nested() 80 spin_release(&lock->dep_map, _RET_IP_); in rt_spin_unlock() 109 spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); in __rt_spin_trylock() 207 rwlock_acquire_read(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_read_trylock() 221 rwlock_acquire(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_write_trylock() 232 rwlock_acquire_read(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_read_lock() 242 rwlock_acquire(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_write_lock() 253 rwlock_acquire(&rwlock->dep_map, subclass, 0, _RET_IP_); in rt_write_lock_nested() 263 rwlock_release(&rwlock->dep_map, _RET_IP_); in rt_read_unlock() [all …]
|
| H A D | rtmutex_api.c | 30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common() 33 mutex_release(&lock->dep_map, _RET_IP_); in __rt_mutex_lock_common() 127 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in rt_mutex_trylock() 140 mutex_release(&lock->dep_map, _RET_IP_); in rt_mutex_unlock() 536 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, 0, nest_lock, _RET_IP_); in _mutex_lock_nest_lock() 570 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, 0, NULL, _RET_IP_); in mutex_lock() 576 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in mutex_lock_interruptible() 582 return __mutex_lock_common(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in mutex_lock_killable() 590 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, 0, NULL, _RET_IP_); in mutex_lock_io() 605 mutex_acquire(&lock->dep_map, 0, 1, _RET_IP_); in mutex_trylock() [all …]
|
| H A D | mutex.c | 539 __mutex_unlock_slowpath(lock, _RET_IP_); in mutex_unlock() 806 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, 0, nest, _RET_IP_); in _mutex_lock_nest_lock() 833 subclass, NULL, _RET_IP_, NULL, 0); in mutex_lock_io_nested() 871 0, _RET_IP_, ctx); in ww_mutex_lock() 886 0, _RET_IP_, ctx); in ww_mutex_lock_interruptible() 1033 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, 0, NULL, _RET_IP_); in __mutex_lock_slowpath() 1039 return __mutex_lock(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in __mutex_lock_killable_slowpath() 1045 return __mutex_lock(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in __mutex_lock_interruptible_slowpath() 1052 _RET_IP_, ctx); in __ww_mutex_lock_slowpath() 1060 _RET_IP_, ctx); in __ww_mutex_lock_interruptible_slowpath() [all …]
|
| H A D | ww_rt_mutex.c | 29 mutex_acquire_nest(&rtm->dep_map, 0, 1, &ww_ctx->dep_map, _RET_IP_); in ww_mutex_trylock() 81 return __ww_rt_mutex_lock(lock, ctx, TASK_UNINTERRUPTIBLE, _RET_IP_); in ww_mutex_lock() 88 return __ww_rt_mutex_lock(lock, ctx, TASK_INTERRUPTIBLE, _RET_IP_); in ww_mutex_lock_interruptible() 98 mutex_release(&rtm->dep_map, _RET_IP_); in ww_mutex_unlock()
|
| H A D | rwsem.c | 1536 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_interruptible() 1550 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable() 1577 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write() 1588 rwsem_acquire(&sem->dep_map, 0, 0, _RET_IP_); in down_write_killable() 1592 rwsem_release(&sem->dep_map, _RET_IP_); in down_write_killable() 1608 rwsem_acquire(&sem->dep_map, 0, 1, _RET_IP_); in down_write_trylock() 1619 rwsem_release(&sem->dep_map, _RET_IP_); in up_read() 1629 rwsem_release(&sem->dep_map, _RET_IP_); in up_write() 1639 lock_downgrade(&sem->dep_map, _RET_IP_); in downgrade_write() 1660 rwsem_release(&sem->dep_map, _RET_IP_); in down_read_killable_nested() [all …]
|
| H A D | spinlock.c | 378 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested() 390 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested() 400 spin_acquire_nest(&lock->dep_map, 0, 0, nest_lock, _RET_IP_); in _raw_spin_lock_nest_lock()
|
| /linux-6.15/include/asm-generic/ |
| H A D | io.h | 192 log_read_mmio(8, addr, _THIS_IP_, _RET_IP_); in readb() 207 log_read_mmio(16, addr, _THIS_IP_, _RET_IP_); in readw() 222 log_read_mmio(32, addr, _THIS_IP_, _RET_IP_); in readl() 238 log_read_mmio(64, addr, _THIS_IP_, _RET_IP_); in readq() 252 log_write_mmio(value, 8, addr, _THIS_IP_, _RET_IP_); in writeb() 264 log_write_mmio(value, 16, addr, _THIS_IP_, _RET_IP_); in writew() 309 log_read_mmio(8, addr, _THIS_IP_, _RET_IP_); in readb_relaxed() 322 log_read_mmio(16, addr, _THIS_IP_, _RET_IP_); in readw_relaxed() 335 log_read_mmio(32, addr, _THIS_IP_, _RET_IP_); in readl_relaxed() 348 log_read_mmio(64, addr, _THIS_IP_, _RET_IP_); in readq_relaxed() [all …]
|
| /linux-6.15/drivers/tty/ |
| H A D | tty_ldsem.c | 304 lock_contended(&sem->dep_map, _RET_IP_); in __ldsem_down_read_nested() 306 rwsem_release(&sem->dep_map, _RET_IP_); in __ldsem_down_read_nested() 310 lock_acquired(&sem->dep_map, _RET_IP_); in __ldsem_down_read_nested() 319 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in __ldsem_down_write_nested() 323 lock_contended(&sem->dep_map, _RET_IP_); in __ldsem_down_write_nested() 325 rwsem_release(&sem->dep_map, _RET_IP_); in __ldsem_down_write_nested() 329 lock_acquired(&sem->dep_map, _RET_IP_); in __ldsem_down_write_nested() 352 rwsem_acquire_read(&sem->dep_map, 0, 1, _RET_IP_); in ldsem_down_read_trylock() 353 lock_acquired(&sem->dep_map, _RET_IP_); in ldsem_down_read_trylock() 376 rwsem_release(&sem->dep_map, _RET_IP_); in ldsem_up_read() [all …]
|
| /linux-6.15/mm/kasan/ |
| H A D | shadow.c | 37 return kasan_check_range((void *)p, size, true, _RET_IP_); in __kasan_check_write() 53 if (!kasan_check_range(addr, len, true, _RET_IP_)) in memset() 63 if (!kasan_check_range(src, len, false, _RET_IP_) || in memmove() 64 !kasan_check_range(dest, len, true, _RET_IP_)) in memmove() 74 if (!kasan_check_range(src, len, false, _RET_IP_) || in memcpy() 75 !kasan_check_range(dest, len, true, _RET_IP_)) in memcpy() 84 if (!kasan_check_range(addr, len, true, _RET_IP_)) in __asan_memset() 94 if (!kasan_check_range(src, len, false, _RET_IP_) || in __asan_memmove() 95 !kasan_check_range(dest, len, true, _RET_IP_)) in __asan_memmove() 105 if (!kasan_check_range(src, len, false, _RET_IP_) || in __asan_memcpy() [all …]
|
| H A D | sw_tags.c | 139 kasan_check_range(addr, size, false, _RET_IP_); \ 144 kasan_check_range(addr, size, true, _RET_IP_); \ 156 kasan_check_range(addr, size, false, _RET_IP_); in __hwasan_loadN_noabort() 162 kasan_check_range(addr, size, true, _RET_IP_); in __hwasan_storeN_noabort()
|
| H A D | report_generic.c | 367 kasan_report(addr, size, false, _RET_IP_); \ 374 kasan_report(addr, size, true, _RET_IP_); \ 391 kasan_report(addr, size, false, _RET_IP_); in __asan_report_load_n_noabort() 397 kasan_report(addr, size, true, _RET_IP_); in __asan_report_store_n_noabort()
|
| H A D | generic.c | 244 check_region_inline(addr, size, false, _RET_IP_); \ 252 check_region_inline(addr, size, true, _RET_IP_); \ 267 kasan_check_range(addr, size, false, _RET_IP_); in __asan_loadN() 277 kasan_check_range(addr, size, true, _RET_IP_); in __asan_storeN()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_group.c | 42 trace_xfs_group_get(xg, _RET_IP_); in xfs_group_get() 57 trace_xfs_group_hold(xg, _RET_IP_); in xfs_group_hold() 66 trace_xfs_group_put(xg, _RET_IP_); in xfs_group_put() 83 trace_xfs_group_grab(xg, _RET_IP_); in xfs_group_grab() 137 trace_xfs_group_grab_next_tag(xg, _RET_IP_); in xfs_group_grab_next_mark() 149 trace_xfs_group_rele(xg, _RET_IP_); in xfs_group_rele()
|
| H A D | xfs_refcount.c | 255 trace_xfs_refcount_update_error(cur, error, _RET_IP_); in xfs_refcount_update() 290 trace_xfs_refcount_insert_error(cur, error, _RET_IP_); in xfs_refcount_insert() 330 trace_xfs_refcount_delete_error(cur, error, _RET_IP_); in xfs_refcount_delete() 478 trace_xfs_refcount_split_extent_error(cur, error, _RET_IP_); in xfs_refcount_split_extent() 625 trace_xfs_refcount_merge_left_extent_error(cur, error, _RET_IP_); in xfs_refcount_merge_left_extent() 785 trace_xfs_refcount_find_left_extent_error(cur, error, _RET_IP_); in xfs_refcount_find_left_extents() 1287 trace_xfs_refcount_modify_extent_error(cur, error, _RET_IP_); in xfs_refcount_adjust_extents() 1345 trace_xfs_refcount_adjust_error(cur, error, _RET_IP_); in xfs_refcount_adjust() 1744 trace_xfs_refcount_find_shared_error(cur, error, _RET_IP_); in xfs_refcount_find_shared() 1897 trace_xfs_refcount_modify_extent_error(cur, error, _RET_IP_); in xfs_refcount_adjust_cow_extents() [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_buf.c | 109 trace_xfs_buf_free(bp, _RET_IP_); in xfs_buf_free() 310 trace_xfs_buf_init(bp, _RET_IP_); in xfs_buf_alloc() 860 trace_xfs_buf_hold(bp, _RET_IP_); in xfs_buf_hold() 891 trace_xfs_buf_rele(bp, _RET_IP_); in xfs_buf_rele_cached() 947 trace_xfs_buf_rele(bp, _RET_IP_); in xfs_buf_rele() 973 trace_xfs_buf_trylock(bp, _RET_IP_); in xfs_buf_trylock() 992 trace_xfs_buf_lock(bp, _RET_IP_); in xfs_buf_lock() 1008 trace_xfs_buf_unlock(bp, _RET_IP_); in xfs_buf_unlock() 1170 trace_xfs_buf_iodone(bp, _RET_IP_); in __xfs_buf_ioend() 1408 trace_xfs_buf_iowait(bp, _RET_IP_); in xfs_buf_iowait() [all …]
|
| H A D | xfs_trans.c | 74 trace_xfs_trans_free(tp, _RET_IP_); in xfs_trans_free() 96 trace_xfs_trans_dup(tp, _RET_IP_); in xfs_trans_dup() 305 trace_xfs_trans_alloc(tp, _RET_IP_); in xfs_trans_alloc() 717 trace_xfs_trans_add_item(tp, _RET_IP_); in xfs_trans_add_item() 741 trace_xfs_trans_free_items(tp, _RET_IP_); in xfs_trans_free_items() 859 trace_xfs_trans_commit(tp, _RET_IP_); in __xfs_trans_commit() 981 trace_xfs_trans_cancel(tp, _RET_IP_); in xfs_trans_cancel() 1041 trace_xfs_trans_roll(trans, _RET_IP_); in xfs_trans_roll()
|
| /linux-6.15/kernel/kcsan/ |
| H A D | core.c | 912 check_access(ptr, size, type, _RET_IP_); in kcsan_begin_scoped_access() 920 sa->ip = _RET_IP_; in kcsan_begin_scoped_access() 958 check_access(ptr, size, type, _RET_IP_); in __kcsan_check_access() 1015 _RET_IP_); \ 1031 check_access(ptr, size, 0, _RET_IP_); in __tsan_read_range() 1038 check_access(ptr, size, KCSAN_ACCESS_WRITE, _RET_IP_); in __tsan_write_range() 1060 _RET_IP_); \ 1076 _RET_IP_); \ 1335 check_access(s, check_len, KCSAN_ACCESS_WRITE, _RET_IP_); in __tsan_memset() 1350 check_access(src, check_len, 0, _RET_IP_); in __tsan_memmove() [all …]
|
| /linux-6.15/kernel/ |
| H A D | kcov.c | 213 unsigned long ip = canonicalize_ip(_RET_IP_); in __sanitizer_cov_trace_pc() 276 write_comp_data(KCOV_CMP_SIZE(0), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp1() 282 write_comp_data(KCOV_CMP_SIZE(1), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp2() 288 write_comp_data(KCOV_CMP_SIZE(2), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp4() 294 write_comp_data(KCOV_CMP_SIZE(3), arg1, arg2, _RET_IP_); in __sanitizer_cov_trace_cmp8() 301 _RET_IP_); in __sanitizer_cov_trace_const_cmp1() 308 _RET_IP_); in __sanitizer_cov_trace_const_cmp2() 315 _RET_IP_); in __sanitizer_cov_trace_const_cmp4() 322 _RET_IP_); in __sanitizer_cov_trace_const_cmp8() 351 write_comp_data(type, cases[i + 2], val, _RET_IP_); in __sanitizer_cov_trace_switch()
|
| /linux-6.15/block/ |
| H A D | blk.h | 78 rwsem_acquire_read(&q->io_lockdep_map, 0, 0, _RET_IP_); in bio_queue_enter() 79 rwsem_release(&q->io_lockdep_map, _RET_IP_); in bio_queue_enter() 730 rwsem_acquire(&q->io_lockdep_map, 0, 1, _RET_IP_); in blk_freeze_acquire_lock() 732 rwsem_acquire(&q->q_lockdep_map, 0, 1, _RET_IP_); in blk_freeze_acquire_lock() 738 rwsem_release(&q->q_lockdep_map, _RET_IP_); in blk_unfreeze_release_lock() 740 rwsem_release(&q->io_lockdep_map, _RET_IP_); in blk_unfreeze_release_lock()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | btree_locking.c | 276 trace_and_count(trans->c, trans_restart_would_deadlock_recursion_limit, trans, _RET_IP_); in lock_graph_descend() 434 lock_may_not_fail, _RET_IP_); in __bch2_btree_node_lock_write() 520 trace_and_count(trans->c, btree_path_relock_fail, trans, _RET_IP_, path, level); in __bch2_btree_node_relock() 564 trace_and_count(trans->c, btree_path_upgrade_fail, trans, _RET_IP_, path, level); in bch2_btree_node_upgrade() 587 trace_and_count(trans->c, trans_restart_relock_path_intent, trans, _RET_IP_, path); in bch2_btree_path_relock_intent() 704 trace_path_downgrade(trans, _RET_IP_, path, old_locks_want); in __bch2_btree_path_downgrade() 755 trace_trans_restart_relock(trans, _RET_IP_, buf.buf); in bch2_trans_relock_fail()
|