Searched refs:contested (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.0-release/sys/sys/ |
H A D | lock_profile.h | 48 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.0-release/sys/kern/ |
H A D | kern_mutex.c | 323 int contested = 0; local 357 m, contested, waittime, file, line); 367 * We call this if the lock is either contested (i.e. we need to go to 384 int contested = 0; local 416 &contested, &waittime); 419 "_mtx_lock_sleep: %s contested (lock=%p) at %s:%d", 479 * If the mutex isn't already contested and a failure occurs 480 * setting the contested bit, the mutex was either released 524 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_MTX_LOCK_ACQUIRE, m, contested, 571 int contested local 621 int contested = 0; local [all...] |
H A D | kern_rwlock.c | 354 int contested = 0; local 414 &contested, &waittime); 533 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_RW_RLOCK_ACQUIRE, rw, contested, 717 int contested = 0; local 741 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__, 752 &contested, &waittime); 871 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_RW_WLOCK_ACQUIRE, rw, contested, 915 CTR2(KTR_LOCK, "%s: %p contested", __func__, rw);
|
H A D | kern_sx.c | 510 int contested = 0; local 535 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__, 545 lock_profile_obtain_lock_failed(&sx->lock_object, &contested, 703 contested, waittime, file, line); 741 CTR2(KTR_LOCK, "%s: %p contested", __func__, sx); 790 int contested = 0; local 835 lock_profile_obtain_lock_failed(&sx->lock_object, &contested, 949 contested, waittime, file, line);
|
H A D | kern_lock.c | 459 int contested = 0; local 536 &contested, &waittime); 687 contested, waittime, file, line); 782 &contested, &waittime); 892 * This happens when the lock is contested and an 946 contested, waittime, file, line); 1108 &contested, &waittime); 1255 contested, waittime, file, line);
|
H A D | subr_lock.c | 508 lock_profile_obtain_lock_success(struct lock_object *lo, int contested, argument 537 l->lpo_contest_locking = contested;
|
Completed in 92 milliseconds