Searched refs:mtm (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | lufs_top.c | 141 mt_map_t *mtm = ul->un_logmap; in top_issue_sync() local 158 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() local 193 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 …]
|
H A D | lufs_map.c | 110 map_free_entries(mt_map_t *mtm) in map_free_entries() argument 115 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() argument 136 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 …]
|
H A D | lufs_debug.c | 154 top_end_debug(ml_unit_t *ul, mt_map_t *mtm, top_t topid, ulong_t size) in top_end_debug() argument 167 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 …]
|
H A D | lufs.c | 213 mt_map_t *mtm; in lufs_unsnarf() local 219 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()
|
H A D | ufs_lockfs.c | 410 mt_map_t *mtm = ul->un_deltamap; in ufs_flush() local 413 ASSERT(mtm->mtm_nme == 0); in ufs_flush()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | ufs_log.h | 353 #define MAP_INDEX(mof, mtm) \ argument 354 (((mof) >> MAPBLOCKSHIFT) & (mtm->mtm_nhash-1)) 355 #define MAP_HASH(mof, mtm) \ argument 356 ((mtm)->mtm_hash + MAP_INDEX((mof), (mtm)))
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_trans.h | 522 #define MAP_INDEX(dev, mof, mtm) \ argument 523 ((((mof) >> MAPBLOCKSHIFT) + (dev)) & ((mtm)->mtm_nhash-1)) 524 #define MAP_HASH(dev, mof, mtm) \ argument 525 (mtm->mtm_hash + MAP_INDEX(dev, mof, mtm))
|
/titanic_41/usr/src/cmd/ls/ |
H A D | ls.c | 306 static int mtm; variable 710 mtm = 0; in main() 841 mtm = 0; in main() 915 mtm = 0; in main() 920 mtm = 0; in main() 925 mtm++; in main() 935 mtm = 0; in main() 942 mtm = 0; in main()
|