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

/freebsd-10-stable/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-10-stable/sys/kern/
H A Dkern_mutex.c383 int contested = 0; local
417 m, contested, waittime, file, line);
427 * We call this if the lock is either contested (i.e. we need to go to
444 int contested = 0; local
484 &contested, &waittime);
487 "_mtx_lock_sleep: %s contested (lock=%p) at %s:%d",
555 * If the mutex isn't already contested and a failure occurs
556 * setting the contested bit, the mutex was either released
603 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_MTX_LOCK_ACQUIRE, m, contested,
650 int contested local
717 int contested = 0; local
[all...]
H A Dkern_rwlock.c385 int contested = 0; local
458 &contested, &waittime);
598 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_RW_RLOCK_ACQUIRE, rw, contested,
774 int contested = 0; local
807 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__,
824 &contested, &waittime);
962 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_RW_WLOCK_ACQUIRE, rw, contested,
996 CTR2(KTR_LOCK, "%s: %p contested", __func__, rw);
H A Dkern_sx.c547 int contested = 0; local
582 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__,
599 lock_profile_obtain_lock_failed(&sx->lock_object, &contested,
773 contested, waittime, file, line);
806 CTR2(KTR_LOCK, "%s: %p contested", __func__, sx);
855 int contested = 0; local
914 lock_profile_obtain_lock_failed(&sx->lock_object, &contested,
1040 contested, waittime, file, line);
H A Dkern_lock.c468 int contested = 0; local
545 &contested, &waittime);
706 contested, waittime, file, line);
803 &contested, &waittime);
923 * This happens when the lock is contested and an
977 contested, waittime, file, line);
1143 &contested, &waittime);
1290 contested, waittime, file, line);
H A Dsubr_lock.c534 lock_profile_obtain_lock_success(struct lock_object *lo, int contested, argument
563 l->lpo_contest_locking = contested;
/freebsd-10-stable/usr.sbin/pmcstudy/
H A Dpmcstudy.c225 } else if (strcmp(name, "contested") == 0) {
339 } else if (strcmp(name, "contested") == 0) {
396 } else if (strcmp(name, "contested") == 0) {
673 contested(struct counters *cpu, int pos) function
1352 /*06*/ { "contested", "thresh >= .05",
1354 contested },
1423 /*8*/ { "contested", "thresh >= .05",
1425 contested },
1490 /*8*/ { "contested", "thresh >= .05",

Completed in 71 milliseconds