/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
D | htab_map_batch_ops.c | 78 __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 …]
|
D | array_map_batch_ops.c | 56 __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()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
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 …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | stat-shadow.c | 454 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 …]
|
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 …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_counter.c | 105 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 …]
|
/kernel/linux/linux-5.10/tools/perf/ui/ |
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)
|
D | progress.c | 30 void __ui_progress__init(struct ui_progress *p, u64 total, in __ui_progress__init() argument 34 p->next = p->step = total / 16 ?: 1; in __ui_progress__init() 35 p->total = total; in __ui_progress__init()
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_monitor_user.c | 162 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 …]
|
D | xdp_redirect_cpu_user.c | 187 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 …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | intel_iommu.h | 97 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)
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | stats.c | 99 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 …]
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | debugfs.c | 130 #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 …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
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.
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
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
|
/kernel/linux/linux-5.10/scripts/ |
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()
|
/kernel/linux/linux-5.10/Documentation/accounting/ |
D | delay-accounting.rst | 102 CPU count real total virtual total delay total 104 IO count delay total 106 SWAP count delay total 108 RECLAIM count delay total 119 CPU count real total virtual total delay total 121 IO count delay total 123 SWAP count delay total 125 RECLAIM count delay total
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | tcp_mmap.c | 150 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 …]
|
/kernel/linux/linux-5.10/fs/qnx4/ |
D | bitmap.c | 24 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 171 limit = min(ppgtt->vm.total, limit); in igt_ppgtt_alloc() 261 GEM_BUG_ON(count * BIT_ULL(size) > vm->total); in lowlevel_hole() 288 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole() 330 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole() 1031 GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); in exercise_ppgtt() 1034 err = func(&ppgtt->vm, 0, ppgtt->vm.total, end_time); in exercise_ppgtt() 1274 err = func(vm, 0, min(vm->total, limit), end_time); in exercise_mock() 1315 u64 total; in igt_gtt_reserve() local 1324 for (total = 0; in igt_gtt_reserve() 1325 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve() [all …]
|
/kernel/linux/linux-5.10/lib/zstd/ |
D | fse_compress.c | 168 unsigned total = 0; in FSE_buildCTable_wksp() local 177 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp() 178 total++; in FSE_buildCTable_wksp() 184 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp() 185 total += normalizedCounter[s]; in FSE_buildCTable_wksp() 519 static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 m… in FSE_normalizeM2() argument 527 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2() 528 U32 lowOne = (U32)((total * 3) >> (tableLog + 1)); in FSE_normalizeM2() 538 total -= count[s]; in FSE_normalizeM2() 544 total -= count[s]; in FSE_normalizeM2() [all …]
|
/kernel/linux/linux-5.10/lib/842/ |
D | 842_decompress.c | 165 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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf.c | 67 skel->bss->total = 0; in trigger_samples() 141 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf() 142 2L, skel->bss->total); in test_ringbuf() 179 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf() 180 2L, skel->bss->total); in test_ringbuf() 204 skel->bss->total = 0; in test_ringbuf() 236 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf() 237 2L, skel->bss->total); in test_ringbuf()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | fs_cache_proc.c | 104 int total = 0; in PageCacheEntryProcess() local 109 return total; in PageCacheEntryProcess() 114 total++; in PageCacheEntryProcess() 117 return total; in PageCacheEntryProcess() 125 int total = 0; in PageCacheMapProcess() local 131 total += PageCacheEntryProcess(buf, mapping); in PageCacheMapProcess() 134 return total; in PageCacheMapProcess()
|