/linux/drivers/crypto/ |
A D | omap-crypto.c | 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() 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 …]
|
/linux/tools/testing/selftests/bpf/map_tests/ |
A D | htab_map_batch_ops.c | 151 total = 0; 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() 189 total = 0; in __test_map_lookup_and_delete_batch() 195 keys + total, in __test_map_lookup_and_delete_batch() 199 total += count; in __test_map_lookup_and_delete_batch() 217 total = 0; in __test_map_lookup_and_delete_batch() 222 total ? &batch : NULL, in __test_map_lookup_and_delete_batch() 223 &batch, keys + total, in __test_map_lookup_and_delete_batch() 225 total * value_size, in __test_map_lookup_and_delete_batch() [all …]
|
A D | lpm_trie_map_batch_ops.c | 76 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local 103 total = 0; in test_lpm_trie_map_batch_ops() 110 total ? &batch : NULL, &batch, in test_lpm_trie_map_batch_ops() 111 keys + total, values + total, &count, &opts); in test_lpm_trie_map_batch_ops() 116 total += count; in test_lpm_trie_map_batch_ops() 121 CHECK(total != max_entries, "lookup with steps", in test_lpm_trie_map_batch_ops() 126 total = 0; in test_lpm_trie_map_batch_ops() 128 while (total < max_entries) { in test_lpm_trie_map_batch_ops() 129 if (max_entries - total < step) in test_lpm_trie_map_batch_ops() 130 count = max_entries - total; in test_lpm_trie_map_batch_ops() [all …]
|
A D | array_map_batch_ops.c | 79 __u32 count, total, total_success; in __test_map_lookup_and_update_batch() local 112 total = 0; in __test_map_lookup_and_update_batch() 119 total ? &batch : NULL, in __test_map_lookup_and_update_batch() 120 &batch, keys + total, in __test_map_lookup_and_update_batch() 121 values + total * value_size, in __test_map_lookup_and_update_batch() 127 total += count; in __test_map_lookup_and_update_batch() 133 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_update_batch() 134 "total = %u, max_entries = %u\n", total, max_entries); in __test_map_lookup_and_update_batch()
|
/linux/tools/perf/util/ |
A D | stat-shadow.c | 503 if (total) in print_stalled_cycles_frontend() 526 if (total) in print_stalled_cycles_backend() 545 if (total) in print_branch_misses() 564 if (total) in print_l1_dcache_misses() 583 if (total) in print_l1_icache_misses() 601 if (total) in print_dtlb_cache_misses() 619 if (total) in print_itlb_cache_misses() 637 if (total) in print_ll_cache_misses() 990 total = max(total, runtime_stat_avg(st, in perf_stat__print_shadow_stats() 1059 if (total) in perf_stat__print_shadow_stats() [all …]
|
A D | branch.c | 63 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 …]
|
/linux/net/netfilter/ |
A D | nft_counter.c | 106 struct nft_counter *total) in nft_counter_reset() argument 113 this_cpu->bytes -= total->bytes; in nft_counter_reset() 126 memset(total, 0, sizeof(*total)); in nft_counter_fetch() 136 total->bytes += bytes; in nft_counter_fetch() 137 total->packets += packets; in nft_counter_fetch() 145 struct nft_counter total; in nft_counter_do_dump() local 147 nft_counter_fetch(priv, &total); in nft_counter_do_dump() 156 nft_counter_reset(priv, &total); in nft_counter_do_dump() 234 struct nft_counter total; in nft_counter_clone() local 236 nft_counter_fetch(priv, &total); in nft_counter_clone() [all …]
|
/linux/drivers/input/rmi4/ |
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()
|
/linux/tools/perf/ui/ |
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)
|
/linux/fs/ceph/ |
A D | debugfs.c | 135 _total = total - 1; \ 140 name, total, _avg, _min, _max, _st); \ 146 name, total, avg, _min, max, sum); \ 178 s64 total, sum, avg, min, max, sq; in metrics_latency_show() local 187 total = m->total; in metrics_latency_show() 189 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metrics_latency_show() 205 s64 total; in metrics_size_show() local 218 total = m->total; in metrics_size_show() 220 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metrics_size_show() 267 int total, avail, used, reserved, min, i; in caps_show() local [all …]
|
A D | metric.c | 56 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics() 115 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 125 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 135 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics() 144 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics() 253 metric->total = 0; in ceph_metric_init() 317 if (unlikely(total == 1)) in __update_stdev() 321 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_stdev() 323 avg = DIV64_U64_ROUND_CLOSEST(lsum, total); in __update_stdev() 333 ktime_t total; in ceph_update_metrics() local [all …]
|
/linux/drivers/md/bcache/ |
A D | stats.c | 96 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs() 109 acc->total.cache_hits = 0; in bch_cache_accounting_clear() 110 acc->total.cache_misses = 0; in bch_cache_accounting_clear() 111 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear() 112 acc->total.cache_bypass_misses = 0; in bch_cache_accounting_clear() 113 acc->total.cache_miss_collisions = 0; in bch_cache_accounting_clear() 114 acc->total.sectors_bypassed = 0; in bch_cache_accounting_clear() 119 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy() 159 acc->total.name += t; \ in scale_accounting() 169 scale_stats(&acc->total, 0); in scale_accounting() [all …]
|
/linux/lib/zstd/compress/ |
A D | fse_compress.c | 134 { unsigned total = 0; in FSE_buildCTable_wksp() local 147 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp() 148 total ++; in FSE_buildCTable_wksp() 156 total += normalizedCounter[s]; in FSE_buildCTable_wksp() 352 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2() 363 total -= count[s]; in FSE_normalizeM2() 369 total -= count[s]; in FSE_normalizeM2() 380 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2() 387 total -= count[s]; in FSE_normalizeM2() 404 if (total == 0) { in FSE_normalizeM2() [all …]
|
/linux/samples/bpf/ |
A D | xdp_sample_user.c | 679 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt() 681 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt() 706 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue() 797 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread() 799 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread() 849 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_redirect_cnt() 984 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit() 1046 pps = calc_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi() 1047 drop = calc_drop_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi() 1048 info = calc_info_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi() [all …]
|
/linux/Documentation/ABI/testing/ |
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.
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_gem_gtt.c | 1345 u64 total; in igt_gtt_reserve() local 1355 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve() 1389 total, ggtt->vm.total, err); in igt_gtt_reserve() 1407 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve() 1441 total, ggtt->vm.total, err); in igt_gtt_reserve() 1488 total, ggtt->vm.total, err); in igt_gtt_reserve() 1545 u64 total; in igt_gtt_insert() local 1571 total + I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert() 1609 total, ggtt->vm.total, err); in igt_gtt_insert() 1664 total, ggtt->vm.total, err); in igt_gtt_insert() [all …]
|
/linux/tools/testing/selftests/net/ |
A D | tcp_mmap.c | 209 total += zc.length; in child_thread() 217 total += lu; in child_thread() 231 total += lu; 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 503 while (total < FILE_SZ) { in main() 504 int64_t wr = FILE_SZ - total; in main() [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
A D | sch_ets_tests.sh | 43 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/Documentation/accounting/ |
A D | delay-accounting.rst | 104 CPU count real total virtual total delay total 106 IO count delay total 108 SWAP count delay total 110 RECLAIM count delay total 121 CPU count real total virtual total delay total 123 IO count delay total 125 SWAP count delay total 127 RECLAIM count delay total
|
/linux/lib/842/ |
A D | 842_decompress.c | 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() 390 if (unlikely((total - p.olen) > UINT_MAX)) in sw842_decompress() [all …]
|
/linux/scripts/ |
A D | bin2c.c | 14 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/drivers/gpu/drm/i915/gt/ |
A D | intel_gt_pm.c | 58 gt->stats.total = in runtime_end() 59 ktime_add(gt->stats.total, in runtime_end() 382 ktime_t total = gt->stats.total; in __intel_gt_get_awake_time() local 385 total = ktime_add(total, in __intel_gt_get_awake_time() 388 return total; in __intel_gt_get_awake_time() 394 ktime_t total; in intel_gt_get_awake_time() local 398 total = __intel_gt_get_awake_time(gt); in intel_gt_get_awake_time() 401 return total; in intel_gt_get_awake_time()
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
A D | tda1997x.txt | 6 - 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 …]
|
/linux/tools/perf/ui/gtk/ |
A D | hists.c | 98 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_flat() argument 161 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_folded() argument 221 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_graph() argument 262 child_total = total; in perf_gtk__add_callchain_graph() 271 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain() argument 361 u64 total = hists__total_period(h->hists); in perf_gtk__show_hists() local 390 total = symbol_conf.cumulate_callchain ? in perf_gtk__show_hists() 394 sym_col, total); in perf_gtk__show_hists() 417 u64 total = hists__total_period(hists); in perf_gtk__add_hierarchy_entries() local 487 total = symbol_conf.cumulate_callchain ? in perf_gtk__add_hierarchy_entries() [all …]
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_alloc.c | 138 int total = 0; in hns_roce_get_kmem_bufs() local 150 bufs[total++] = hns_roce_buf_dma_addr(buf, offset); in hns_roce_get_kmem_bufs() 154 return total; in hns_roce_get_kmem_bufs() 162 int total = 0; in hns_roce_get_umem_bufs() local 166 bufs[total++] = rdma_block_iter_dma_address(&biter); in hns_roce_get_umem_bufs() 167 if (total >= buf_cnt) in hns_roce_get_umem_bufs() 172 return total; in hns_roce_get_umem_bufs()
|