Lines Matching refs:lcol

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