Home
last modified time | relevance | path

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

12345678910>>...59

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/map_tests/
H A Dhtab_map_batch_ops.c78 __u32 batch, count, total, total_success; in __test_map_lookup_and_delete_batch() local
151 total = 0; in __test_map_lookup_and_delete_batch()
159 total ? &batch : NULL, in __test_map_lookup_and_delete_batch()
160 &batch, keys + total, in __test_map_lookup_and_delete_batch()
162 total * value_size, in __test_map_lookup_and_delete_batch()
177 total += count; in __test_map_lookup_and_delete_batch()
185 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_delete_batch()
186 "total = %u, max_entries = %u\n", total, max_entries); in __test_map_lookup_and_delete_batch()
189 total = 0; in __test_map_lookup_and_delete_batch()
191 while (total < max_entries) { in __test_map_lookup_and_delete_batch()
[all …]
H A Darray_map_batch_ops.c56 __u32 count, total, total_success; in test_array_map_batch_ops() local
88 total = 0; in test_array_map_batch_ops()
96 total ? &batch : NULL, &batch, in test_array_map_batch_ops()
97 keys + total, in test_array_map_batch_ops()
98 values + total, in test_array_map_batch_ops()
104 total += count; in test_array_map_batch_ops()
113 CHECK(total != max_entries, "lookup with steps", in test_array_map_batch_ops()
114 "total = %u, max_entries = %u\n", total, max_entries); in test_array_map_batch_ops()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Domap-crypto.c16 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 …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dstat-shadow.c454 double total, ratio = 0.0; in print_stalled_cycles_frontend() local
458 total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu); in print_stalled_cycles_frontend()
460 if (total) in print_stalled_cycles_frontend()
461 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
478 double total, ratio = 0.0; in print_stalled_cycles_backend() local
482 total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu); in print_stalled_cycles_backend()
484 if (total) in print_stalled_cycles_backend()
485 ratio = avg / total * 100.0; in print_stalled_cycles_backend()
499 double total, ratio = 0.0; in print_branch_misses() local
503 total = runtime_stat_avg(st, STAT_BRANCHES, ctx, cpu); in print_branch_misses()
[all …]
H A Dbranch.c63 u64 total = 0; in branch_type_stat_display() local
67 total += st->counts[i]; in branch_type_stat_display()
69 if (total == 0) in branch_type_stat_display()
79 100.0 * (double)st->cond_fwd / (double)total); in branch_type_stat_display()
85 100.0 * (double)st->cond_bwd / (double)total); in branch_type_stat_display()
91 100.0 * (double)st->cross_4k / (double)total); in branch_type_stat_display()
97 100.0 * (double)st->cross_2m / (double)total); in branch_type_stat_display()
105 (double)st->counts[i] / (double)total); in branch_type_stat_display()
117 u64 total = 0; in branch_type_str() local
120 total += st->counts[i]; in branch_type_str()
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_counter.c105 struct nft_counter *total) in nft_counter_reset() argument
111 this_cpu->packets -= total->packets; in nft_counter_reset()
112 this_cpu->bytes -= total->bytes; in nft_counter_reset()
117 struct nft_counter *total) in nft_counter_fetch() argument
125 memset(total, 0, sizeof(*total)); in nft_counter_fetch()
135 total->bytes += bytes; in nft_counter_fetch()
136 total->packets += packets; in nft_counter_fetch()
144 struct nft_counter total; in nft_counter_do_dump() local
146 nft_counter_fetch(priv, &total); in nft_counter_do_dump()
148 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_counter_do_dump()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/gdb/python/gdb/command/
H A Dpretty_printers.py169 total = 0
177 total += len(printer.subprinters)
181 total += 1
182 return (enabled, total)
234 total = 0
245 total += 1
257 total += 1
273 total += 1
275 return total
282 total = 0
[all …]
H A Dunwinders.py117 total = 0
121 total += 1
122 return total
128 total = 0
130 total += do_enable_unwinder1(gdb.frame_unwinders, name_re, flag)
132 total += do_enable_unwinder1(gdb.current_progspace().frame_unwinders,
136 total += do_enable_unwinder1(objfile.frame_unwinders, name_re,
138 if total > 0:
140 print("%d unwinder%s %s" % (total, "" if total == 1 else "s",
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/gdb/python/gdb/command/
H A Dpretty_printers.py169 total = 0
177 total += len(printer.subprinters)
181 total += 1
182 return (enabled, total)
234 total = 0
245 total += 1
257 total += 1
273 total += 1
275 return total
282 total = 0
[all …]
H A Dunwinders.py117 total = 0
121 total += 1
122 return total
128 total = 0
130 total += do_enable_unwinder1(gdb.frame_unwinders, name_re, flag)
132 total += do_enable_unwinder1(gdb.current_progspace().frame_unwinders,
136 total += do_enable_unwinder1(objfile.frame_unwinders, name_re,
138 if total > 0:
140 print("%d unwinder%s %s" % (total, "" if total == 1 else "s",
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_monitor_user.c162 struct datarec total; member
171 struct u64rec total; member
213 rec->total.processed = sum_processed; in map_collect_record()
214 rec->total.dropped = sum_dropped; in map_collect_record()
215 rec->total.info = sum_info; in map_collect_record()
216 rec->total.err = sum_err; in map_collect_record()
241 rec->total.processed = sum_total; in map_collect_record_u64()
364 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print()
388 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print()
420 pps = calc_pps(&rec->total, &prev->total, t); in stats_print()
[all …]
H A Dxdp_redirect_cpu_user.c187 struct datarec total; member
234 rec->total.processed = sum_processed; in map_collect_percpu()
235 rec->total.dropped = sum_dropped; in map_collect_percpu()
236 rec->total.issue = sum_issue; in map_collect_percpu()
237 rec->total.xdp_pass = sum_xdp_pass; in map_collect_percpu()
238 rec->total.xdp_drop = sum_xdp_drop; in map_collect_percpu()
239 rec->total.xdp_redirect = sum_xdp_redirect; in map_collect_percpu()
394 pps = calc_pps(&rec->total, &prev->total, t); in stats_print()
395 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print()
396 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_osk_bitops.h136 u32 total; in _mali_osk_find_first_zero_bit() local
138 for (total = 0; total < maxbit; total += 32, ++addr) { in _mali_osk_find_first_zero_bit()
144 total += (u32)result; in _mali_osk_find_first_zero_bit()
150 if (total >= maxbit) { in _mali_osk_find_first_zero_bit()
151 total = maxbit; in _mali_osk_find_first_zero_bit()
154 return total; /* either the found bit nr, or maxbit if not found */ in _mali_osk_find_first_zero_bit()
/OK3568_Linux_fs/yocto/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))
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/lib/
H A Dstdlib.c12 long total; in atol() local
23 total = 0; in atol()
26 total = 10 * total + (c - '0'); in atol()
31 return -total; in atol()
33 return total; in atol()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Devent.py394 def __init__(self, total, msg = "Operation Completed"): argument
396 self.total = total
401 def __init__(self, current, total, msg = "Operation in Progress"): argument
404 self.total = total
405 self.msg = msg + ": %s/%s" % (current, total);
486 def __init__(self, total, n, p, failures=0, interrupted=0): argument
488 OperationCompleted.__init__(self, total, "Building Succeeded")
490 OperationCompleted.__init__(self, total, "Building Failed")
598 def __init__(self, total): argument
600 self.total = total
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dintel_iommu.h97 TP_PROTO(struct device *dev, int index, int total,
100 TP_ARGS(dev, index, total, sg),
108 __field(int, total)
117 __entry->total = total;
121 __get_str(dev_name), __entry->index, __entry->total,
128 TP_PROTO(struct device *dev, int index, int total,
130 TP_ARGS(dev, index, total, sg)
134 TP_PROTO(struct device *dev, int index, int total,
136 TP_ARGS(dev, index, total, sg)
/OK3568_Linux_fs/kernel/fs/ceph/
H A Ddebugfs.c130 #define CEPH_METRIC_SHOW(name, total, avg, min, max, sq) { \ argument
135 _total = total - 1; \
140 name, total, _avg, _min, _max, _st); \
149 s64 total, sum, avg, min, max, sq; in metric_show() local
166 total = m->total_reads; in metric_show()
168 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
173 CEPH_METRIC_SHOW("read", total, avg, min, max, sq); in metric_show()
176 total = m->total_writes; in metric_show()
178 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
183 CEPH_METRIC_SHOW("write", total, avg, min, max, sq); in metric_show()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Devent.py155 event = bb.event.OperationProgress(current=10, total=100)
174 event2 = bb.event.OperationCompleted(total=123)
203 event2 = bb.event.OperationCompleted(total=123)
217 event2 = bb.event.OperationCompleted(total=123)
306 event2 = bb.event.OperationCompleted(total=1)
390 event2 = bb.event.OperationCompleted(total=123)
508 total = 123
509 event = bb.event.OperationCompleted(total, msg)
511 self.assertEqual(event.total, total)
517 total = 123
[all …]
/OK3568_Linux_fs/kernel/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)
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dstats.c99 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
112 acc->total.cache_hits = 0; in bch_cache_accounting_clear()
113 acc->total.cache_misses = 0; in bch_cache_accounting_clear()
114 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear()
115 acc->total.cache_bypass_misses = 0; in bch_cache_accounting_clear()
116 acc->total.cache_readaheads = 0; in bch_cache_accounting_clear()
117 acc->total.cache_miss_collisions = 0; in bch_cache_accounting_clear()
118 acc->total.sectors_bypassed = 0; in bch_cache_accounting_clear()
123 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
164 acc->total.name += t; \ in scale_accounting()
[all …]
/OK3568_Linux_fs/yocto/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)
191 self.mini_progress("layer versions", i, total)
217 total = len(dependlist)
223 self.mini_progress("Layer version dependencies", i, total)
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/src/
H A Dtobin.c22 size_t total = 0; in main() local
37 total = wr_size * sizeof(objs); in main()
41 total += wr_size * sizeof(structs); in main()
45 total += wr_size * sizeof(enums); in main()
49 total += wr_size * sizeof(enum_values); in main()
52 printf("write total size: %zu, expected: %zu\n", total, in main()

12345678910>>...59