Searched refs:FMD_MOD_LOCK (Results 1 – 2 of 2) sorted by relevance
759 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()
147 #define FMD_MOD_LOCK 0x010 /* lock bit for fmd_module_lock() */ macro