Lines Matching refs:lcol
91 st_debug(st_debug_level_t level, lcollection_t *lcol, char *msg, ...)
107 (lcol->lcol_id.rcid_type == RCIDT_PROJECT ? "project" : "zone"),
108 lcol->lcol_name, msg);
124 get_valid_victim(lcollection_t *lcol, lprocess_t *lpc)
126 if (lpc == NULL || !lcollection_member(lcol, lpc))
127 lpc = lcol->lcol_lprocess;
630 scan(lcollection_t *lcol, int64_t excess)
640 st_debug(STDL_NORMAL, lcol, "starting to scan, excess %lldk\n",
648 if ((vic = get_valid_victim(lcol, lcol->lcol_victim)) ==
649 lcol->lcol_victim && lcol->lcol_resaddr != NULL) {
650 vicaddr = lcol->lcol_resaddr;
651 st_debug(STDL_NORMAL, lcol, "resuming process %d\n",
673 st_debug(STDL_NORMAL, lcol, "process %d:"
683 if ((lcol->lcol_stat.lcols_scan_count %
692 if (lcol->lcol_stat.lcols_scan_count > 0)
703 lpc = lpc->lpc_next != NULL ? get_valid_victim(lcol,
722 lpc = lpc->lpc_next != NULL ? get_valid_victim(lcol,
743 st_debug(STDL_NORMAL, lcol, "process %d: xmap"
753 st_debug(STDL_NORMAL, lcol, "trying to resume from"
764 st_debug(STDL_NORMAL, lcol, "cannot get %d psinfo",
770 st_debug(STDL_NORMAL, lcol, "cannot grab %d (%d)",
775 st_debug(STDL_NORMAL, lcol, "cannot control %d",
787 st_debug(STDL_NORMAL, lcol, "agent not in expected"
796 st_debug(STDL_NORMAL, lcol, "paging out process %d\n",
814 lcol->lcol_stat.lcols_pg_att +=
827 st_debug(STDL_HIGH, lcol, "start from mapping at 0x%p,"
835 st_debug(STDL_HIGH, lcol, "advance, vicaddr %p, pdaddr"
852 st_debug(STDL_HIGH, lcol, "endaddr %p, *cur %d\n",
898 lcol->lcol_stat.lcols_pg_att += (att =
901 st_debug(STDL_NORMAL, lcol, "paged out 0x%p"
907 st_debug(STDL_NORMAL, lcol,
923 st_debug(STDL_NORMAL, lcol, "done, excess %lld\n",
933 lcol->lcol_victim = vic;
945 vic = get_valid_victim(lcol,
955 lcol->lcol_stat.lcols_scan_count++;
956 lcol->lcol_stat.lcols_scan_time_complete
957 = lcol->lcol_stat.lcols_scan_time;
964 lcol->lcol_stat
975 lcol->lcol_stat.lcols_scan_time += (gethrtime() - scan_start);
976 st_debug(STDL_HIGH, lcol, "done scanning; excess %lld\n",
979 lcol->lcol_resaddr = vicaddr;
980 if (lcol->lcol_resaddr == NULL && lcol->lcol_victim != NULL) {
981 lcol->lcol_victim = get_valid_victim(lcol,
982 lcol->lcol_victim->lpc_next);