/Linux-v4.19/drivers/crypto/ |
D | omap-crypto.c | 19 static int omap_crypto_copy_sg_lists(int total, int bs, in omap_crypto_copy_sg_lists() argument 36 while (*sg && total) { in omap_crypto_copy_sg_lists() 39 if (total < len) in omap_crypto_copy_sg_lists() 40 len = total; in omap_crypto_copy_sg_lists() 43 total -= len; in omap_crypto_copy_sg_lists() 45 if (total <= 0) in omap_crypto_copy_sg_lists() 58 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs() argument 65 new_len = ALIGN(total, bs); in omap_crypto_copy_sgs() 76 scatterwalk_map_and_copy(buf, *sg, 0, total, 0); in omap_crypto_copy_sgs() 78 memset(buf + total, 0, new_len - total); in omap_crypto_copy_sgs() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | stat-shadow.c | 418 double total, ratio = 0.0; in print_stalled_cycles_frontend() local 422 total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu); in print_stalled_cycles_frontend() 424 if (total) in print_stalled_cycles_frontend() 425 ratio = avg / total * 100.0; in print_stalled_cycles_frontend() 441 double total, ratio = 0.0; in print_stalled_cycles_backend() local 445 total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu); in print_stalled_cycles_backend() 447 if (total) in print_stalled_cycles_backend() 448 ratio = avg / total * 100.0; in print_stalled_cycles_backend() 461 double total, ratio = 0.0; in print_branch_misses() local 465 total = runtime_stat_avg(st, STAT_BRANCHES, ctx, cpu); in print_branch_misses() [all …]
|
D | branch.c | 64 u64 total = 0; in branch_type_stat_display() local 68 total += st->counts[i]; in branch_type_stat_display() 70 if (total == 0) in branch_type_stat_display() 80 100.0 * (double)st->cond_fwd / (double)total); in branch_type_stat_display() 86 100.0 * (double)st->cond_bwd / (double)total); in branch_type_stat_display() 92 100.0 * (double)st->cross_4k / (double)total); in branch_type_stat_display() 98 100.0 * (double)st->cross_2m / (double)total); in branch_type_stat_display() 106 (double)st->counts[i] / (double)total); in branch_type_stat_display() 118 u64 total = 0; in branch_type_str() local 121 total += st->counts[i]; in branch_type_str() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | nft_counter.c | 108 struct nft_counter *total) in nft_counter_reset() argument 114 this_cpu->packets -= total->packets; in nft_counter_reset() 115 this_cpu->bytes -= total->bytes; in nft_counter_reset() 120 struct nft_counter *total) in nft_counter_fetch() argument 128 memset(total, 0, sizeof(*total)); in nft_counter_fetch() 138 total->bytes += bytes; in nft_counter_fetch() 139 total->packets += packets; in nft_counter_fetch() 147 struct nft_counter total; in nft_counter_do_dump() local 149 nft_counter_fetch(priv, &total); in nft_counter_do_dump() 151 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), in nft_counter_do_dump() [all …]
|
/Linux-v4.19/samples/bpf/ |
D | xdp_redirect_cpu_user.c | 121 struct datarec total; member 159 rec->total.processed = sum_processed; in map_collect_percpu() 160 rec->total.dropped = sum_dropped; in map_collect_percpu() 161 rec->total.issue = sum_issue; in map_collect_percpu() 302 pps = calc_pps(&rec->total, &prev->total, t); in stats_print() 303 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 304 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print() 332 pps = calc_pps(&rec->total, &prev->total, t); in stats_print() 334 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 335 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print() [all …]
|
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 …]
|
/Linux-v4.19/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 | 31 void __ui_progress__init(struct ui_progress *p, u64 total, in __ui_progress__init() argument 35 p->next = p->step = total / 16 ?: 1; in __ui_progress__init() 36 p->total = total; in __ui_progress__init()
|
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_f55.c | 66 int i, total; in rmi_f55_detect() local 80 total = 0; in rmi_f55_detect() 83 total++; in rmi_f55_detect() 85 f55->cfg_num_rx_electrodes = total; in rmi_f55_detect() 86 drv_data->num_rx_electrodes = total; in rmi_f55_detect() 93 total = 0; in rmi_f55_detect() 96 total++; in rmi_f55_detect() 98 f55->cfg_num_tx_electrodes = total; in rmi_f55_detect() 99 drv_data->num_tx_electrodes = total; in rmi_f55_detect()
|
/Linux-v4.19/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-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 55 int i, sz, total = 0; in spufs_ctx_note_size() local 65 total += sizeof(struct elf_note); in spufs_ctx_note_size() 66 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 67 total += roundup(sz, 4); in spufs_ctx_note_size() 70 return total; in spufs_ctx_note_size() 135 int sz, rc, total = 0; in spufs_arch_write_note() local 168 total += rc; in spufs_arch_write_note() 170 } while (rc == bufsz && total < sz); in spufs_arch_write_note() 175 skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; in spufs_arch_write_note()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | tcp_mmap.c | 137 unsigned long total_mmap = 0, total = 0; in child_thread() local 185 total += zc.length; in child_thread() 193 total += lu; in child_thread() 207 total += lu; in child_thread() 217 throughput = total * 8.0 / (double)delta_usec / 1000.0; in child_thread() 219 if (total > 1024*1024) { in child_thread() 221 unsigned long mb = total >> 20; in child_thread() 226 total / (1024.0 * 1024.0), in child_thread() 227 100.0*total_mmap/total, in child_thread() 319 unsigned long total = 0; in main() local [all …]
|
/Linux-v4.19/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-v4.19/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 174 limit = min(ppgtt->vm.total, limit); in igt_ppgtt_alloc() 253 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() 1260 err = func(i915, &ppgtt->vm, 0, min(ppgtt->vm.total, limit), end_time); in exercise_mock() 1291 u64 total; in igt_gtt_reserve() local 1300 for (total = 0; in igt_gtt_reserve() 1301 total + 2*I915_GTT_PAGE_SIZE <= i915->ggtt.vm.total; in igt_gtt_reserve() [all …]
|
/Linux-v4.19/Documentation/accounting/ |
D | delay-accounting.txt | 94 CPU count real total virtual total delay total 96 IO count delay total 98 SWAP count delay total 100 RECLAIM count delay total 110 CPU count real total virtual total delay total 112 IO count delay total 114 SWAP count delay total 116 RECLAIM count delay total
|
/Linux-v4.19/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-v4.19/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-v4.19/lib/842/ |
D | 842_decompress.c | 174 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local 184 if (total > fsize) { in __do_index() 186 u64 section = round_down(total, fsize); in __do_index() 188 u64 pos = total - section; in __do_index() 199 if (offset + size > total) { in __do_index() 201 (unsigned long)offset, (unsigned long)total); in __do_index() 211 (unsigned long)total, in __do_index() 291 u64 op, rep, tmp, bytes, total; in sw842_decompress() local 301 total = p.olen; in sw842_decompress() 394 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress() [all …]
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun4i_tcon.h | 71 #define SUN4I_TCON0_BASIC1_H_TOTAL(total) ((((total) - 1) & 0x1fff) << 16) argument 75 #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-v4.19/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-v4.19/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-v4.19/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-v4.19/tools/perf/ui/gtk/ |
D | hists.c | 96 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_flat() argument 119 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_flat() 140 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_flat() 159 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_folded() argument 209 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_folded() 219 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_graph() argument 241 callchain_node__scnprintf_value(node, buf, sizeof(buf), total); in perf_gtk__add_callchain_graph() 260 child_total = total; in perf_gtk__add_callchain_graph() 269 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain() argument 272 perf_gtk__add_callchain_flat(root, store, parent, col, total); in perf_gtk__add_callchain() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | omapdss-boot-init.c | 46 int l = 0, total = 0; in omapdss_count_strings() local 49 for (i = 0; total < prop->length; total += l, p += l, i++) in omapdss_count_strings() 74 size_t total = 0; in omapdss_prefix_strcpy() local 76 while (total < src_len) { in omapdss_prefix_strcpy() 86 total += l; in omapdss_prefix_strcpy()
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | omapdss-boot-init.c | 46 int l = 0, total = 0; in omapdss_count_strings() local 49 for (i = 0; total < prop->length; total += l, p += l, i++) in omapdss_count_strings() 74 size_t total = 0; in omapdss_prefix_strcpy() local 76 while (total < src_len) { in omapdss_prefix_strcpy() 86 total += l; in omapdss_prefix_strcpy()
|