Home
last modified time | relevance | path

Searched refs:LC_SPINLOCK (Results 1 – 7 of 7) sorted by relevance

/f-stack/lib/
H A Dff_lock.c404 .lc_flags = LC_SPINLOCK | LC_RECURSABLE,
H A Dff_kern_timeout.c1035 (LC_SPINLOCK | LC_SLEEPABLE)), ("%s: invalid lock class", in _callout_init_lock()
/f-stack/freebsd/kern/
H A Dsubr_lock.c612 spin = (LOCK_CLASS(lo)->lc_flags & LC_SPINLOCK) ? 1 : 0; in lock_profile_obtain_lock_success()
678 spin = (LOCK_CLASS(lo)->lc_flags & LC_SPINLOCK) ? 1 : 0; in lock_profile_release_lock()
H A Dsubr_witness.c302 return ((w1->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)) == in witness_lock_type_equal()
303 (w2->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK))); in witness_lock_type_equal()
1902 if ((lock_class->lc_flags & LC_SPINLOCK)) { in enroll()
1922 if (lock_class->lc_flags & LC_SPINLOCK) { in enroll()
2442 else if ((class->lc_flags & LC_SPINLOCK) != 0) in witness_assert()
H A Dkern_mutex.c130 .lc_flags = LC_SPINLOCK | LC_RECURSABLE,
H A Dkern_timeout.c1336 (LC_SPINLOCK | LC_SLEEPABLE)), ("%s: invalid lock class", in _callout_init_lock()
/f-stack/freebsd/sys/
H A Dlock.h73 #define LC_SPINLOCK 0x00000002 /* Spin lock. */ macro