Searched refs:mtm (Results 1 – 7 of 7) sorted by relevance
141 mt_map_t *mtm = ul->un_logmap; in top_issue_sync() local158 mutex_enter(&mtm->mtm_lock); in top_issue_sync()159 mtm->mtm_taskq_sync_count--; in top_issue_sync()160 if (mtm->mtm_taskq_sync_count == 0) { in top_issue_sync()161 cv_signal(&mtm->mtm_cv); in top_issue_sync()163 mutex_exit(&mtm->mtm_lock); in top_issue_sync()185 mt_map_t *mtm = ul->un_logmap; in top_begin_sync() local193 mutex_enter(&mtm->mtm_lock); in top_begin_sync()206 if (tp && (tp->last_async_tid != mtm->mtm_tid) && in top_begin_sync()207 (tp->last_async_tid != mtm->mtm_committid)) { in top_begin_sync()[all …]
110 map_free_entries(mt_map_t *mtm) in map_free_entries() argument115 while ((me = mtm->mtm_next) != (mapentry_t *)mtm) { in map_free_entries()121 for (i = 0; i < mtm->mtm_nhash; i++) in map_free_entries()122 mtm->mtm_hash[i] = NULL; in map_free_entries()123 mtm->mtm_nme = 0; in map_free_entries()124 mtm->mtm_nmet = 0; in map_free_entries()131 map_put(mt_map_t *mtm) in map_put() argument136 map_free_entries(mtm); in map_put()137 ASSERT(map_put_debug(mtm)); in map_put()138 kmem_free(mtm->mtm_hash, in map_put()[all …]
154 top_end_debug(ml_unit_t *ul, mt_map_t *mtm, top_t topid, ulong_t size) in top_end_debug() argument167 mtm->mtm_tops->mtm_top_num[topid]++; in top_end_debug()168 mtm->mtm_tops->mtm_top_size_etot[topid] += tp->esize; in top_end_debug()169 mtm->mtm_tops->mtm_top_size_rtot[topid] += tp->rsize; in top_end_debug()171 if (tp->rsize > mtm->mtm_tops->mtm_top_size_max[topid]) in top_end_debug()172 mtm->mtm_tops->mtm_top_size_max[topid] = tp->rsize; in top_end_debug()173 if (mtm->mtm_tops->mtm_top_size_min[topid] == 0) in top_end_debug()174 mtm->mtm_tops->mtm_top_size_min[topid] = in top_end_debug()177 if (tp->rsize < mtm->mtm_tops->mtm_top_size_min[topid]) in top_end_debug()178 mtm->mtm_tops->mtm_top_size_min[topid] = in top_end_debug()[all …]
213 mt_map_t *mtm; in lufs_unsnarf() local219 mtm = ul->un_logmap; in lufs_unsnarf()226 mutex_enter(&mtm->mtm_lock); in lufs_unsnarf()228 while (mtm->mtm_taskq_sync_count != 0) { in lufs_unsnarf()229 cv_wait(&mtm->mtm_cv, &mtm->mtm_lock); in lufs_unsnarf()232 mutex_exit(&mtm->mtm_lock); in lufs_unsnarf()
410 mt_map_t *mtm = ul->un_deltamap; in ufs_flush() local413 ASSERT(mtm->mtm_nme == 0); in ufs_flush()
353 #define MAP_INDEX(mof, mtm) \ argument354 (((mof) >> MAPBLOCKSHIFT) & (mtm->mtm_nhash-1))355 #define MAP_HASH(mof, mtm) \ argument356 ((mtm)->mtm_hash + MAP_INDEX((mof), (mtm)))
297 static int mtm; variable701 mtm = 0; in main()831 mtm = 0; in main()905 mtm = 0; in main()910 mtm = 0; in main()915 mtm++; in main()925 mtm = 0; in main()932 mtm = 0; in main()