Lines Matching refs:compare
87 static int compare(unsigned long long, unsigned long long);
170 int (*compare)(xenstat_domain *domain1, xenstat_domain *domain2); member
416 static int compare(unsigned long long i1, unsigned long long i2) in compare() function
429 return fields[sort_field].compare(*domain1, *domain2); in compare_domains()
489 return -compare(xenstat_domain_cpu_ns(domain1), in compare_cpu()
526 return -compare(get_cpu_pct(domain1), get_cpu_pct(domain2)); in compare_cpu_pct()
538 return -compare(xenstat_domain_cur_mem(domain1), in compare_mem()
559 return -compare(xenstat_domain_max_mem(domain1), in compare_maxmem()
588 return -compare(xenstat_domain_num_vcpus(domain1), in compare_vcpus()
602 return -compare(xenstat_domain_num_networks(domain1), in compare_nets()
616 return -compare(tot_net_bytes(domain1, FALSE), in compare_net_tx()
630 return -compare(tot_net_bytes(domain1, TRUE), in compare_net_rx()
670 return -compare(xenstat_domain_num_vbds(domain1), in compare_vbds()
689 return -compare(dom1_vbd_oo, dom2_vbd_oo); in compare_vbd_oo()
716 return -compare(dom1_vbd_rd, dom1_vbd_rd); in compare_vbd_rd()
743 return -compare(dom1_vbd_wr, dom2_vbd_wr); in compare_vbd_wr()
770 return -compare(dom1_vbd_rsect, dom2_vbd_rsect); in compare_vbd_rsect()
797 return -compare(dom1_vbd_wsect, dom2_vbd_wsect); in compare_vbd_wsect()
871 return compare(xenstat_domain_ssid(domain1), in compare_ssid()