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.c438 int contested = 0; in _mtx_trylock_flags_int() local
486 m, contested, waittime, file, line); in _mtx_trylock_flags_int()
522 int contested = 0; in __mtx_lock_sleep() local
589 &contested, &waittime); in __mtx_lock_sleep()
710 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(adaptive__acquire, m, contested, in __mtx_lock_sleep()
734 int contested = 0; in _mtx_lock_spin_cookie() local
782 lock_profile_obtain_lock_failed(&m->lock_object, true, &contested, &waittime); in _mtx_lock_spin_cookie()
819 contested, waittime, file, line); in _mtx_lock_spin_cookie()
889 int contested = 0; in thread_lock_flags_() local
941 &contested, &waittime); in thread_lock_flags_()
[all …]
H A Dkern_lock.c200 lockmgr_note_shared_acquire(struct lock *lk, int contested, in lockmgr_exit()
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_shared_release()
228 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested, in lockmgr_note_exclusive_acquire()
590 int contested = 0; in lockmgr_slock_hard()
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()
839 &contested, &waittime); in lockmgr_xlock_hard()
880 * This happens when the lock is contested an in lockmgr_xlock_hard()
203 lockmgr_note_shared_acquire(struct lock * lk,int contested,uint64_t waittime,const char * file,int line,int flags) lockmgr_note_shared_acquire() argument
227 lockmgr_note_exclusive_acquire(struct lock * lk,int contested,uint64_t waittime,const char * file,int line,int flags) lockmgr_note_exclusive_acquire() argument
597 int contested = 0; lockmgr_slock_hard() local
783 int contested = 0; lockmgr_xlock_hard() local
1315 int contested = 0; __lockmgr_args() local
[all...]
H A Dkern_sx.c575 int contested = 0; in _sx_xlock_hard()
631 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__, in _sx_xlock_hard()
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()
945 CTR2(KTR_LOCK, "%s: %p contested", __func__, sx); in _sx_xunlock_hard()
1027 int contested = 0; in _sx_slock_hard()
1071 lock_profile_obtain_lock_failed(&sx->lock_object, false, &contested, in _sx_slock_hard()
1256 contested, waittime, file, line, LOCKSTAT_READER); in _sx_slock_hard()
580 int contested = 0; _sx_xlock_hard() local
1035 int contested = 0; _sx_slock_hard() local
H A Dkern_rwlock.c455 int contested = 0; in __rw_rlock_hard() local
497 &contested, &waittime); in __rw_rlock_hard()
671 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested, in __rw_rlock_hard()
930 int contested = 0; in __rw_wlock_hard() local
998 &contested, &waittime); in __rw_wlock_hard()
1212 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested, in __rw_wlock_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