Home
last modified time | relevance | path

Searched refs:mtm (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/uts/common/fs/ufs/
H A Dlufs_top.c141 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 Dlufs_map.c110 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 Dlufs_debug.c154 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 Dlufs.c213 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 Dufs_lockfs.c410 mt_map_t *mtm = ul->un_deltamap; in ufs_flush() local
413 ASSERT(mtm->mtm_nme == 0); in ufs_flush()
/titanic_50/usr/src/uts/common/sys/fs/
H A Dufs_log.h353 #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_50/usr/src/cmd/ls/
H A Dls.c297 static int mtm; variable
701 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()