Home
last modified time | relevance | path

Searched refs:total (Results 76 – 100 of 1306) sorted by relevance

12345678910>>...53

/openbmc/linux/tools/perf/ui/gtk/
H A Dprogress.c12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; in gtk_ui_progress__update()
35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total); in gtk_ui_progress__update()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ringbuf_multi.c52 long total = 0; variable
82 sample->seq = total; in test_ringbuf()
83 total += 1; in test_ringbuf()
/openbmc/qemu/tests/bench/
H A Dbenchmark-crypto-cipher.c28 const size_t total = 2 * GiB; in test_cipher_speed() local
62 remain = total; in test_cipher_speed()
76 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed()
79 remain = total; in test_cipher_speed()
93 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Dintel_memory_region.c67 rem = total; in igt_mock_fill()
244 resource_size_t total; in igt_mock_contiguous() local
331 target = total >> 1; in igt_mock_contiguous()
540 u64 total; in igt_object_mappable_total() local
542 total = 0; in igt_object_mappable_total()
551 return total; in igt_object_mappable_total()
561 u64 total; in igt_mock_io_size() local
574 total = round_down(total, ps); in igt_mock_io_size()
575 total = max_t(u64, total, SZ_1G); in igt_mock_io_size()
591 rem = total - io_size; in igt_mock_io_size()
[all …]
/openbmc/linux/net/ipv4/
H A Dinetpeer.c61 bp->total = 0; in inet_peer_base_init()
153 if (base->total >= peer_threshold) in inet_peer_gc()
157 base->total / peer_threshold * HZ; in inet_peer_gc()
173 base->total--; in inet_peer_gc()
229 base->total++; in inet_getpeer()
306 base->total = 0; in inetpeer_invalidate_tree()
/openbmc/openpower-occ-control/
H A Docc_ffdc.cpp163 size_t total = 0; in analyzeEvent() local
165 while (total < max_ffdc_size) in analyzeEvent()
167 auto r = read(fd, data.get() + total, max_ffdc_size - total); in analyzeEvent()
181 total += r; in analyzeEvent()
186 if (!total) in analyzeEvent()
196 if (total > sbe_status_header_size) in analyzeEvent()
209 while (written < total) in analyzeEvent()
211 auto r = write(tfd, data.get() + written, total - written); in analyzeEvent()
/openbmc/linux/lib/kunit/
H A Dtest.c83 unsigned long total; member
94 return (stats.total > 1); in kunit_should_print_stats()
110 stats.total); in kunit_print_test_stats()
591 suite_stats.total); in kunit_print_suite_stats()
600 param_stats.total); in kunit_print_suite_stats()
619 stats->total++; in kunit_update_stats()
622 static void kunit_accumulate_stats(struct kunit_result_stats *total, in kunit_accumulate_stats() argument
625 total->passed += add.passed; in kunit_accumulate_stats()
626 total->skipped += add.skipped; in kunit_accumulate_stats()
627 total->failed += add.failed; in kunit_accumulate_stats()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Ds3.py51 total = (percs[-1][2])
54 total = convertToBytes(total, totalUnit)
55 progress = (completed/total)*100.0
/openbmc/linux/fs/ceph/
H A Dquota.c489 u64 total = 0, used, free; in ceph_quota_update_statfs() local
506 total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
509 if (!total) { in ceph_quota_update_statfs()
510 total = ci->i_max_bytes >> CEPH_4K_BLOCK_SHIFT; in ceph_quota_update_statfs()
517 free = total > used ? total - used : 0; in ceph_quota_update_statfs()
521 if (!total) { in ceph_quota_update_statfs()
522 total = 1; in ceph_quota_update_statfs()
528 if (total) { in ceph_quota_update_statfs()
529 buf->f_blocks = total; in ceph_quota_update_statfs()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c69 skel->bss->total = 0; in trigger_samples()
197 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in ringbuf_subtest()
198 2L, skel->bss->total); in ringbuf_subtest()
235 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in ringbuf_subtest()
236 2L, skel->bss->total); in ringbuf_subtest()
260 skel->bss->total = 0; in ringbuf_subtest()
292 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in ringbuf_subtest()
293 2L, skel->bss->total); in ringbuf_subtest()
/openbmc/linux/mm/
H A Dshrinker_debug.c20 unsigned long nr, total = 0; in shrinker_count_objects() local
39 total += nr; in shrinker_count_objects()
42 return total; in shrinker_count_objects()
50 unsigned long total; in shrinker_debugfs_count_show() local
72 total = shrinker_count_objects(shrinker, in shrinker_debugfs_count_show()
75 if (total) { in shrinker_debugfs_count_show()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dmsi.c154 static struct device_node *__find_pe_total_msi(struct device_node *node, int *total) in __find_pe_total_msi() argument
165 *total = be32_to_cpup(p); in __find_pe_total_msi()
175 static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total) in find_pe_total_msi() argument
177 return __find_pe_total_msi(pci_device_to_OF_node(dev), total); in find_pe_total_msi()
180 static struct device_node *find_pe_dn(struct pci_dev *dev, int *total) in find_pe_dn() argument
206 *total = 8; in find_pe_dn()
271 int total; in msi_quota_for_device() local
276 pe_dn = find_pe_total_msi(dev, &total); in msi_quota_for_device()
278 pe_dn = find_pe_dn(dev, &total); in msi_quota_for_device()
298 counts.quota = total / counts.num_devices; in msi_quota_for_device()
[all …]
/openbmc/linux/Documentation/translations/zh_CN/accounting/
H A Dpsi.rst41 some avg10=0.00 avg60=0.00 avg300=0.00 total=0
45 some avg10=0.00 avg60=0.00 avg300=0.00 total=0
46 full avg10=0.00 avg60=0.00 avg300=0.00 total=0
57 既可观察到短期事件的影响,也可看到中等及长时间内的趋势。total代表总阻塞
/openbmc/linux/drivers/usb/usbip/
H A Dvudc_transfer.c311 int total, limit; in v_timer() local
315 total = get_frame_limit(udc->gadget.speed); in v_timer()
316 if (total < 0) { /* unknown speed, or not set yet */ in v_timer()
323 timer->frame_limit = total; in v_timer()
327 total = timer->frame_limit; in v_timer()
353 if (total <= 0 && ep->type == USB_ENDPOINT_XFER_BULK) in v_timer()
394 limit = total; in v_timer()
410 total -= transfer(udc, urb, ep, limit); in v_timer()
/openbmc/linux/arch/um/drivers/
H A Dmconsole_user.c126 int mconsole_reply_len(struct mc_request *req, const char *str, int total, in mconsole_reply_len() argument
143 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len()
145 if (len == total) reply.more = more; in mconsole_reply_len()
150 total -= len; in mconsole_reply_len()
161 } while (total > 0); in mconsole_reply_len()
/openbmc/linux/Documentation/admin-guide/
H A Diostats.rst66 This is the total number of reads completed successfully.
75 This is the total number of sectors read successfully.
78 This is the total number of milliseconds spent by all reads (as
82 This is the total number of writes completed successfully.
88 This is the total number of sectors written successfully.
91 This is the total number of milliseconds spent by all writes (as
113 This is the total number of discards completed successfully.
119 This is the total number of sectors discarded successfully.
162 This is the total number of reads issued to this partition.
169 This is the total number of writes issued to this partition.
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_pkvm.h59 unsigned long total = 0, i; in __hyp_pgtable_max_pages() local
64 total += nr_pages; in __hyp_pgtable_max_pages()
67 return total; in __hyp_pgtable_max_pages()
/openbmc/linux/lib/
H A Dref_tracker.c23 int total; member
41 stats->total = 0; in ref_tracker_get_stats()
48 ++stats->total; in ref_tracker_get_stats()
106 for (i = 0, skipped = stats->total; i < stats->count; ++i) { in __ref_tracker_dir_pr_ostream()
111 stats->stacks[i].count, stats->total, sbuf); in __ref_tracker_dir_pr_ostream()
117 dir->name, dir, skipped, stats->total); in __ref_tracker_dir_pr_ostream()
/openbmc/linux/tools/testing/selftests/mm/
H A Dcow.c125 ssize_t cur, total, transferred; in child_vmsplice_memcmp_fn() local
156 for (total = 0; total < transferred; total += cur) { in child_vmsplice_memcmp_fn()
157 cur = read(fds[0], new + total, transferred - total); in child_vmsplice_memcmp_fn()
248 ssize_t cur, total, transferred; in do_test_vmsplice_in_parent() local
316 for (total = 0; total < transferred; total += cur) { in do_test_vmsplice_in_parent()
317 cur = read(fds[0], new + total, transferred - total); in do_test_vmsplice_in_parent()
353 ssize_t cur, total; in do_test_iouring() local
467 total = 0; in do_test_iouring()
468 while (total < size) { in do_test_iouring()
469 cur = pread(fd, tmp + total, size - total, total); in do_test_iouring()
[all …]
/openbmc/u-boot/lib/
H A Dsha256.c45 ctx->total[0] = 0; in sha256_starts()
46 ctx->total[1] = 0; in sha256_starts()
196 left = ctx->total[0] & 0x3F; in sha256_update()
199 ctx->total[0] += length; in sha256_update()
200 ctx->total[0] &= 0xFFFFFFFF; in sha256_update()
202 if (ctx->total[0] < length) in sha256_update()
203 ctx->total[1]++; in sha256_update()
236 high = ((ctx->total[0] >> 29) in sha256_finish()
237 | (ctx->total[1] << 3)); in sha256_finish()
238 low = (ctx->total[0] << 3); in sha256_finish()
[all …]
H A Dsha1.c58 ctx->total[0] = 0; in sha1_starts()
59 ctx->total[1] = 0; in sha1_starts()
234 left = ctx->total[0] & 0x3F; in sha1_update()
237 ctx->total[0] += ilen; in sha1_update()
238 ctx->total[0] &= 0xFFFFFFFF; in sha1_update()
240 if (ctx->total[0] < (unsigned long) ilen) in sha1_update()
241 ctx->total[1]++; in sha1_update()
278 high = (ctx->total[0] >> 29) in sha1_finish()
279 | (ctx->total[1] << 3); in sha1_finish()
280 low = (ctx->total[0] << 3); in sha1_finish()
[all …]
/openbmc/linux/drivers/mtd/nand/
H A Decc-sw-bch.c248 nand->ecc.ctx.total = nsteps * code_size; in nand_ecc_sw_bch_init_ctx()
299 int total = nand->ecc.ctx.total; in nand_ecc_sw_bch_prepare_io_req() local
325 0, total); in nand_ecc_sw_bch_prepare_io_req()
334 int total = nand->ecc.ctx.total; in nand_ecc_sw_bch_finish_io_req() local
359 total); in nand_ecc_sw_bch_finish_io_req()
/openbmc/qemu/docs/
H A Dmulti-thread-compression.txt23 bandwidth is limited, and the total migration time can also be reduced
30 the total migration time. If the process of the compression is quick
31 enough, then the total migration time can be reduced, and multiple
78 total time(msec): | 3333 | 1833
86 total ram(kB): | 4211524 | 4211524
98 total time(msec): | 37369 | 15989
106 total ram(kB): | 4211524 | 4211524
/openbmc/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c354 size_t total = 0; in virtio_transport_stream_do_peek() local
375 total += bytes; in virtio_transport_stream_do_peek()
385 return total; in virtio_transport_stream_do_peek()
388 if (total) in virtio_transport_stream_do_peek()
389 err = total; in virtio_transport_stream_do_peek()
432 total += bytes; in virtio_transport_stream_do_dequeue()
464 return total; in virtio_transport_stream_do_dequeue()
467 if (total) in virtio_transport_stream_do_dequeue()
468 err = total; in virtio_transport_stream_do_dequeue()
487 total = 0; in virtio_transport_seqpacket_do_peek()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dpci.c121 u32 total, offset; in ath5k_pci_eeprom_read_mac() local
127 for (offset = 0x1f, octet = 0, total = 0; offset >= 0x1d; offset--) { in ath5k_pci_eeprom_read_mac()
130 total += data; in ath5k_pci_eeprom_read_mac()
136 if (!total || total == 3 * 0xffff) in ath5k_pci_eeprom_read_mac()

12345678910>>...53