Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dlock_profile.h48 int contested, uint64_t waittime, const char *file, int line);
54 int *contested, uint64_t *waittime) in lock_profile_obtain_lock_failed() argument
56 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE) || *contested) in lock_profile_obtain_lock_failed()
59 *contested = 1; in lock_profile_obtain_lock_failed()
65 #define lock_profile_obtain_lock_failed(lo, spin, contested, waittime) (void)0 argument
66 #define lock_profile_obtain_lock_success(lo, spin, contested, waittime, file, line) (void)0 argument
/freebsd/sys/kern/
H A Dkern_mutex.c440 int contested = 0; in _mtx_trylock_flags_int() local
488 m, contested, waittime, file, line); in _mtx_trylock_flags_int()
524 int contested = 0; in __mtx_lock_sleep() local
591 &contested, &waittime); in __mtx_lock_sleep()
707 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(adaptive__acquire, m, contested, in __mtx_lock_sleep()
731 int contested = 0; in _mtx_lock_spin_cookie() local
779 lock_profile_obtain_lock_failed(&m->lock_object, true, &contested, &waittime); in _mtx_lock_spin_cookie()
816 contested, waittime, file, line); in _mtx_lock_spin_cookie()
886 int contested = 0; in thread_lock_flags_() local
938 &contested, &waittime); in thread_lock_flags_()
[all …]
H A Dkern_lock.c200 lockmgr_note_shared_acquire(struct lock *lk, int contested, in lockmgr_note_shared_acquire() argument
204 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested, in lockmgr_note_shared_acquire()
224 lockmgr_note_exclusive_acquire(struct lock *lk, int contested, in lockmgr_note_exclusive_acquire() argument
228 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested, in lockmgr_note_exclusive_acquire()
590 int contested = 0; in lockmgr_slock_hard() local
623 &contested, &waittime); in lockmgr_slock_hard()
717 lockmgr_note_shared_acquire(lk, contested, waittime, in lockmgr_slock_hard()
776 int contested = 0; in lockmgr_xlock_hard() local
839 &contested, &waittime); in lockmgr_xlock_hard()
955 lockmgr_note_exclusive_acquire(lk, contested, waittime, in lockmgr_xlock_hard()
[all …]
H A Dkern_rwlock.c455 int contested = 0; in __rw_rlock_hard() local
496 &contested, &waittime); in __rw_rlock_hard()
670 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested, in __rw_rlock_hard()
926 int contested = 0; in __rw_wlock_hard() local
993 &contested, &waittime); in __rw_wlock_hard()
1207 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested, in __rw_wlock_hard()
H A Dkern_sx.c576 int contested = 0; in _sx_xlock_hard() local
643 lock_profile_obtain_lock_failed(&sx->lock_object, false, &contested, in _sx_xlock_hard()
904 contested, waittime, file, line, LOCKSTAT_WRITER); in _sx_xlock_hard()
1027 int contested = 0; in _sx_slock_hard() local
1068 lock_profile_obtain_lock_failed(&sx->lock_object, false, &contested, in _sx_slock_hard()
1253 contested, waittime, file, line, LOCKSTAT_READER); in _sx_slock_hard()
H A Dsubr_lock.c583 int contested, uint64_t waittime, const char *file, int line) in lock_profile_obtain_lock_success() argument
597 if (lock_contested_only && !contested) in lock_profile_obtain_lock_success()
615 l->lpo_contest_locking = contested; in lock_profile_obtain_lock_success()
/freebsd/usr.sbin/pmcstudy/
H A Dpmcstudy.c767 contested(struct counters *cpu, int pos) in contested() function
1656 contested, 2 },
1727 contested, 2 },
/freebsd/share/dict/
H A Dweb2a27621 hard-contested
67981 twice-contested
70920 warm-contested
71807 well-contested