Home
last modified time | relevance | path

Searched refs:contested (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/sys/sys/
H A Dlock_profile.h50 int contested, uint64_t waittime, const char *file, int line);
56 int *contested, uint64_t *waittime) in lock_profile_obtain_lock_failed() argument
58 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE) || *contested) in lock_profile_obtain_lock_failed()
61 *contested = 1; in lock_profile_obtain_lock_failed()
67 #define lock_profile_obtain_lock_failed(lo, spin, contested, waittime) (void)0 argument
68 #define lock_profile_obtain_lock_success(lo, spin, contested, waittime, file, line) (void)0 argument
/freebsd-13.1/sys/kern/
H A Dkern_mutex.c422 int contested = 0; in _mtx_trylock_flags_int() local
470 m, contested, waittime, file, line); in _mtx_trylock_flags_int()
506 int contested = 0; in __mtx_lock_sleep() local
573 &contested, &waittime); in __mtx_lock_sleep()
691 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(adaptive__acquire, m, contested, in __mtx_lock_sleep()
715 int contested = 0; in _mtx_lock_spin_cookie() local
763 lock_profile_obtain_lock_failed(&m->lock_object, true, &contested, &waittime); in _mtx_lock_spin_cookie()
800 contested, waittime, file, line); in _mtx_lock_spin_cookie()
870 int contested = 0; in thread_lock_flags_() local
922 &contested, &waittime); in thread_lock_flags_()
[all …]
H A Dkern_lock.c201 lockmgr_note_shared_acquire(struct lock *lk, int contested, in lockmgr_note_shared_acquire() argument
225 lockmgr_note_exclusive_acquire(struct lock *lk, int contested, in lockmgr_note_exclusive_acquire() argument
594 int contested = 0; in lockmgr_slock_hard() local
627 &contested, &waittime); in lockmgr_slock_hard()
721 lockmgr_note_shared_acquire(lk, contested, waittime, in lockmgr_slock_hard()
780 int contested = 0; in lockmgr_xlock_hard() local
843 &contested, &waittime); in lockmgr_xlock_hard()
959 lockmgr_note_exclusive_acquire(lk, contested, waittime, in lockmgr_xlock_hard()
1312 int contested = 0; in __lockmgr_args() local
1441 &contested, &waittime); in __lockmgr_args()
[all …]
H A Dkern_sx.c583 int contested = 0; in _sx_xlock_hard() local
651 lock_profile_obtain_lock_failed(&sx->lock_object, false, &contested, in _sx_xlock_hard()
902 contested, waittime, file, line, LOCKSTAT_WRITER); in _sx_xlock_hard()
1028 int contested = 0; in _sx_slock_hard() local
1072 lock_profile_obtain_lock_failed(&sx->lock_object, false, &contested, in _sx_slock_hard()
1247 contested, waittime, file, line, LOCKSTAT_READER); in _sx_slock_hard()
H A Dkern_rwlock.c443 int contested = 0; in __rw_rlock_hard() local
485 &contested, &waittime); in __rw_rlock_hard()
656 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested, in __rw_rlock_hard()
911 int contested = 0; in __rw_wlock_hard() local
979 &contested, &waittime); in __rw_wlock_hard()
1190 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested, in __rw_wlock_hard()
H A Dsubr_lock.c603 int contested, uint64_t waittime, const char *file, int line) in lock_profile_obtain_lock_success() argument
617 if (lock_contested_only && !contested) in lock_profile_obtain_lock_success()
635 l->lpo_contest_locking = contested; in lock_profile_obtain_lock_success()
/freebsd-13.1/usr.sbin/pmcstudy/
H A Dpmcstudy.c769 contested(struct counters *cpu, int pos) in contested() function
1658 contested, 2 },
1729 contested, 2 },
/freebsd-13.1/share/dict/
H A Dweb2a27621 hard-contested
67981 twice-contested
70920 warm-contested
71807 well-contested