/xen/tools/libs/toollog/ |
A D | xtl_core.c | 67 unsigned long done, unsigned long total) { in xtl_progress() argument 72 if ( total ) in xtl_progress() 73 percent = (total < LONG_MAX/100) in xtl_progress() 74 ? (done * 100) / total in xtl_progress() 75 : done / ((total + 99) / 100); in xtl_progress() 77 logger->progress(logger, context, doing_what, percent, done, total); in xtl_progress()
|
A D | xtl_logger_stdio.c | 102 unsigned long done, unsigned long total) { in stdiostream_progress() argument 128 doing_what, done, total, percent); in stdiostream_progress() 137 doing_what, done, total, percent, in stdiostream_progress() 138 done == total ? "\n" : ""); in stdiostream_progress()
|
/xen/tools/xenpaging/ |
A D | file_ops.c | 29 int total = 0; in file_op() local 36 while ( total < PAGE_SIZE ) in file_op() 38 bytes = fn(fd, page + total, PAGE_SIZE - total); in file_op() 42 total += bytes; in file_op()
|
/xen/tools/xenmon/ |
A D | xenmon.py | 131 total = float(self.gotten_sum) 132 per = 100*total/passed 135 avg = total/exs 142 per = 100*total/passed 145 avg = total/exs 152 per = 100*total/passed 155 avg = total/float(ios) 161 total = self.allocated_sum 164 return float(total)/exs 170 return total [all …]
|
/xen/tools/ocaml/test/ |
A D | xtl.ml | 13 let stdio_progress _ctx what percent dne total = 14 let nl = if dne = total then "\n" else "" in 15 printf "\rProgress %s %d%% (%Ld/%Ld)%s" what percent dne total nl;
|
/xen/tools/libs/toollog/include/ |
A D | xentoollog.h | 56 int percent, unsigned long done, unsigned long total) 108 unsigned long done, unsigned long total);
|
/xen/tools/xenstat/xentop/ |
A D | xentop.c | 648 unsigned long long total = 0; in tot_net_bytes() local 658 total += xenstat_network_rbytes(network); in tot_net_bytes() 660 total += xenstat_network_tbytes(network); in tot_net_bytes() 663 return total; in tot_net_bytes() 828 unsigned long long total = 0; in tot_vbd_reqs() local 844 total += xenstat_vbd_oo_reqs(vbd); in tot_vbd_reqs() 847 total += xenstat_vbd_rd_reqs(vbd); in tot_vbd_reqs() 850 total += xenstat_vbd_wr_reqs(vbd); in tot_vbd_reqs() 853 total += xenstat_vbd_rd_sects(vbd); in tot_vbd_reqs() 856 total += xenstat_vbd_wr_sects(vbd); in tot_vbd_reqs() [all …]
|
A D | TODO | 7 * Domain total network TX % and RX %
|
/xen/tools/libxc/ |
A D | xc_dom_bzimageloader.c | 54 uint64_t total; in xc_try_bzip2_decode() local 163 total = (((uint64_t)stream.total_out_hi32) << 32) | stream.total_out_lo32; in xc_try_bzip2_decode() 165 if ( xc_dom_register_external(dom, out_buf, total) ) in xc_try_bzip2_decode() 173 __FUNCTION__, *size, (long unsigned int) total); in xc_try_bzip2_decode() 176 *size = total; in xc_try_bzip2_decode()
|
A D | xc_pm.c | 41 *max_px = sysctl.u.get_pmstat.u.getpx.total; in xc_pm_get_max_px() 77 sysctl.u.get_pmstat.u.getpx.total = max_px; in xc_pm_get_pxstat() 89 pxpt->total = sysctl.u.get_pmstat.u.getpx.total; in xc_pm_get_pxstat()
|
/xen/tools/xenstore/ |
A D | talloc.c | 734 off_t total = 0; in talloc_total_size() local 752 total = tc->size; in talloc_total_size() 754 total += talloc_total_size(TC_PTR_FROM_CHUNK(c)); in talloc_total_size() 759 return total; in talloc_total_size() 767 off_t total = 0; in talloc_total_blocks() local 776 total++; in talloc_total_blocks() 778 total += talloc_total_blocks(TC_PTR_FROM_CHUNK(c)); in talloc_total_blocks() 783 return total; in talloc_total_blocks()
|
A D | talloc_guide.txt | 48 makes this worthwhile, especially as the total overhead of 322 The talloc_total_size() function returns the total size in bytes used 333 The talloc_total_blocks() function returns the total memory block 347 ptr, showing the total memory and number of blocks used by that child. 384 talloc report on 'null_context' (total 267 bytes in 15 blocks) 409 full talloc report on 'root' (total 18 bytes in 8 blocks)
|
/xen/tools/ocaml/libs/xentoollog/ |
A D | xentoollog_stubs.c | 117 int percent, unsigned long done, unsigned long total) in stub_xtl_ocaml_progress() argument 133 args[4] = caml_copy_int64(total); in stub_xtl_ocaml_progress()
|
A D | xentoollog.mli.in | 32 percent, done, total.
|
/xen/tools/python/ |
A D | pylintrc | 49 # respectivly contain the number of errors / warnings messages and the total 260 # * total number of lines 261 # * total number of code lines 262 # * total number of docstring lines 263 # * total number of comments lines 264 # * total number of empty lines
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 1381 total = subend; in vmx_find_msr() 1391 subend = total; in vmx_find_msr() 1401 end = start + total; in vmx_find_msr() 1412 unsigned int substart, subend, total; in vmx_add_msr() local 1423 total = subend; in vmx_add_msr() 1430 total = vmx->msr_load_count; in vmx_add_msr() 1437 total = subend; in vmx_add_msr() 1475 end = start + total; in vmx_add_msr() 1533 total = subend; in vmx_del_msr() 1543 subend = total; in vmx_del_msr() [all …]
|
/xen/xen/include/acpi/cpufreq/ |
A D | processor_perf.h | 46 uint8_t total; /* total Px states */ member
|
/xen/xen/tools/ |
A D | symbols.c | 266 int c, rlen, total=0; in expand_symbol() local 274 total++; in expand_symbol() 278 total += rlen; in expand_symbol() 286 return total; in expand_symbol()
|
/xen/tools/libxl/ |
A D | libxl_save_helper.c | 73 unsigned long done, unsigned long total) in tellparent_progress() argument 75 helper_stub_progress(context, doing_what, done, total, 0); in tellparent_progress()
|
A D | libxl_save_callout.c | 412 unsigned long total, void *user) in libxl__srm_callout_callback_progress() argument 416 xtl_progress(CTX->lg, context, doing_what, done, total); in libxl__srm_callout_callback_progress()
|
/xen/tools/firmware/hvmloader/ |
A D | smbios.c | 135 uint32_t total = 0; in get_smbios_pt_struct() local 141 while ( total < smbios_pt_length ) in get_smbios_pt_struct() 150 total += (*sep + sizeof(uint32_t)); in get_smbios_pt_struct() 969 uint32_t total = 0; in smbios_type_vendor_oem_init() local 975 while ( total < smbios_pt_length ) in smbios_type_vendor_oem_init() 990 total += (*sep + sizeof(uint32_t)); in smbios_type_vendor_oem_init()
|
/xen/xen/drivers/acpi/ |
A D | pmstat.c | 80 op->u.getpx.total = pmpt->perf.state_count; in do_get_pm_info() 119 op->u.getpx.total = pxpt->u.total; in do_get_pm_info()
|
/xen/xen/tools/kconfig/ |
A D | nconf.gui.c | 178 int total = 1; in get_line_no() local 185 total++; in get_line_no() 186 return total; in get_line_no()
|
/xen/xen/common/ |
A D | xmalloc_tlsf.c | 347 unsigned long total; in xmem_pool_get_total_size() local 348 total = ROUNDUP_SIZE(sizeof(*pool)) in xmem_pool_get_total_size() 350 return total; in xmem_pool_get_total_size()
|
/xen/tools/fuzz/ |
A D | README.afl | 52 In order to speed up the process of checking total coverage,
|