Searched refs:am_lock (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/sys/fs/autofs/ |
H A D | autofs.h | 60 #define AUTOFS_SLOCK(X) sx_slock(&X->am_lock) 61 #define AUTOFS_XLOCK(X) sx_xlock(&X->am_lock) 62 #define AUTOFS_SUNLOCK(X) sx_sunlock(&X->am_lock) 63 #define AUTOFS_XUNLOCK(X) sx_xunlock(&X->am_lock) 64 #define AUTOFS_ASSERT_LOCKED(X) sx_assert(&X->am_lock, SA_LOCKED) 65 #define AUTOFS_ASSERT_XLOCKED(X) sx_assert(&X->am_lock, SA_XLOCKED) 66 #define AUTOFS_ASSERT_UNLOCKED(X) sx_assert(&X->am_lock, SA_UNLOCKED) 89 struct sx am_lock; member in struct:autofs_mount
|
H A D | autofs_vfsops.c | 91 sx_init(&->am_lock, "autofslk"); 174 sx_destroy(&->am_lock);
|
/freebsd-13-stable/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 278 struct mtx am_lock; member in struct:acpi_mutex 300 mtx_init(&am->am_lock, am->am_name, NULL, MTX_DEF); 324 mtx_lock(&am->am_lock); 334 if (mtx_sleep(&am->am_reset, &am->am_lock, 339 mtx_unlock(&am->am_lock); 353 mtx_unlock(&am->am_lock); 355 mtx_destroy(&am->am_lock); 371 mtx_lock(&am->am_lock); 380 mtx_unlock(&am->am_lock); 392 error = mtx_sleep(am, &am->am_lock, PCATC [all...] |
Completed in 155 milliseconds