Lines Matching defs:logmap

57  * logmap tuning constants
279 * don't get cancelled here but in the logmap.
398 * Call the indicated function to cause deltas to move to the logmap.
463 mt_map_t *logmap = ul->un_logmap;
465 logmap_settail(logmap, ul);
467 mutex_enter(&logmap->mtm_mutex);
468 if ((logmap->mtm_flags & MTM_ROLL_RUNNING) == 0) {
469 logmap->mtm_flags |= MTM_ROLL_RUNNING;
470 logmap->mtm_flags &= ~(MTM_FORCE_ROLL | MTM_ROLL_EXIT);
474 mutex_exit(&logmap->mtm_mutex);
499 logmap_forceroll_nowait(mt_map_t *logmap)
505 * and notice it has too many logmap entries.
507 ASSERT(!(logmap->mtm_ul->un_flags & LDL_NOROLL));
508 if ((logmap->mtm_flags & MTM_ROLLING) == 0) {
509 cv_signal(&logmap->mtm_to_roll_cv);
608 logmap_next_roll(mt_map_t *logmap, offset_t *mofp)
612 ASSERT(((logmap->mtm_debug & MT_CHECK_MAP) == 0) ||
613 map_check_linkage(logmap));
615 mutex_enter(&logmap->mtm_mutex);
616 for (me = logmap->mtm_next; me != (mapentry_t *)logmap;
624 if (me->me_tid == logmap->mtm_tid) {
629 if (me->me_tid == logmap->mtm_committid) {
642 mutex_exit(&logmap->mtm_mutex);
645 mutex_exit(&logmap->mtm_mutex);
758 logmap_list_get_roll(mt_map_t *logmap, offset_t mof, rollbuf_t *rbp)
763 ASSERT(RW_LOCK_HELD(&logmap->mtm_rwlock));
764 ASSERT(((logmap->mtm_debug & MT_CHECK_MAP) == 0) ||
765 map_check_linkage(logmap));
773 mutex_enter(&logmap->mtm_mutex);
774 mep = MAP_HASH(mof, logmap);
778 if (me->me_tid == logmap->mtm_tid)
780 if (me->me_tid == logmap->mtm_committid)
795 mutex_exit(&logmap->mtm_mutex);
829 mutex_exit(&logmap->mtm_mutex);
831 ASSERT(((logmap->mtm_debug & MT_SCAN) == 0) ||
832 logmap_logscan_debug(logmap, age));
833 ASSERT(RW_LOCK_HELD(&logmap->mtm_rwlock));
1078 * put a list of deltas into a logmap
1200 * Create one cached roll buffer logmap entry, and reference count the
1202 * Cancel previous logmap entries.
1657 * initialize cancel record and put in logmap
1718 * cancel entries in a logmap (entries are freed at EOT)
1870 * add delta to logmap
1911 mt_map_t *logmap = ul->un_logmap;
1921 * prepare the logmap for a logscan
1923 (void) map_free_entries(logmap);
1924 logmap->mtm_tid = 0;
1925 logmap->mtm_committid = UINT32_C(0);
1926 logmap->mtm_age = 0;
1927 logmap->mtm_dirty = 0;
1928 logmap->mtm_ref = 0;
1933 * add to logmap
1944 /* add to logmap */
1954 * remove the last partial transaction from the logmap
1956 logmap_abort(ul, logmap->mtm_tid);