Home | History | Annotate | Download | only in chfs

Lines Matching refs:erase_lock

770  * The @ebh->erase_lock must be locked before using this.
796 * The @ebh->erase_lock must be locked before using this.
816 * The @ebh->erase_lock must be locked before using this.
846 * The @ebh->erase_lock must be locked before using this.
892 mutex_enter(&ebh->erase_lock);
893 /*dbg_ebh("LOCK: ebh->erase_lock spin locked in erase_callback() "
897 mutex_exit(&ebh->erase_lock);
898 /*dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in erase_callback() "
904 mutex_enter(&ebh->erase_lock);
905 /*dbg_ebh("LOCK: ebh->erase_lock spin locked in erase_callback()\n");*/
907 mutex_exit(&ebh->erase_lock);
908 /*dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in erase_callback()\n");*/
937 KASSERT(mutex_owned(&ebh->erase_lock));
955 mutex_exit(&ebh->erase_lock);
956 //dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in free_peb()\n");
998 /* lock the erase_lock, because it was locked
1000 mutex_enter(&ebh->erase_lock);
1024 mutex_enter(&ebh->erase_lock);
1026 //dbg_ebh("LOCK: ebh->erase_lock spin locked in release_peb()\n");
1041 mutex_exit(&ebh->erase_lock);
1042 //dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in release_peb()"
1060 mutex_enter(&ebh->erase_lock);
1061 dbg_ebh("LOCK: ebh->erase_lock spin locked in erase_thread()\n");
1064 mutex_exit(&ebh->erase_lock);
1070 dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in erase_thread()\n");
1073 mutex_exit(&ebh->erase_lock);
1074 dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in erase_thread()\n");
1096 mutex_enter(&ebh->erase_lock);
1101 &ebh->erase_lock, mstohz(100));
1107 mutex_exit(&ebh->erase_lock);
1112 mutex_enter(&ebh->erase_lock);
1115 mutex_exit(&ebh->erase_lock);
1514 mutex_init(&ebh->erase_lock, MUTEX_DEFAULT, IPL_NONE);
1544 mutex_enter(&ebh->erase_lock);
1579 mutex_exit(&ebh->erase_lock);
1584 mutex_exit(&ebh->erase_lock);
1701 KASSERT(!mutex_owned(&ebh->erase_lock));
1705 mutex_destroy(&ebh->erase_lock);
1775 mutex_enter(&ebh->erase_lock);
1776 //dbg_ebh("LOCK: ebh->erase_lock spin locked in get_peb()\n");
1781 mutex_exit(&ebh->erase_lock);
1782 //dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in get_peb()\n");
1787 mutex_exit(&ebh->erase_lock);
1788 //dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in get_peb()\n");
1803 mutex_exit(&ebh->erase_lock);
1804 //dbg_ebh("UNLOCK: ebh->erase_lock spin unlocked in get_peb()\n");