Searched refs:contested (Results 1 - 6 of 6) sorted by relevance
/freebsd-9.3-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-9.3-release/sys/kern/ |
H A D | kern_mutex.c | 294 int contested = 0; local 324 m, contested, waittime, file, line); 334 * We call this if the lock is either contested (i.e. we need to go to 350 int contested = 0; local 377 &contested, &waittime); 380 "_mtx_lock_sleep: %s contested (lock=%p) at %s:%d", 440 * If the mutex isn't already contested and a failure occurs 441 * setting the contested bit, the mutex was either released 485 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_MTX_LOCK_ACQUIRE, m, contested, 531 int contested local 579 int contested = 0; local [all...] |
H A D | kern_rwlock.c | 322 int contested = 0; local 380 &contested, &waittime); 499 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_RW_RLOCK_ACQUIRE, rw, contested, 675 int contested = 0; local 697 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__, 708 &contested, &waittime); 827 LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(LS_RW_WLOCK_ACQUIRE, rw, contested, 867 CTR2(KTR_LOCK, "%s: %p contested", __func__, rw);
|
H A D | kern_sx.c | 507 int contested = 0; local 532 CTR5(KTR_LOCK, "%s: %s contested (lock=%p) at %s:%d", __func__, 542 lock_profile_obtain_lock_failed(&sx->lock_object, &contested, 700 contested, waittime, file, line); 738 CTR2(KTR_LOCK, "%s: %p contested", __func__, sx); 787 int contested = 0; local 832 lock_profile_obtain_lock_failed(&sx->lock_object, &contested, 946 contested, waittime, file, line);
|
H A D | kern_lock.c | 452 int contested = 0; local 529 &contested, &waittime); 680 contested, waittime, file, line); 774 &contested, &waittime); 884 * This happens when the lock is contested and an 938 contested, waittime, file, line); 1089 &contested, &waittime); 1236 contested, waittime, file, line);
|
H A D | subr_lock.c | 526 lock_profile_obtain_lock_success(struct lock_object *lo, int contested, argument 555 l->lpo_contest_locking = contested;
|
Completed in 125 milliseconds