Searched refs:contested (Results 1 - 7 of 7) sorted by relevance

/freebsd-12-stable/sys/sys/
H A Dlock_profile.h50 void lock_profile_obtain_lock_success(struct lock_object *lo, int contested,
57 lock_profile_obtain_lock_failed(struct lock_object *lo, int *contested, argument
60 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE) || *contested)
63 *contested = 1;
69 #define lock_profile_obtain_lock_failed(lo, contested, waittime) (void)0
70 #define lock_profile_obtain_lock_success(lo, contested, waittime, file, line) (void)0
/freebsd-12-stable/sys/kern/
H A Dkern_mutex.c408 int contested = 0; local
456 m, contested, waittime, file, line);
474 * We call this if the lock is either contested (i.e. we need to go to
492 int contested = 0; local
559 &contested, &waittime);
562 "_mtx_lock_sleep: %s contested (lock=%p) at %s:%d",
630 * If the mutex isn't already contested and a failure occurs
631 * setting the contested bit, the mutex was either released
677 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(adaptive__acquire, m, contested,
701 int contested local
862 int contested = 0; local
[all...]
H A Dkern_lock.c201 lockmgr_note_shared_acquire(struct lock *lk, int contested, argument
205 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested,
226 lockmgr_note_exclusive_acquire(struct lock *lk, int contested, argument
230 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(lockmgr__acquire, lk, contested,
562 int contested = 0; local
580 &contested, &waittime);
676 lockmgr_note_shared_acquire(lk, contested, waittime,
704 int contested = 0; local
760 &contested, &waittime);
793 * This happens when the lock is contested an
1176 int contested = 0; local
[all...]
H A Dkern_rwlock.c436 int contested = 0; local
478 &contested, &waittime);
649 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested,
904 int contested = 0; local
964 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__,
971 &contested, &waittime);
1182 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested,
1224 CTR2(KTR_LOCK, "%s: %p contested", __func__, rw);
H A Dkern_sx.c580 int contested = 0; local
642 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__,
652 lock_profile_obtain_lock_failed(&sx->lock_object, &contested,
901 contested, waittime, file, line, LOCKSTAT_WRITER);
942 CTR2(KTR_LOCK, "%s: %p contested", __func__, sx);
1028 int contested = 0; local
1076 lock_profile_obtain_lock_failed(&sx->lock_object, &contested,
1255 contested, waittime, file, line, LOCKSTAT_READER);
H A Dsubr_lock.c563 lock_profile_obtain_lock_success(struct lock_object *lo, int contested, argument
592 l->lpo_contest_locking = contested;
/freebsd-12-stable/usr.sbin/pmcstudy/
H A Dpmcstudy.c227 } else if (strcmp(name, "contested") == 0) {
341 } else if (strcmp(name, "contested") == 0) {
398 } else if (strcmp(name, "contested") == 0) {
769 contested(struct counters *cpu, int pos) function
1656 /*06*/ { "contested", "thresh >= .05",
1658 contested, 2 },
1727 /*8*/ { "contested", "thresh >= .05",
1729 contested, 2 },
1794 /*8*/ { "contested", "thresh >= .05",
1861 } else if (strcmp(name, "contested")
[all...]

Completed in 131 milliseconds