Lines Matching refs:lcol

89 st_debug(st_debug_level_t level, lcollection_t *lcol, char *msg, ...)  in st_debug()  argument
105 (lcol->lcol_id.rcid_type == RCIDT_PROJECT ? "project" : "zone"), in st_debug()
106 lcol->lcol_name, msg); in st_debug()
122 get_valid_victim(lcollection_t *lcol, lprocess_t *lpc) in get_valid_victim() argument
124 if (lpc == NULL || !lcollection_member(lcol, lpc)) in get_valid_victim()
125 lpc = lcol->lcol_lprocess; in get_valid_victim()
628 scan(lcollection_t *lcol, int64_t excess) in scan() argument
638 st_debug(STDL_NORMAL, lcol, "starting to scan, excess %lldk\n", in scan()
646 if ((vic = get_valid_victim(lcol, lcol->lcol_victim)) == in scan()
647 lcol->lcol_victim && lcol->lcol_resaddr != NULL) { in scan()
648 vicaddr = lcol->lcol_resaddr; in scan()
649 st_debug(STDL_NORMAL, lcol, "resuming process %d\n", in scan()
671 st_debug(STDL_NORMAL, lcol, "process %d:" in scan()
681 if ((lcol->lcol_stat.lcols_scan_count % in scan()
690 if (lcol->lcol_stat.lcols_scan_count > 0) in scan()
701 lpc = lpc->lpc_next != NULL ? get_valid_victim(lcol, in scan()
720 lpc = lpc->lpc_next != NULL ? get_valid_victim(lcol, in scan()
741 st_debug(STDL_NORMAL, lcol, "process %d: xmap" in scan()
751 st_debug(STDL_NORMAL, lcol, "trying to resume from" in scan()
762 st_debug(STDL_NORMAL, lcol, "cannot get %d psinfo", in scan()
768 st_debug(STDL_NORMAL, lcol, "cannot grab %d (%d)", in scan()
773 st_debug(STDL_NORMAL, lcol, "cannot control %d", in scan()
785 st_debug(STDL_NORMAL, lcol, "agent not in expected" in scan()
794 st_debug(STDL_NORMAL, lcol, "paging out process %d\n", in scan()
812 lcol->lcol_stat.lcols_pg_att += in scan()
825 st_debug(STDL_HIGH, lcol, "start from mapping at 0x%p," in scan()
833 st_debug(STDL_HIGH, lcol, "advance, vicaddr %p, pdaddr" in scan()
851 st_debug(STDL_HIGH, lcol, "endaddr %p, *cur %d\n", in scan()
897 lcol->lcol_stat.lcols_pg_att += (att = in scan()
900 st_debug(STDL_NORMAL, lcol, "paged out 0x%p" in scan()
906 st_debug(STDL_NORMAL, lcol, in scan()
922 st_debug(STDL_NORMAL, lcol, "done, excess %lld\n", in scan()
932 lcol->lcol_victim = vic; in scan()
944 vic = get_valid_victim(lcol, in scan()
954 lcol->lcol_stat.lcols_scan_count++; in scan()
955 lcol->lcol_stat.lcols_scan_time_complete in scan()
956 = lcol->lcol_stat.lcols_scan_time; in scan()
963 lcol->lcol_stat in scan()
974 lcol->lcol_stat.lcols_scan_time += (gethrtime() - scan_start); in scan()
975 st_debug(STDL_HIGH, lcol, "done scanning; excess %lld\n", in scan()
978 lcol->lcol_resaddr = vicaddr; in scan()
979 if (lcol->lcol_resaddr == NULL && lcol->lcol_victim != NULL) { in scan()
980 lcol->lcol_victim = get_valid_victim(lcol, in scan()
981 lcol->lcol_victim->lpc_next); in scan()