/Linux-v5.4/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 …]
|
/Linux-v5.4/tools/perf/util/ |
D | stat-shadow.c | 431 double total, ratio = 0.0; in print_stalled_cycles_frontend() local 435 total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu); in print_stalled_cycles_frontend() 437 if (total) in print_stalled_cycles_frontend() 438 ratio = avg / total * 100.0; in print_stalled_cycles_frontend() 455 double total, ratio = 0.0; in print_stalled_cycles_backend() local 459 total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu); in print_stalled_cycles_backend() 461 if (total) in print_stalled_cycles_backend() 462 ratio = avg / total * 100.0; in print_stalled_cycles_backend() 476 double total, ratio = 0.0; in print_branch_misses() local 480 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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/samples/bpf/ |
D | xdp_monitor_user.c | 127 struct datarec total; member 136 struct u64rec total; member 178 rec->total.processed = sum_processed; in map_collect_record() 179 rec->total.dropped = sum_dropped; in map_collect_record() 180 rec->total.info = sum_info; in map_collect_record() 181 rec->total.err = sum_err; in map_collect_record() 206 rec->total.processed = sum_total; in map_collect_record_u64() 329 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print() 353 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print() 385 pps = calc_pps(&rec->total, &prev->total, t); in stats_print() [all …]
|
D | xdp_redirect_cpu_user.c | 153 struct datarec total; member 191 rec->total.processed = sum_processed; in map_collect_percpu() 192 rec->total.dropped = sum_dropped; in map_collect_percpu() 193 rec->total.issue = sum_issue; in map_collect_percpu() 334 pps = calc_pps(&rec->total, &prev->total, t); in stats_print() 335 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 336 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print() 364 pps = calc_pps(&rec->total, &prev->total, t); in stats_print() 366 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 367 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print() [all …]
|
/Linux-v5.4/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.
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 42 int i, sz, total = 0; in spufs_ctx_note_size() local 52 total += sizeof(struct elf_note); in spufs_ctx_note_size() 53 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 54 total += roundup(sz, 4); in spufs_ctx_note_size() 57 return total; in spufs_ctx_note_size() 122 int sz, rc, total = 0; in spufs_arch_write_note() local 155 total += rc; in spufs_arch_write_note() 157 } while (rc == bufsz && total < sz); in spufs_arch_write_note() 162 skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; in spufs_arch_write_note()
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | tcp_mmap.c | 123 unsigned long total_mmap = 0, total = 0; in child_thread() local 171 total += zc.length; in child_thread() 179 total += lu; in child_thread() 193 total += lu; in child_thread() 203 throughput = total * 8.0 / (double)delta_usec / 1000.0; in child_thread() 205 if (total > 1024*1024) { in child_thread() 207 unsigned long mb = total >> 20; in child_thread() 212 total / (1024.0 * 1024.0), in child_thread() 213 100.0*total_mmap/total, in child_thread() 305 unsigned long total = 0; in main() local [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 175 limit = min(ppgtt->vm.total, limit); in igt_ppgtt_alloc() 252 GEM_BUG_ON(count * BIT_ULL(size) > vm->total); in lowlevel_hole() 279 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole() 306 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole() 1017 GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); in exercise_ppgtt() 1020 err = func(dev_priv, &ppgtt->vm, 0, ppgtt->vm.total, end_time); in exercise_ppgtt() 1259 err = func(i915, ctx->vm, 0, min(ctx->vm->total, limit), end_time); in exercise_mock() 1298 u64 total; in igt_gtt_reserve() local 1307 for (total = 0; in igt_gtt_reserve() 1308 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve() [all …]
|
D | i915_buddy.c | 120 u64 total; in igt_check_blocks() local 125 total = 0; in igt_check_blocks() 153 total += i915_buddy_block_size(mm, block); in igt_check_blocks() 158 if (total != expected_size) { in igt_check_blocks() 160 expected_size, total); in igt_check_blocks() 184 u64 total; in igt_check_mm() local 200 total = 0; in igt_check_mm() 256 total += i915_buddy_block_size(mm, root); in igt_check_mm() 260 if (total != mm->size) { in igt_check_mm() 262 total); in igt_check_mm() [all …]
|
/Linux-v5.4/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
|
/Linux-v5.4/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()
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun4i_tcon.h | 70 #define SUN4I_TCON0_BASIC1_H_TOTAL(total) ((((total) - 1) & 0x1fff) << 16) argument 74 #define SUN4I_TCON0_BASIC2_V_TOTAL(total) (((total) & 0x1fff) << 16) argument 144 #define SUN4I_TCON1_BASIC3_H_TOTAL(total) ((((total) - 1) & 0x1fff) << 16) argument 148 #define SUN4I_TCON1_BASIC4_V_TOTAL(total) (((total) & 0x1fff) << 16) argument
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | msix.c | 60 u32 total; in msix_initialize() local 72 total = 1 + dd->num_sdma + dd->n_krcv_queues + dd->num_vnic_contexts; in msix_initialize() 74 if (total >= CCE_NUM_MSIX_VECTORS) in msix_initialize() 77 ret = pci_alloc_irq_vectors(dd->pcidev, total, total, PCI_IRQ_MSIX); in msix_initialize() 83 entries = kcalloc(total, sizeof(*dd->msix_info.msix_entries), in msix_initialize() 92 bitmap_zero(dd->msix_info.in_use_msix, total); in msix_initialize() 93 dd->msix_info.max_requested = total; in msix_initialize() 94 dd_dev_info(dd, "%u MSI-X interrupts allocated\n", total); in msix_initialize()
|
/Linux-v5.4/Documentation/devicetree/bindings/media/i2c/ |
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-v5.4/drivers/video/fbdev/i810/ |
D | i810_dvt.c | 247 u32 total, xres, yres; in i810fb_fill_var_timings() local 256 total = (std_modes[mode].cr00 | (std_modes[mode].cr35 & 1) << 8) + 3; in i810fb_fill_var_timings() 257 total <<= 3; in i810fb_fill_var_timings() 263 var->left_margin = (total - (xres + var->right_margin + in i810fb_fill_var_timings() 271 total = (std_modes[mode].cr06 | (std_modes[mode].cr30 & 0xF) << 8) + 2; in i810fb_fill_var_timings() 276 var->upper_margin = total - (yres + var->lower_margin + var->vsync_len); in i810fb_fill_var_timings()
|
/Linux-v5.4/net/atm/ |
D | addr.c | 139 int total = 0, error; in atm_get_addr() local 148 total += sizeof(struct sockaddr_atmsvc); in atm_get_addr() 149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr() 157 error = total > size ? -E2BIG : total; in atm_get_addr() 158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr()
|
/Linux-v5.4/tools/perf/ui/gtk/ |
D | hists.c | 98 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_flat() argument 121 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_flat() 142 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_flat() 161 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_folded() argument 211 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_folded() 221 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_graph() argument 243 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_graph() 262 child_total = total; in perf_gtk__add_callchain_graph() 271 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain() argument 274 perf_gtk__add_callchain_flat(root, store, parent, col, total); in perf_gtk__add_callchain() [all …]
|