Home
last modified time | relevance | path

Searched refs:FMD_MOD_LOCK (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c759 while (mp->mod_flags & FMD_MOD_LOCK) { in fmd_module_lock()
767 mp->mod_flags |= FMD_MOD_LOCK; in fmd_module_lock()
779 ASSERT(mp->mod_flags & FMD_MOD_LOCK); in fmd_module_unlock()
782 mp->mod_flags &= ~FMD_MOD_LOCK; in fmd_module_unlock()
793 if (mp->mod_flags & FMD_MOD_LOCK) { in fmd_module_trylock()
799 mp->mod_flags |= FMD_MOD_LOCK; in fmd_module_trylock()
810 return ((mp->mod_flags & FMD_MOD_LOCK) && in fmd_module_locked()
H A Dfmd_module.h147 #define FMD_MOD_LOCK 0x010 /* lock bit for fmd_module_lock() */ macro