/openbmc/linux/drivers/crypto/ |
H A D | omap-crypto.c | 16 static int omap_crypto_copy_sg_lists(int total, int bs, in omap_crypto_copy_sg_lists() argument 33 while (*sg && total) { in omap_crypto_copy_sg_lists() 36 if (total < len) in omap_crypto_copy_sg_lists() 37 len = total; in omap_crypto_copy_sg_lists() 40 total -= len; in omap_crypto_copy_sg_lists() 42 if (total <= 0) in omap_crypto_copy_sg_lists() 55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs() argument 62 new_len = ALIGN(total, bs); in omap_crypto_copy_sgs() 73 scatterwalk_map_and_copy(buf, *sg, 0, total, 0); in omap_crypto_copy_sgs() 75 memset(buf + total, 0, new_len - total); in omap_crypto_copy_sgs() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | htab_map_batch_ops.c | 79 __u32 batch, count, total, total_success; in __test_map_lookup_and_delete_batch() local 145 total = 0; in __test_map_lookup_and_delete_batch() 153 total ? &batch : NULL, in __test_map_lookup_and_delete_batch() 154 &batch, keys + total, in __test_map_lookup_and_delete_batch() 156 total * value_size, in __test_map_lookup_and_delete_batch() 171 total += count; in __test_map_lookup_and_delete_batch() 179 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_delete_batch() 180 "total = %u, max_entries = %u\n", total, max_entries); in __test_map_lookup_and_delete_batch() 183 total = 0; in __test_map_lookup_and_delete_batch() 185 while (total < max_entries) { in __test_map_lookup_and_delete_batch() [all …]
|
H A D | lpm_trie_map_batch_ops.c | 71 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local 99 total = 0; in test_lpm_trie_map_batch_ops() 106 total ? &batch : NULL, &batch, in test_lpm_trie_map_batch_ops() 107 keys + total, values + total, &count, &opts); in test_lpm_trie_map_batch_ops() 112 total += count; in test_lpm_trie_map_batch_ops() 117 CHECK(total != max_entries, "lookup with steps", in test_lpm_trie_map_batch_ops() 118 "total = %u, max_entries = %u\n", total, max_entries); in test_lpm_trie_map_batch_ops() 122 total = 0; in test_lpm_trie_map_batch_ops() 124 while (total < max_entries) { in test_lpm_trie_map_batch_ops() 125 if (max_entries - total < step) in test_lpm_trie_map_batch_ops() [all …]
|
H A D | array_map_batch_ops.c | 73 __u32 count, total, total_success; in __test_map_lookup_and_update_batch() local 106 total = 0; in __test_map_lookup_and_update_batch() 113 total ? &batch : NULL, in __test_map_lookup_and_update_batch() 114 &batch, keys + total, in __test_map_lookup_and_update_batch() 115 values + total * value_size, in __test_map_lookup_and_update_batch() 121 total += count; in __test_map_lookup_and_update_batch() 127 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_update_batch() 128 "total = %u, max_entries = %u\n", total, max_entries); in __test_map_lookup_and_update_batch()
|
/openbmc/linux/tools/perf/util/ |
H A D | branch.c | 114 u64 total = 0; in branch_type_stat_display() local 118 total += st->counts[i]; in branch_type_stat_display() 120 if (total == 0) in branch_type_stat_display() 130 100.0 * (double)st->cond_fwd / (double)total); in branch_type_stat_display() 136 100.0 * (double)st->cond_bwd / (double)total); in branch_type_stat_display() 142 100.0 * (double)st->cross_4k / (double)total); in branch_type_stat_display() 148 100.0 * (double)st->cross_2m / (double)total); in branch_type_stat_display() 156 (double)st->counts[i] / (double)total); in branch_type_stat_display() 164 (double)st->new_counts[i] / (double)total); in branch_type_stat_display() 177 u64 total = 0; in branch_type_str() local [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nft_counter.c | 107 struct nft_counter *total) in nft_counter_reset() argument 117 this_cpu->packets -= total->packets; in nft_counter_reset() 118 this_cpu->bytes -= total->bytes; in nft_counter_reset() 124 struct nft_counter *total) in nft_counter_fetch() argument 132 memset(total, 0, sizeof(*total)); in nft_counter_fetch() 142 total->bytes += bytes; in nft_counter_fetch() 143 total->packets += packets; in nft_counter_fetch() 151 struct nft_counter total; in nft_counter_do_dump() local 153 nft_counter_fetch(priv, &total); in nft_counter_do_dump() 155 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_counter_do_dump() [all …]
|
/openbmc/qemu/system/ |
H A D | bootdevice.c | 251 size_t total = 0; in get_boot_devices_list() local 262 if (total) { in get_boot_devices_list() 263 list[total-1] = '\n'; in get_boot_devices_list() 266 list = g_realloc(list, total + len); in get_boot_devices_list() 267 memcpy(&list[total], bootpath, len); in get_boot_devices_list() 268 total += len; in get_boot_devices_list() 272 *size = total; in get_boot_devices_list() 276 list[total-1] = '\n'; in get_boot_devices_list() 277 list = g_realloc(list, total + 5); in get_boot_devices_list() 278 memcpy(&list[total], "HALT", 5); in get_boot_devices_list() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/accounting/ |
H A D | delay-accounting.rst | 92 CPU count real total virtual total delay total delay average 94 IO count delay total delay average 96 SWAP count delay total delay average 98 RECLAIM count delay total delay average 100 THRASHING count delay total delay average 102 COMPACT count delay total delay average 104 WPCOPY count delay total delay average
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 184.out | 127 "bps-total": 0, 128 "iops-total-max-length": 1, 129 "iops-total": 1000, 132 "bps-total-max": 0, 138 "bps-total-max-length": 1, 142 "iops-total-max": 0 154 "bps-total": 0, 155 "iops-total-max-length": 1, 156 "iops-total": 0, 159 "bps-total-max": 0, [all …]
|
H A D | 219.out | 6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "… 14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304… 17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943… 21 {"return": [{"current-progress": 131072, "id": "job0", "status": "paused", "total-progress": 419430… 24 {"return": [{"current-progress": 196608, "id": "job0", "status": "running", "total-progress": 41943… 28 {"return": [{"current-progress": 196608, "id": "job0", "status": "paused", "total-progress": 419430… 31 {"return": [{"current-progress": 262144, "id": "job0", "status": "running", "total-progress": 41943… 35 {"return": [{"current-progress": 262144, "id": "job0", "status": "paused", "total-progress": 419430… 38 {"return": [{"current-progress": 327680, "id": "job0", "status": "running", "total-progress": 41943… 49 {"return": [{"current-progress": 4194304, "id": "job0", "status": "ready", "total-progress": 419430… [all …]
|
/openbmc/qemu/util/ |
H A D | qemu-co-shared-resource.c | 31 uint64_t total; /* Set in shres_create() and not changed anymore */ member 40 SharedResource *shres_create(uint64_t total) in shres_create() argument 44 s->total = s->available = total; in shres_create() 53 assert(s->available == s->total); in shres_destroy() 71 assert(n <= s->total); in co_get_from_shres() 81 assert(s->total - s->available >= n); in co_put_to_shres()
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f55.c | 63 int i, total; in rmi_f55_detect() local 77 total = 0; in rmi_f55_detect() 80 total++; in rmi_f55_detect() 82 f55->cfg_num_rx_electrodes = total; in rmi_f55_detect() 83 drv_data->num_rx_electrodes = total; in rmi_f55_detect() 90 total = 0; in rmi_f55_detect() 93 total++; in rmi_f55_detect() 95 f55->cfg_num_tx_electrodes = total; in rmi_f55_detect() 96 drv_data->num_tx_electrodes = total; in rmi_f55_detect()
|
/openbmc/linux/tools/perf/ui/ |
H A D | progress.h | 11 u64 curr, next, step, total; member 15 void __ui_progress__init(struct ui_progress *p, u64 total, 18 #define ui_progress__init(p, total, title) \ argument 19 __ui_progress__init(p, total, title, false) 21 #define ui_progress__init_size(p, total, title) \ argument 22 __ui_progress__init(p, total, title, true)
|
/openbmc/openbmc/poky/scripts/tiny/ |
H A D | ksize.py | 37 self.total = int(sizes[3]) 39 self.text = self.data = self.bss = self.total = 0 43 (indent+self.title, self.total, self.text, self.data, self.bss)) 66 r.totals["total"] += b.sizes.total 71 r.deltas["total"] = r.sizes.total - r.totals["total"] 94 if p.sizes.total > 0: 110 return this.sizes.total < that.sizes.total 117 if this.sizes.total < that.sizes.total: 119 if this.sizes.total > that.sizes.total:
|
H A D | dirsize.py | 53 total = 0 58 total += r.show(minsize) 60 total = self.size 61 return total 69 total = rootfs.show(minsize) 71 (total, rootfs.size, 100 * float(total) / rootfs.size))
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | event.py | 399 def __init__(self, total, msg = "Operation Completed"): argument 401 self.total = total 406 def __init__(self, current, total, msg = "Operation in Progress"): argument 409 self.total = total 410 self.msg = msg + ": %s/%s" % (current, total); 491 def __init__(self, total, n, p, failures=0, interrupted=0): argument 493 OperationCompleted.__init__(self, total, "Building Succeeded") 495 OperationCompleted.__init__(self, total, "Building Failed") 603 def __init__(self, total): argument 605 self.total = total [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_dbgfs.c | 15 int *used, int total) in mtk_vdec_dbgfs_get_format_type() argument 21 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 25 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 29 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 33 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 41 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 45 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 49 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type() 56 static void mtk_vdec_dbgfs_get_help(char *buf, int *used, int total) in mtk_vdec_dbgfs_get_help() argument 60 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help() [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | stats.c | 97 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs() 110 acc->total.cache_hits = 0; in bch_cache_accounting_clear() 111 acc->total.cache_misses = 0; in bch_cache_accounting_clear() 112 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear() 113 acc->total.cache_bypass_misses = 0; in bch_cache_accounting_clear() 114 acc->total.cache_miss_collisions = 0; in bch_cache_accounting_clear() 115 acc->total.sectors_bypassed = 0; in bch_cache_accounting_clear() 120 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy() 160 acc->total.name += t; \ in scale_accounting() 170 scale_stats(&acc->total, 0); in scale_accounting() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | event.py | 156 event = bb.event.OperationProgress(current=10, total=100) 175 event2 = bb.event.OperationCompleted(total=123) 204 event2 = bb.event.OperationCompleted(total=123) 218 event2 = bb.event.OperationCompleted(total=123) 307 event2 = bb.event.OperationCompleted(total=1) 392 event2 = bb.event.OperationCompleted(total=123) 497 total = 123 498 event = bb.event.OperationCompleted(total, msg) 500 self.assertEqual(event.total, total) 506 total = 123 [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/management/commands/ |
H A D | lsupdates.py | 63 def mini_progress(self, what, i, total): argument 65 pec = (float(i)/float(total))*100 121 total = len(index.branches) 125 self.mini_progress("Releases", i, total) 133 total = len(index.layerItems) 156 self.mini_progress("layers", i, total) 165 total = len(index.layerBranches) 191 self.mini_progress("layer versions", i, total) 217 total = len(dependlist) 223 self.mini_progress("Layer version dependencies", i, total) [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | metric.c | 69 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics() 82 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics() 95 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics() 108 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics() 119 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics() 131 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 141 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 151 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 160 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics() 170 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 172 unsigned long total_mmap = 0, total = 0; in child_thread() local 224 zc.length = min(chunk_size, FILE_SZ - total); in child_thread() 242 total += zc.length; in child_thread() 247 FILE_SZ - total)); in child_thread() 253 total += lu; in child_thread() 263 FILE_SZ - total)); in child_thread() 272 total += lu; in child_thread() 296 throughput = total * 8.0 / (double)delta_usec / 1000.0; in child_thread() 298 if (total > 1024*1024) { in child_thread() 300 unsigned long mb = total >> 20; in child_thread() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-pfo-nx-crypto | 14 A u32 providing a total count of errors since the driver was loaded. The 29 The total number of bytes encrypted using AES in any of the driver's 33 The total number of AES operations submitted to the hardware. 36 The total number of bytes hashed by the hardware using SHA-256. 39 The total number of SHA-256 operations submitted to the hardware. 42 The total number of bytes hashed by the hardware using SHA-512. 45 The total number of SHA-512 operations submitted to the hardware.
|
/openbmc/qemu/block/ |
H A D | progress_meter.c | 42 uint64_t *total) in progress_get_snapshot() argument 47 *total = pm->total; in progress_get_snapshot() 59 pm->total = pm->current + remaining; in progress_set_remaining() 65 pm->total += delta; in progress_increase_remaining()
|
/openbmc/qemu/docs/ |
H A D | throttle.txt | 25 write operations. This gives us a total of six different parameters. 34 | throttling.iops-total | iops | 37 | throttling.bps-total | bps | 44 write limits or not, but note that if iops-total is set then neither 45 iops-read nor iops-write can be set. The same applies to bps-total and 53 -drive file=hd0.qcow2,throttling.iops-total=100 83 this section we'll use 'iops-total' as an example. 85 The I/O limit during bursts is set using 'iops-total-max', and the 86 maximum length (in seconds) is set with 'iops-total-max-length'. So if 92 throttling.iops-total=100, [all …]
|