Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 1331) sorted by relevance

12345678910>>...54

/openbmc/linux/drivers/crypto/
H A Domap-crypto.c33 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()
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()
94 if (!IS_ALIGNED(total, bs)) in omap_crypto_check_sg()
112 if (len >= total) in omap_crypto_check_sg()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dhtab_map_batch_ops.c145 total = 0; 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()
183 total = 0; in __test_map_lookup_and_delete_batch()
189 keys + total, in __test_map_lookup_and_delete_batch()
193 total += count; in __test_map_lookup_and_delete_batch()
211 total = 0; in __test_map_lookup_and_delete_batch()
216 total ? &batch : NULL, in __test_map_lookup_and_delete_batch()
217 &batch, keys + total, in __test_map_lookup_and_delete_batch()
219 total * value_size, in __test_map_lookup_and_delete_batch()
[all …]
H A Dlpm_trie_map_batch_ops.c71 __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()
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()
126 count = max_entries - total; in test_lpm_trie_map_batch_ops()
[all …]
H A Darray_map_batch_ops.c73 __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 Dbranch.c114 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()
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
180 total += st->counts[i]; in branch_type_str()
183 total += st->new_counts[i]; in branch_type_str()
[all …]
/openbmc/linux/Documentation/translations/zh_CN/accounting/
H A Ddelay-accounting.rst92 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/linux/net/netfilter/
H A Dnft_counter.c107 struct nft_counter *total) in nft_counter_reset() argument
118 this_cpu->bytes -= total->bytes; in nft_counter_reset()
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()
162 nft_counter_reset(priv, &total); in nft_counter_do_dump()
240 struct nft_counter total; in nft_counter_clone() local
242 nft_counter_fetch(priv, &total); in nft_counter_clone()
[all …]
/openbmc/linux/tools/perf/ui/
H A Dprogress.h11 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/qemu/system/
H A Dbootdevice.c251 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()
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()
279 *size = total + 5; in get_boot_devices_list()
407 size_t total = 0; in get_boot_devices_lchs_list() local
419 if (total) { in get_boot_devices_lchs_list()
425 total += len; in get_boot_devices_lchs_list()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D184.out127 "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,
156 "iops-total": 0,
159 "bps-total-max": 0,
165 "bps-total-max-length": 1,
[all …]
H A D219.out6 {"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/linux/drivers/input/rmi4/
H A Drmi_f55.c63 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/qemu/util/
H A Dqemu-co-shared-resource.c31 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()
77 assert(n <= s->total); in co_get_from_shres()
87 assert(s->total - s->available >= n); in co_put_to_shres()
/openbmc/openbmc/poky/scripts/tiny/
H A Dksize.py37 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 Ddirsize.py53 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/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c15 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()
60 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
64 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
[all …]
/openbmc/qemu/block/
H A Dprogress_meter.c42 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/linux/Documentation/ABI/testing/
H A Ddebugfs-pfo-nx-crypto14 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/linux/drivers/md/bcache/
H A Dstats.c97 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/
H A Devent.py402 self.total = total
410 self.total = total
604 def __init__(self, total): argument
606 self.total = total
622 def __init__(self, current, total): argument
628 def __init__(self, total): argument
630 self.total = total
634 def __init__(self, current, total): argument
650 def __init__(self, current, total): argument
655 def __init__(self, total): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/management/commands/
H A Dlsupdates.py63 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)
217 total = len(dependlist)
228 total = len(index.distros)
243 total = len(index.machines)
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_drm_client.c56 u64 total = 0; in busy_add() local
62 total += intel_context_get_total_runtime_ns(ce); in busy_add()
65 return total; in busy_add()
75 u64 total = atomic64_read(&client->past_runtime[class]); in show_client_class() local
80 total += busy_add(ctx, class); in show_client_class()
85 uabi_class_names[class], total); in show_client_class()
/openbmc/linux/tools/testing/selftests/net/
H A Dtcp_mmap.c242 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()
298 if (total > 1024*1024) { in child_thread()
305 total / (1024.0 * 1024.0), in child_thread()
306 100.0*total_mmap/total, in child_thread()
450 uint64_t total = 0; in main() local
590 while (total < FILE_SZ) { in main()
[all …]
/openbmc/linux/fs/ceph/
H A Dmetric.c69 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()
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()
267 metric->total = 0; in ceph_metric_init()
332 if (unlikely(total == 1)) { in __update_mean_and_stdev()
336 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
347 ktime_t total; in ceph_update_metrics() local
[all …]
/openbmc/u-boot/scripts/
H A Dbin2c.c14 int ch, total = 0; in main() local
23 total++; in main()
25 if (total % 16 == 0) in main()
33 argv[1], total); in main()

12345678910>>...54