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

/freebsd-11.0-release/sys/sys/
H A Dlock_profile.h48 void lock_profile_obtain_lock_success(struct lock_object *lo, int contested,
55 lock_profile_obtain_lock_failed(struct lock_object *lo, int *contested, argument
58 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE) || *contested)
61 *contested = 1;
67 #define lock_profile_obtain_lock_failed(lo, contested, waittime) (void)0
68 #define lock_profile_obtain_lock_success(lo, contested, waittime, file, line) (void)0
/freebsd-11.0-release/sys/kern/
H A Dkern_mutex.c379 int contested = 0; local
413 m, contested, waittime, file, line);
423 * We call this if the lock is either contested (i.e. we need to go to
440 int contested = 0; local
480 &contested, &waittime);
483 "_mtx_lock_sleep: %s contested (lock=%p) at %s:%d",
551 * If the mutex isn't already contested and a failure occurs
552 * setting the contested bit, the mutex was either released
599 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(adaptive__acquire, m, contested,
646 int contested local
713 int contested = 0; local
[all...]
H A Dkern_rwlock.c383 int contested = 0; local
456 &contested, &waittime);
596 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested,
772 int contested = 0; local
805 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__,
822 &contested, &waittime);
960 LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested,
994 CTR2(KTR_LOCK, "%s: %p contested", __func__, rw);
H A Dkern_sx.c542 int contested = 0; local
577 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__,
594 lock_profile_obtain_lock_failed(&sx->lock_object, &contested,
768 contested, waittime, file, line, LOCKSTAT_WRITER);
801 CTR2(KTR_LOCK, "%s: %p contested", __func__, sx);
850 int contested = 0; local
909 lock_profile_obtain_lock_failed(&sx->lock_object, &contested,
1035 contested, waittime, file, line, LOCKSTAT_READER);
H A Dkern_lock.c463 int contested = 0; local
540 &contested, &waittime);
701 contested, waittime, file, line);
798 &contested, &waittime);
918 * This happens when the lock is contested and an
972 contested, waittime, file, line);
1138 &contested, &waittime);
1285 contested, waittime, file, line);
H A Dsubr_lock.c533 lock_profile_obtain_lock_success(struct lock_object *lo, int contested, argument
562 l->lpo_contest_locking = contested;
/freebsd-11.0-release/usr.sbin/pmcstudy/
H A Dpmcstudy.c228 } else if (strcmp(name, "contested") == 0) {
342 } else if (strcmp(name, "contested") == 0) {
399 } else if (strcmp(name, "contested") == 0) {
770 contested(struct counters *cpu, int pos) function
1657 /*06*/ { "contested", "thresh >= .05",
1659 contested, 2 },
1728 /*8*/ { "contested", "thresh >= .05",
1730 contested, 2 },
1795 /*8*/ { "contested", "thresh >= .05",
1862 } else if (strcmp(name, "contested")
[all...]

Completed in 82 milliseconds