Lines Matching full:rate
31 * Dirtylimit stop working if dirty page rate error
827 "{ 'execute': 'calc-dirty-rate'," in calc_dirty_rate()
837 "{ 'execute': 'query-dirty-rate' }"); in query_dirty_rate()
845 "'dirty-rate': %" PRIu64 " } }", in dirtylimit_set_all()
906 QDict *rate; in get_dirty_rate() local
916 rates = qdict_get_qlist(rsp_return, "vcpu-dirty-rate"); in get_dirty_rate()
922 rate = qobject_to(QDict, qlist_entry_obj(entry)); in get_dirty_rate()
923 g_assert(rate); in get_dirty_rate()
925 dirtyrate = qdict_get_try_int(rate, "dirty-rate", -1); in get_dirty_rate()
936 QDict *rate; in get_limit_rate() local
948 rate = qobject_to(QDict, qlist_entry_obj(entry)); in get_limit_rate()
949 g_assert(rate); in get_limit_rate()
951 dirtyrate = qdict_get_try_int(rate, "limit-rate", -1); in get_limit_rate()
988 int64_t rate ; in test_vcpu_dirty_limit() local
1004 /* Query original dirty page rate */ in test_vcpu_dirty_limit()
1010 /* Setup quota dirty page rate at half of origin */ in test_vcpu_dirty_limit()
1033 rate = get_dirty_rate(vm); in test_vcpu_dirty_limit()
1036 * Assume hitting if current rate is less in test_vcpu_dirty_limit()
1037 * than quota rate (within accepting error) in test_vcpu_dirty_limit()
1039 if (rate < (quota_rate + DIRTYLIMIT_TOLERANCE_RANGE)) { in test_vcpu_dirty_limit()
1055 rate = get_dirty_rate(vm); in test_vcpu_dirty_limit()
1058 * Assume dirtylimit be canceled if current rate is in test_vcpu_dirty_limit()
1059 * greater than quota rate (within accepting error) in test_vcpu_dirty_limit()
1061 if (rate > (quota_rate + DIRTYLIMIT_TOLERANCE_RANGE)) { in test_vcpu_dirty_limit()
1085 /* To check limit rate after precopy */ in migrate_dirty_limit_wait_showup()
1210 * The dirty limit rate should equals the return value of in test_dirty_limit()