Searched refs:MD_GBL_HS_LOCK (Results 1 – 3 of 3) sorted by relevance
1178 while (md_status & MD_GBL_HS_LOCK) in hotspares_ioctl()1180 md_status |= MD_GBL_HS_LOCK; in hotspares_ioctl()1261 md_status &= ~MD_GBL_HS_LOCK; in hotspares_ioctl()1632 while (md_status & MD_GBL_HS_LOCK) in hotspares_interface()1641 md_status |= MD_GBL_HS_LOCK; in hotspares_interface()1670 md_status &= ~MD_GBL_HS_LOCK; in hotspares_interface()
537 if (!(global_locks_owned_mask & MD_GBL_HS_LOCK)) { in md_global_lock_enter()538 while (md_status & MD_GBL_HS_LOCK) { in md_global_lock_enter()545 md_status |= MD_GBL_HS_LOCK; in md_global_lock_enter()572 if (!(global_locks_owned_mask & MD_GBL_HS_LOCK)) in md_global_lock_exit()573 md_status &= ~MD_GBL_HS_LOCK; in md_global_lock_exit()
446 #define MD_GBL_HS_LOCK 0x0020 /* single-threads hotspares */ macro