Home
last modified time | relevance | path

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

12345678910>>...38

/linux-5.19.10/drivers/crypto/
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 …]
/linux-5.19.10/tools/testing/selftests/bpf/map_tests/
Dhtab_map_batch_ops.c78 __u32 batch, count, total, total_success; in __test_map_lookup_and_delete_batch() local
144 total = 0; in __test_map_lookup_and_delete_batch()
152 total ? &batch : NULL, in __test_map_lookup_and_delete_batch()
153 &batch, keys + total, in __test_map_lookup_and_delete_batch()
155 total * value_size, in __test_map_lookup_and_delete_batch()
170 total += count; in __test_map_lookup_and_delete_batch()
178 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_delete_batch()
179 "total = %u, max_entries = %u\n", total, max_entries); in __test_map_lookup_and_delete_batch()
182 total = 0; in __test_map_lookup_and_delete_batch()
184 while (total < max_entries) { in __test_map_lookup_and_delete_batch()
[all …]
Dlpm_trie_map_batch_ops.c70 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local
98 total = 0; in test_lpm_trie_map_batch_ops()
105 total ? &batch : NULL, &batch, in test_lpm_trie_map_batch_ops()
106 keys + total, values + total, &count, &opts); in test_lpm_trie_map_batch_ops()
111 total += count; in test_lpm_trie_map_batch_ops()
116 CHECK(total != max_entries, "lookup with steps", in test_lpm_trie_map_batch_ops()
117 "total = %u, max_entries = %u\n", total, max_entries); in test_lpm_trie_map_batch_ops()
121 total = 0; in test_lpm_trie_map_batch_ops()
123 while (total < max_entries) { in test_lpm_trie_map_batch_ops()
124 if (max_entries - total < step) in test_lpm_trie_map_batch_ops()
[all …]
Darray_map_batch_ops.c72 __u32 count, total, total_success; in __test_map_lookup_and_update_batch() local
105 total = 0; in __test_map_lookup_and_update_batch()
112 total ? &batch : NULL, in __test_map_lookup_and_update_batch()
113 &batch, keys + total, in __test_map_lookup_and_update_batch()
114 values + total * value_size, in __test_map_lookup_and_update_batch()
120 total += count; in __test_map_lookup_and_update_batch()
126 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_update_batch()
127 "total = %u, max_entries = %u\n", total, max_entries); in __test_map_lookup_and_update_batch()
/linux-5.19.10/net/netfilter/
Dnft_counter.c107 struct nft_counter *total) in nft_counter_reset() argument
113 this_cpu->packets -= total->packets; in nft_counter_reset()
114 this_cpu->bytes -= total->bytes; in nft_counter_reset()
119 struct nft_counter *total) in nft_counter_fetch() argument
127 memset(total, 0, sizeof(*total)); in nft_counter_fetch()
137 total->bytes += bytes; in nft_counter_fetch()
138 total->packets += packets; in nft_counter_fetch()
146 struct nft_counter total; in nft_counter_do_dump() local
148 nft_counter_fetch(priv, &total); in nft_counter_do_dump()
150 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_counter_do_dump()
[all …]
/linux-5.19.10/tools/perf/util/
Dbranch.c65 u64 total = 0; in branch_type_stat_display() local
69 total += st->counts[i]; in branch_type_stat_display()
71 if (total == 0) in branch_type_stat_display()
81 100.0 * (double)st->cond_fwd / (double)total); in branch_type_stat_display()
87 100.0 * (double)st->cond_bwd / (double)total); in branch_type_stat_display()
93 100.0 * (double)st->cross_4k / (double)total); in branch_type_stat_display()
99 100.0 * (double)st->cross_2m / (double)total); in branch_type_stat_display()
107 (double)st->counts[i] / (double)total); in branch_type_stat_display()
119 u64 total = 0; in branch_type_str() local
122 total += st->counts[i]; in branch_type_str()
[all …]
Dstat-shadow.c500 double total, ratio = 0.0; in print_stalled_cycles_frontend() local
503 total = runtime_stat_avg(st, STAT_CYCLES, cpu_map_idx, rsd); in print_stalled_cycles_frontend()
505 if (total) in print_stalled_cycles_frontend()
506 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
523 double total, ratio = 0.0; in print_stalled_cycles_backend() local
526 total = runtime_stat_avg(st, STAT_CYCLES, cpu_map_idx, rsd); in print_stalled_cycles_backend()
528 if (total) in print_stalled_cycles_backend()
529 ratio = avg / total * 100.0; in print_stalled_cycles_backend()
542 double total, ratio = 0.0; in print_branch_misses() local
545 total = runtime_stat_avg(st, STAT_BRANCHES, cpu_map_idx, rsd); in print_branch_misses()
[all …]
/linux-5.19.10/tools/perf/ui/
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)
/linux-5.19.10/drivers/input/rmi4/
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()
/linux-5.19.10/Documentation/translations/zh_CN/accounting/
Ddelay-accounting.rst91 CPU count real total virtual total delay total delay average
93 IO count delay total delay average
95 SWAP count delay total delay average
97 RECLAIM count delay total delay average
99 THRASHING count delay total delay average
101 COMPACT count delay total delay average
/linux-5.19.10/drivers/md/bcache/
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 …]
/linux-5.19.10/Documentation/ABI/testing/
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.
/linux-5.19.10/fs/ceph/
Dmetric.c61 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
74 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
87 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
100 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics()
111 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
123 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
133 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
143 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
152 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
162 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
[all …]
Ddebugfs.c130 #define CEPH_LAT_METRIC_SHOW(name, total, avg, min, max, sq) { \ argument
135 _total = total - 1; \
140 name, total, _avg, _min, _max, _st); \
143 #define CEPH_SZ_METRIC_SHOW(name, total, avg, min, max, sum) { \ argument
146 name, total, avg, _min, max, sum); \
178 s64 total, avg, min, max, sq; in metrics_latency_show() local
187 total = m->total; in metrics_latency_show()
193 CEPH_LAT_METRIC_SHOW(metric_str[i], total, avg, min, max, sq); in metrics_latency_show()
204 s64 total; in metrics_size_show() local
217 total = m->total; in metrics_size_show()
[all …]
/linux-5.19.10/tools/testing/selftests/net/forwarding/
Dsch_ets_tests.sh43 local total=$1; shift
48 if ((! total)); then
54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l)
86 local total
105 total=$(echo ${d[@]} | sed 's/ /+/g' | bc)
110 notraf_eval "band $stream" ${d[$i]} $total
112 strict_eval "band $stream" ${d[$i]} $total
/linux-5.19.10/lib/zstd/compress/
Dfse_compress.c134 { unsigned total = 0; in FSE_buildCTable_wksp() local
147 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp()
148 total ++; in FSE_buildCTable_wksp()
155 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp()
156 total += normalizedCounter[s]; in FSE_buildCTable_wksp()
344 static size_t FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 m… in FSE_normalizeM2() argument
352 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2()
353 U32 lowOne = (U32)((total * 3) >> (tableLog + 1)); in FSE_normalizeM2()
363 total -= count[s]; in FSE_normalizeM2()
369 total -= count[s]; in FSE_normalizeM2()
[all …]
/linux-5.19.10/scripts/
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()
/linux-5.19.10/samples/bpf/
Dxdp_sample_user.c92 struct datarec total; member
372 rec->total.processed = sum_processed; in map_collect_percpu()
373 rec->total.dropped = sum_dropped; in map_collect_percpu()
374 rec->total.issue = sum_issue; in map_collect_percpu()
375 rec->total.xdp_pass = sum_xdp_pass; in map_collect_percpu()
376 rec->total.xdp_drop = sum_xdp_drop; in map_collect_percpu()
377 rec->total.xdp_redirect = sum_xdp_redirect; in map_collect_percpu()
678 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
679 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
680 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
[all …]
/linux-5.19.10/tools/testing/selftests/net/
Dtcp_mmap.c150 unsigned long total_mmap = 0, total = 0; in child_thread() local
209 total += zc.length; in child_thread()
217 total += lu; in child_thread()
231 total += lu; in child_thread()
241 throughput = total * 8.0 / (double)delta_usec / 1000.0; in child_thread()
243 if (total > 1024*1024) { in child_thread()
245 unsigned long mb = total >> 20; in child_thread()
250 total / (1024.0 * 1024.0), in child_thread()
251 100.0*total_mmap/total, in child_thread()
374 uint64_t total = 0; in main() local
[all …]
/linux-5.19.10/fs/qnx4/
Dbitmap.c24 int total = 0; in qnx4_count_free_blocks() local
30 while (total < size) { in qnx4_count_free_blocks()
31 int bytes = min(size - total, QNX4_BLOCK_SIZE); in qnx4_count_free_blocks()
40 total += bytes; in qnx4_count_free_blocks()
/linux-5.19.10/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c202 static void wait_for_ack(int fd, int timeout, size_t total) in wait_for_ack() argument
218 if ((size_t)queued > total) in wait_for_ack()
219 xerror("TIOCOUTQ %u, but only %zu expected\n", queued, total); in wait_for_ack()
236 size_t len, i, total, sent; in connect_one_server() local
271 total = rand() % (16 * 1024 * 1024); in connect_one_server()
272 total += (1 * 1024 * 1024); in connect_one_server()
273 sent = total; in connect_one_server()
275 ret = write(unixfd, &total, sizeof(total)); in connect_one_server()
276 assert(ret == (ssize_t)sizeof(total)); in connect_one_server()
280 while (total > 0) { in connect_one_server()
[all …]
/linux-5.19.10/lib/842/
D842_decompress.c165 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local
175 if (total > fsize) { in __do_index()
177 u64 section = round_down(total, fsize); in __do_index()
179 u64 pos = total - section; in __do_index()
190 if (offset + size > total) { in __do_index()
192 (unsigned long)offset, (unsigned long)total); in __do_index()
202 (unsigned long)total, in __do_index()
282 u64 op, rep, tmp, bytes, total; in sw842_decompress() local
292 total = p.olen; in sw842_decompress()
385 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress()
[all …]
/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c137 int total = 0; in hns_roce_get_kmem_bufs() local
149 bufs[total++] = hns_roce_buf_dma_addr(buf, offset); in hns_roce_get_kmem_bufs()
153 return total; in hns_roce_get_kmem_bufs()
161 int total = 0; in hns_roce_get_umem_bufs() local
165 bufs[total++] = rdma_block_iter_dma_address(&biter); in hns_roce_get_umem_bufs()
166 if (total >= buf_cnt) in hns_roce_get_umem_bufs()
171 return total; in hns_roce_get_umem_bufs()
/linux-5.19.10/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c59 gt->stats.total = in runtime_end()
60 ktime_add(gt->stats.total, in runtime_end()
393 ktime_t total = gt->stats.total; in __intel_gt_get_awake_time() local
396 total = ktime_add(total, in __intel_gt_get_awake_time()
399 return total; in __intel_gt_get_awake_time()
405 ktime_t total; in intel_gt_get_awake_time() local
409 total = __intel_gt_get_awake_time(gt); in intel_gt_get_awake_time()
412 return total; in intel_gt_get_awake_time()
/linux-5.19.10/Documentation/devicetree/bindings/media/i2c/
Dtda1997x.txt6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4]
7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4]
8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4]
9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2]
10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0]
11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles)
12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles)
13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles)
16 - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0]
17 - YUV444 12bit per color (36 bits total): Y[11:0] Cb[11:0] Cr[11:0]
[all …]

12345678910>>...38