Home
last modified time | relevance | path

Searched refs:total (Results 1 – 200 of 595) sorted by relevance

123

/linux-4.4.14/tools/perf/util/
Dstat-shadow.c144 double total, ratio = 0.0; in print_stalled_cycles_frontend() local
148 total = avg_stats(&runtime_cycles_stats[ctx][cpu]); in print_stalled_cycles_frontend()
150 if (total) in print_stalled_cycles_frontend()
151 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
164 double total, ratio = 0.0; in print_stalled_cycles_backend() local
168 total = avg_stats(&runtime_cycles_stats[ctx][cpu]); in print_stalled_cycles_backend()
170 if (total) in print_stalled_cycles_backend()
171 ratio = avg / total * 100.0; in print_stalled_cycles_backend()
184 double total, ratio = 0.0; in print_branch_misses() local
188 total = avg_stats(&runtime_branches_stats[ctx][cpu]); in print_branch_misses()
[all …]
Dkvm-stat.h29 struct kvm_event_stats total; member
/linux-4.4.14/net/netfilter/
Dnft_counter.c51 struct nft_counter *total) in nft_counter_fetch() argument
58 memset(total, 0, sizeof(*total)); in nft_counter_fetch()
67 total->packets += packets; in nft_counter_fetch()
68 total->bytes += bytes; in nft_counter_fetch()
75 struct nft_counter total; in nft_counter_dump() local
77 nft_counter_fetch(priv->counter, &total); in nft_counter_dump()
79 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes)) || in nft_counter_dump()
80 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets))) in nft_counter_dump()
134 struct nft_counter total; in nft_counter_clone() local
136 nft_counter_fetch(priv->counter, &total); in nft_counter_clone()
[all …]
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dcoredump.c55 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
167 total += rc; in spufs_arch_write_note()
169 } while (rc == bufsz && total < sz); in spufs_arch_write_note()
175 roundup(cprm->written - total + sz, 4) - cprm->written)) in spufs_arch_write_note()
/linux-4.4.14/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.
Dsysfs-class-scsi_tape16 Shows the total amount of time spent waiting for all I/O
43 Shows the total number of bytes requested from the tape drive.
54 Shows the total number of read requests issued to the tape
64 Shows the total amount of time in nanoseconds waiting for
74 Shows the total number of bytes written to the tape drive.
85 Shows the total number of write requests issued to the tape
95 Shows the total amount of time in nanoseconds waiting for
Dsysfs-fs-xfs24 represents the total log reservation of all currently
35 represents the total log reservation of all currently
Dsysfs-devices-edac34 Description: This attribute file displays the total count of uncorrectable
49 Description: This attribute file displays the total count of correctable
94 is also the total size of the dimm. On dual rank (2R) memories,
95 this is half the size of the total DIMM memories.
/linux-4.4.14/scripts/basic/
Dbin2c.c14 int ch, total = 0; in main() local
23 total++; in main()
25 if (total % 16 == 0) in main()
32 printf("\t;\n\nconst int %s_size = %d;\n", argv[1], total); in main()
/linux-4.4.14/Documentation/accounting/
Ddelay-accounting.txt94 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-4.4.14/fs/qnx4/
Dbitmap.c23 int total = 0; in qnx4_count_free_blocks() local
29 while (total < size) { in qnx4_count_free_blocks()
30 int bytes = min(size - total, QNX4_BLOCK_SIZE); in qnx4_count_free_blocks()
39 total += bytes; in qnx4_count_free_blocks()
/linux-4.4.14/tools/perf/ui/
Dprogress.c25 void ui_progress__init(struct ui_progress *p, u64 total, const char *title) in ui_progress__init() argument
28 p->next = p->step = total / 16; in ui_progress__init()
29 p->total = total; in ui_progress__init()
Dprogress.h10 u64 curr, next, step, total; member
13 void ui_progress__init(struct ui_progress *p, u64 total, const char *title);
Dhist.c30 u64 total = hists__total_period(hists); in __hpp__fmt() local
32 if (total) in __hpp__fmt()
33 percent = 100.0 * get_field(he) / total; in __hpp__fmt()
48 u64 total = hists__total_period(pair->hists); in __hpp__fmt() local
50 if (!total) in __hpp__fmt()
72 100.0 * period / total); in __hpp__fmt()
/linux-4.4.14/lib/842/
D842_decompress.c174 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()
207 (unsigned long)offset, (unsigned long)total, in __do_index()
287 u64 op, rep, tmp, bytes, total; in sw842_decompress() local
297 total = p.olen; in sw842_decompress()
390 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress()
[all …]
D842_compress.c491 u64 last, next, pad, total; in sw842_compress() local
508 total = p->olen; in sw842_compress()
603 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress()
612 if (unlikely((total - p->olen) > UINT_MAX)) in sw842_compress()
615 *olen = total - p->olen; in sw842_compress()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_dvt.c247 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-4.4.14/net/atm/
Daddr.c138 int total = 0, error; in atm_get_addr() local
147 total += sizeof(struct sockaddr_atmsvc); in atm_get_addr()
148 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr()
156 error = total > size ? -E2BIG : total; in atm_get_addr()
157 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr()
/linux-4.4.14/drivers/crypto/caam/
Dsg_sw_sec4.h58 struct scatterlist *sg, unsigned int total, in sg_to_sec4_sg_len() argument
62 unsigned int len = min(sg_dma_len(sg), total); in sg_to_sec4_sg_len()
67 total -= len; in sg_to_sec4_sg_len()
68 } while (total); in sg_to_sec4_sg_len()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Domapdss-boot-init.c46 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-4.4.14/fs/adfs/
Dmap.c140 unsigned long total = 0; in scan_free_map() local
179 total += mapptr - start; in scan_free_map()
185 return total; in scan_free_map()
234 unsigned int total = 0; in adfs_map_free() local
241 total += scan_free_map(asb, dm++); in adfs_map_free()
244 return signed_asl(total, asb->s_map2blk); in adfs_map_free()
/linux-4.4.14/arch/mips/txx9/generic/
Dmem_tx4927.c69 unsigned int total = 0; in tx4927_get_mem_size() local
73 total += tx4927_process_sdccr(&tx4927_sdramcptr->cr[i]); in tx4927_get_mem_size()
74 return total; in tx4927_get_mem_size()
/linux-4.4.14/ipc/
Dutil.c156 int total; in ipc_findkey() local
158 for (total = 0, next_id = 0; total < ids->in_use; next_id++) { in ipc_findkey()
165 total++; in ipc_findkey()
187 int total, id; in ipc_get_maxid() local
196 total = 0; in ipc_get_maxid()
197 for (id = 0; id < IPCMNI && total < ids->in_use; id++) { in ipc_get_maxid()
201 total++; in ipc_get_maxid()
750 int total, id; in sysvipc_find_ipc() local
752 total = 0; in sysvipc_find_ipc()
753 for (id = 0; id < pos && total < ids->in_use; id++) { in sysvipc_find_ipc()
[all …]
Dnamespace.c75 int total, in_use; in free_ipcs() local
81 for (total = 0, next_id = 0; total < in_use; next_id++) { in free_ipcs()
88 total++; in free_ipcs()
/linux-4.4.14/lib/
Dshow_mem.c15 unsigned long total = 0, reserved = 0, highmem = 0; in show_mem() local
30 total += zone->present_pages; in show_mem()
39 printk("%lu pages RAM\n", total); in show_mem()
Dtest_rhashtable.c116 unsigned int err, total = 0, chain_len = 0; in test_bucket_stats() local
143 total++; in test_bucket_stats()
150 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
152 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
Dflex_array.c88 struct flex_array *flex_array_alloc(int element_size, unsigned int total, in flex_array_alloc() argument
103 if (total > max_size) in flex_array_alloc()
109 ret->total_nr_elements = total; in flex_array_alloc()
Dscatterlist.c76 u64 total; in sg_nents_for_len() local
81 for (nents = 0, total = 0; sg; sg = sg_next(sg)) { in sg_nents_for_len()
83 total += sg->length; in sg_nents_for_len()
84 if (total >= len) in sg_nents_for_len()
/linux-4.4.14/drivers/devfreq/exynos/
Dexynos_ppmu.c47 unsigned int total; in exynos_ppmu_read() local
50 total = ((__raw_readl(ppmu_base + PMCNT_OFFSET(ch)) << 8) | in exynos_ppmu_read()
53 total = __raw_readl(ppmu_base + PMCNT_OFFSET(ch)); in exynos_ppmu_read()
55 return total; in exynos_ppmu_read()
/linux-4.4.14/drivers/edac/
Dppc4xx_edac.c321 int n, total = 0; in ppc4xx_edac_generate_bank_message() local
331 total += n; in ppc4xx_edac_generate_bank_message()
343 total += n; in ppc4xx_edac_generate_bank_message()
354 total += n; in ppc4xx_edac_generate_bank_message()
357 return total; in ppc4xx_edac_generate_bank_message()
441 int n, total = 0; in ppc4xx_edac_generate_lane_message() local
453 total += n; in ppc4xx_edac_generate_lane_message()
466 total += n; in ppc4xx_edac_generate_lane_message()
477 total += n; in ppc4xx_edac_generate_lane_message()
480 return total; in ppc4xx_edac_generate_lane_message()
[all …]
/linux-4.4.14/net/rds/
Dinfo.c170 int total; in rds_info_getsockopt() local
222 total = lens.nr * lens.each; in rds_info_getsockopt()
226 if (total > len) { in rds_info_getsockopt()
227 len = total; in rds_info_getsockopt()
230 len = total; in rds_info_getsockopt()
Dtransport.c136 unsigned int total = 0; in rds_trans_stats_info_copy() local
151 total += part; in rds_trans_stats_info_copy()
156 return total; in rds_trans_stats_info_copy()
Dconnection.c398 unsigned int total = 0; in rds_conn_message_info() local
418 total++; in rds_conn_message_info()
419 if (total <= len) in rds_conn_message_info()
430 lens->nr = total; in rds_conn_message_info()
Daf_rds.c507 unsigned int total = 0; in rds_sock_inc_info() local
518 total++; in rds_sock_inc_info()
519 if (total <= len) in rds_sock_inc_info()
529 lens->nr = total; in rds_sock_inc_info()
/linux-4.4.14/kernel/
Dstacktrace.c34 int total = 0; in snprint_stack_trace() local
44 total += generated; in snprint_stack_trace()
56 return total; in snprint_stack_trace()
Ddelayacct.c52 static void delayacct_end(u64 *start, u64 *total, u32 *count) in delayacct_end() argument
59 *total += ns; in delayacct_end()
/linux-4.4.14/tools/perf/ui/gtk/
Dprogress.c12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; in gtk_ui_progress__update()
35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total); in gtk_ui_progress__update()
Dhists.c93 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain() argument
109 percent = 100.0 * hits / total; in perf_gtk__add_callchain()
138 child_total = total; in perf_gtk__add_callchain()
226 u64 total = hists__total_period(h->hists); in perf_gtk__show_hists() local
254 total = symbol_conf.cumulate_callchain ? in perf_gtk__show_hists()
258 sym_col, total); in perf_gtk__show_hists()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_slave_compat.c26 int total; member
33 kft->total = 32; in kfree_table_init()
35 kft->table = kmalloc(kft->total * sizeof(*kft->table), in kfree_table_init()
45 if (kft->num == kft->total) { in kfree_table_add()
48 kft->total *= 2; in kfree_table_add()
49 kft->table = krealloc(old, kft->total * sizeof(*kft->table), in kfree_table_add()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dmsi.c176 static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total) in find_pe_total_msi() argument
187 *total = be32_to_cpup(p); in find_pe_total_msi()
197 static struct device_node *find_pe_dn(struct pci_dev *dev, int *total) in find_pe_dn() argument
224 *total = 8; in find_pe_dn()
289 int total; in msi_quota_for_device() local
294 pe_dn = find_pe_total_msi(dev, &total); in msi_quota_for_device()
296 pe_dn = find_pe_dn(dev, &total); in msi_quota_for_device()
316 counts.quota = total / counts.num_devices; in msi_quota_for_device()
327 counts.spare += total % counts.num_devices; in msi_quota_for_device()
/linux-4.4.14/drivers/md/bcache/
Dstats.c98 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
111 memset(&acc->total.cache_hits, in bch_cache_accounting_clear()
118 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
159 acc->total.name += t; \ in scale_accounting()
170 scale_stats(&acc->total, 0); in scale_accounting()
230 kobject_init(&acc->total.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
Dstats.h35 struct cache_stats total; member
/linux-4.4.14/drivers/crypto/
Domap-aes.c167 size_t total; member
489 dd->pdata->trigger(dd, dd->total); in omap_aes_crypt_dma()
500 pr_debug("total: %d\n", dd->total); in omap_aes_crypt_dma_start()
544 pr_debug("total: %d\n", dd->total); in omap_aes_crypt_dma_stop()
554 static int omap_aes_check_aligned(struct scatterlist *sg, int total) in omap_aes_check_aligned() argument
558 if (!IS_ALIGNED(total, AES_BLOCK_SIZE)) in omap_aes_check_aligned()
571 if (len != total) in omap_aes_check_aligned()
580 int pages, total; in omap_aes_copy_sgs() local
582 total = ALIGN(dd->total, AES_BLOCK_SIZE); in omap_aes_copy_sgs()
583 pages = get_order(total); in omap_aes_copy_sgs()
[all …]
Datmel-aes.c120 size_t total; member
161 unsigned int total = req->nbytes; in atmel_aes_sg_length() local
168 total = req->nbytes; in atmel_aes_sg_length()
170 while (total) { in atmel_aes_sg_length()
171 len = min(sg_list->length, total); in atmel_aes_sg_length()
174 total -= len; in atmel_aes_sg_length()
178 total = 0; in atmel_aes_sg_length()
185 void *buf, size_t buflen, size_t total, int out) in atmel_aes_sg_copy() argument
189 while (buflen && total) { in atmel_aes_sg_copy()
190 count = min((*sg)->length - *offset, total); in atmel_aes_sg_copy()
[all …]
Domap-des.c147 size_t total; member
476 dd->pdata->trigger(dd, dd->total); in omap_des_crypt_dma()
487 pr_debug("total: %d\n", dd->total); in omap_des_crypt_dma_start()
532 pr_debug("total: %d\n", dd->total); in omap_des_crypt_dma_stop()
559 pages = dd->total >> PAGE_SHIFT; in omap_des_copy_sgs()
561 if (dd->total & (PAGE_SIZE-1)) in omap_des_copy_sgs()
576 sg_copy_buf(buf_in, dd->in_sg, 0, dd->total, 0); in omap_des_copy_sgs()
579 sg_set_buf(&dd->in_sgl, buf_in, dd->total); in omap_des_copy_sgs()
583 sg_set_buf(&dd->out_sgl, buf_out, dd->total); in omap_des_copy_sgs()
621 dd->total = req->nbytes; in omap_des_handle_queue()
[all …]
Datmel-sha.c94 unsigned int total; /* total request */ member
162 while ((ctx->bufcnt < ctx->buflen) && ctx->total) { in atmel_sha_append_sg()
163 count = min(ctx->sg->length - ctx->offset, ctx->total); in atmel_sha_append_sg()
186 ctx->total -= count; in atmel_sha_append_sg()
193 ctx->total = 0; in atmel_sha_append_sg()
530 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_slow()
554 if (!ctx->total) in atmel_sha_update_dma_start()
561 ctx->digcnt[1], ctx->digcnt[0], ctx->bufcnt, ctx->total); in atmel_sha_update_dma_start()
572 length = min(ctx->total, sg->length); in atmel_sha_update_dma_start()
582 ctx->total -= length; in atmel_sha_update_dma_start()
[all …]
Domap-sham.c155 unsigned int total; /* total request */ member
633 count = min(count, ctx->total); in omap_sham_append_buffer()
660 ctx->total -= count; in omap_sham_append_sg()
666 ctx->total = 0; in omap_sham_append_sg()
704 final = (ctx->flags & BIT(FLAGS_FINUP)) && !ctx->total; in omap_sham_update_dma_slow()
709 if (final || (ctx->bufcnt == ctx->buflen && ctx->total)) { in omap_sham_update_dma_slow()
730 if (!ctx->total) in omap_sham_update_dma_start()
742 if (ctx->total < get_block_size(ctx)) in omap_sham_update_dma_start()
746 ctx->digcnt, ctx->bufcnt, ctx->total); in omap_sham_update_dma_start()
758 length = min(ctx->total, sg->length); in omap_sham_update_dma_start()
[all …]
Datmel-tdes.c113 size_t total; member
151 void *buf, size_t buflen, size_t total, int out) in atmel_tdes_sg_copy() argument
155 while (buflen && total) { in atmel_tdes_sg_copy()
156 count = min((*sg)->length - *offset, total); in atmel_tdes_sg_copy()
167 total -= count; in atmel_tdes_sg_copy()
174 total = 0; in atmel_tdes_sg_copy()
528 count = min(dd->total, sg_dma_len(dd->in_sg)); in atmel_tdes_crypt_start()
554 dd->buf_in, dd->buflen, dd->total, 0); in atmel_tdes_crypt_start()
562 dd->total -= count; in atmel_tdes_crypt_start()
620 dd->total = req->nbytes; in atmel_tdes_handle_queue()
[all …]
Dsahara.c193 size_t total; member
229 size_t total; member
479 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, dev->total); in sahara_hw_descriptor_create()
480 dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total); in sahara_hw_descriptor_create()
530 dev->hw_desc[idx]->len1 = dev->total; in sahara_hw_descriptor_create()
531 dev->hw_desc[idx]->len2 = dev->total; in sahara_hw_descriptor_create()
565 dev->total = req->nbytes; in sahara_aes_process()
795 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, rctx->total); in sahara_sha_hw_links_create()
836 dev->hw_desc[index]->len1 = rctx->total; in sahara_sha_hw_data_descriptor_create()
959 rctx->total = req->nbytes + rctx->buf_cnt; in sahara_sha_prepare_request()
[all …]
Dpicoxcell_crypto.c330 unsigned total; in spacc_aead_make_ddts() local
335 total = areq->assoclen + areq->cryptlen; in spacc_aead_make_ddts()
337 total += crypto_aead_authsize(aead); in spacc_aead_make_ddts()
339 src_nents = sg_count(areq->src, total); in spacc_aead_make_ddts()
345 dst_nents = sg_count(areq->dst, total); in spacc_aead_make_ddts()
391 total = req->is_encrypt ? 0 : areq->assoclen; in spacc_aead_make_ddts()
395 if (len <= total) { in spacc_aead_make_ddts()
396 total -= len; in spacc_aead_make_ddts()
400 ddt_set(dst_ddt++, sg_dma_address(cur) + total, len - total); in spacc_aead_make_ddts()
421 unsigned total = areq->assoclen + areq->cryptlen + in spacc_aead_free_ddts() local
[all …]
Dimg-hash.c99 unsigned int total; member
259 ctx->total = hdev->req->nbytes; in img_hash_write_via_cpu()
266 return img_hash_xmit_cpu(hdev, ctx->buffer, ctx->total, 1); in img_hash_write_via_cpu()
318 dev_dbg(hdev->dev, "xmit dma size: %d\n", ctx->total); in img_hash_write_via_dma()
320 if (!ctx->total) in img_hash_write_via_dma()
636 ctx->total = req->nbytes; in img_hash_digest()
Dbfin_crc.c80 unsigned int total; /* total request bytes */ member
153 ctx->total = 0; in bfin_crypto_crc_init()
409 ctx->total += req->nbytes; in bfin_crypto_crc_update()
435 ctx->total += req->nbytes; in bfin_crypto_crc_finup()
/linux-4.4.14/arch/um/drivers/
Dmconsole_user.c126 int mconsole_reply_len(struct mc_request *req, const char *str, int total, in mconsole_reply_len() argument
143 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len()
145 if (len == total) reply.more = more; in mconsole_reply_len()
150 total -= len; in mconsole_reply_len()
161 } while (total > 0); in mconsole_reply_len()
/linux-4.4.14/crypto/
Dahash.c77 if (walk->entrylen > walk->total) in hash_walk_new_entry()
78 walk->entrylen = walk->total; in hash_walk_new_entry()
79 walk->total -= walk->entrylen; in hash_walk_new_entry()
122 if (!walk->total) in crypto_hash_walk_done()
134 walk->total = req->nbytes; in crypto_hash_walk_first()
136 if (!walk->total) { in crypto_hash_walk_first()
152 walk->total = req->nbytes; in crypto_ahash_walk_first()
154 if (!walk->total) { in crypto_ahash_walk_first()
174 walk->total = len; in crypto_hash_walk_first_compat()
176 if (!walk->total) { in crypto_hash_walk_first_compat()
Dablkcipher.c125 nbytes = walk->total - n; in ablkcipher_walk_done()
133 walk->total = nbytes; in ablkcipher_walk_done()
234 n = walk->total; in ablkcipher_walk_next()
281 walk->nbytes = walk->total; in ablkcipher_walk_first()
282 if (unlikely(!walk->total)) in ablkcipher_walk_first()
Dblkcipher.c120 nbytes = walk->total - n; in blkcipher_walk_done()
128 walk->total = nbytes; in blkcipher_walk_done()
231 n = walk->total; in blkcipher_walk_next()
330 walk->nbytes = walk->total; in blkcipher_walk_first()
331 if (unlikely(!walk->total)) in blkcipher_walk_first()
Dapi.c464 unsigned int total; in crypto_create_tfm() local
468 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm()
470 mem = kzalloc(total, GFP_KERNEL); in crypto_create_tfm()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_dtlk.c287 int total, i; in synth_interrogate() local
291 for (total = 0, i = 0; i < 50; i++) { in synth_interrogate()
292 buf[total] = synth_read_tts(); in synth_interrogate()
293 if (total > 2 && buf[total] == 0x7f) in synth_interrogate()
295 if (total < sizeof(struct synth_settings)) in synth_interrogate()
296 total++; in synth_interrogate()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dpci.c122 u32 total, offset; in ath5k_pci_eeprom_read_mac() local
128 for (offset = 0x1f, octet = 0, total = 0; offset >= 0x1d; offset--) { in ath5k_pci_eeprom_read_mac()
131 total += data; in ath5k_pci_eeprom_read_mac()
137 if (!total || total == 3 * 0xffff) in ath5k_pci_eeprom_read_mac()
/linux-4.4.14/drivers/tty/
Dmetag_da.c471 int total) in dashtty_write() argument
493 total = min(total, (int)(SERIAL_XMIT_SIZE - dport->xmit_cnt)); in dashtty_write()
494 atomic_add(total, &dashtty_xmit_cnt); in dashtty_write()
495 dport->xmit_cnt += total; in dashtty_write()
497 for (count = total; count; count -= block) { in dashtty_write()
511 if (total) { in dashtty_write()
524 return total; in dashtty_write()
Dmips_ejtag_fdc.c802 const unsigned char *buf, int total) in mips_ejtag_fdc_tty_write() argument
821 total = min(total, (int)(priv->xmit_size - dport->xmit_cnt)); in mips_ejtag_fdc_tty_write()
822 atomic_add(total, &priv->xmit_total); in mips_ejtag_fdc_tty_write()
823 dport->xmit_cnt += total; in mips_ejtag_fdc_tty_write()
825 for (count = total; count; count -= block) { in mips_ejtag_fdc_tty_write()
840 if (total) in mips_ejtag_fdc_tty_write()
842 return total; in mips_ejtag_fdc_tty_write()
Dmoxa.c1879 unsigned int c, total; in MoxaPortWriteData() local
1894 total = c; in MoxaPortWriteData()
1926 tail = (tail + total) & tx_mask; in MoxaPortWriteData()
1930 return total; in MoxaPortWriteData()
1938 unsigned int count, len, total; in MoxaPortReadData() local
1953 total = count; in MoxaPortReadData()
1954 moxaLog.rxcnt[tty->index] += total; in MoxaPortReadData()
1983 head = (head + total) & rx_mask; in MoxaPortReadData()
1990 return total; in MoxaPortReadData()
/linux-4.4.14/drivers/crypto/nx/
Dnx-sha256.c75 u64 to_process = 0, leftover, total; in nx_sha256_update() local
88 total = (sctx->count % SHA256_BLOCK_SIZE) + len; in nx_sha256_update()
89 if (total < SHA256_BLOCK_SIZE) { in nx_sha256_update()
139 to_process = min_t(u64, total, in nx_sha256_update()
150 leftover = total - to_process; in nx_sha256_update()
172 total -= to_process; in nx_sha256_update()
Dnx-sha512.c75 u64 to_process, leftover = 0, total; in nx_sha512_update() local
88 total = (sctx->count[0] % SHA512_BLOCK_SIZE) + len; in nx_sha512_update()
89 if (total < SHA512_BLOCK_SIZE) { in nx_sha512_update()
138 to_process = min_t(u64, total, in nx_sha512_update()
154 leftover = total - to_process; in nx_sha512_update()
176 total -= to_process; in nx_sha512_update()
Dnx-aes-xcbc.c188 u32 to_process = 0, leftover, total; in nx_xcbc_update() local
197 total = sctx->count + len; in nx_xcbc_update()
203 if (total <= AES_BLOCK_SIZE) { in nx_xcbc_update()
227 to_process = total - to_process; in nx_xcbc_update()
230 leftover = total - to_process; in nx_xcbc_update()
292 total -= to_process; in nx_xcbc_update()
/linux-4.4.14/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DUtil.pm25 my ($total, $n) = @_;
27 return $total / $n;
/linux-4.4.14/drivers/char/
Ddtlk.c515 int total, i; in dtlk_interrogate() local
519 for (total = 0, i = 0; i < 50; i++) { in dtlk_interrogate()
520 buf[total] = dtlk_read_tts(); in dtlk_interrogate()
521 if (total > 2 && buf[total] == 0x7f) in dtlk_interrogate()
523 if (total < sizeof(struct dtlk_settings)) in dtlk_interrogate()
524 total++; in dtlk_interrogate()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c46 unsigned long total; member
105 status->total= nvkm_rd32(device, 0x10a508 + (CLK_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status()
145 if (status.total) in gk20a_pmu_dvfs_work()
146 utilization = div_u64((u64)status.busy * 100, status.total); in gk20a_pmu_dvfs_work()
/linux-4.4.14/tools/perf/ui/tui/
Dprogress.c18 if (p->total == 0) in tui_progress__update()
30 bar = ((SLtt_Screen_Cols - 2) * p->curr) / p->total; in tui_progress__update()
/linux-4.4.14/net/wimax/
Dstack.c451 unsigned int cnt, total; in wimax_addr_scnprint() local
453 for (total = cnt = 0; cnt < addr_len; cnt++) in wimax_addr_scnprint()
454 total += scnprintf(addr_str + total, addr_str_size - total, in wimax_addr_scnprint()
457 return total; in wimax_addr_scnprint()
/linux-4.4.14/Documentation/cpuidle/
Dsysfs.txt30 total 0
37 total 0
47 total 0
57 total 0
67 total 0
/linux-4.4.14/Documentation/
Diostats.txt61 This is the total number of reads completed successfully.
68 This is the total number of sectors read successfully.
70 This is the total number of milliseconds spent by all reads (as
73 This is the total number of writes completed successfully.
77 This is the total number of sectors written successfully.
79 This is the total number of milliseconds spent by all writes (as
119 This is the total number of reads issued to this partition.
121 This is the total number of sectors requested to be read from this
124 This is the total number of writes issued to this partition.
126 This is the total number of sectors requested to be written to
Dflexible-arrays.txt34 unsigned int total,
37 The individual object size is provided by element_size, while total is the
45 DEFINE_FLEX_ARRAY(name, element_size, total);
48 element size and total will be checked for validity at compile time.
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2.c263 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_createname() argument
290 args->total = total; in xfs_dir_createname()
440 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_removename() argument
462 args->total = total; in xfs_dir_removename()
502 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_replace() argument
527 args->total = total; in xfs_dir_replace()
Dxfs_bmap.h50 xfs_extlen_t total; /* total blocks needed for xaction */ member
217 xfs_fsblock_t *firstblock, xfs_extlen_t total,
Dxfs_alloc.h113 xfs_extlen_t total; /* total blocks needed in xaction */ member
/linux-4.4.14/Documentation/locking/
Dlockstat.txt49 total - total time we spend waiting on this lock
55 total - total time this lock was held
87 …-min waittime-max waittime-total waittime-avg acq-bounces acquisitions holdtime-min h…
/linux-4.4.14/net/core/
Ddev_ioctl.c73 int total; in dev_ifconf() local
90 total = 0; in dev_ifconf()
98 done = gifconf_list[i](dev, pos + total, in dev_ifconf()
99 len - total); in dev_ifconf()
102 total += done; in dev_ifconf()
110 ifc.ifc_len = total; in dev_ifconf()
/linux-4.4.14/fs/squashfs/
Dxz_wrapper.c137 int avail, total = 0, k = 0; in squashfs_xz_uncompress() local
161 total += PAGE_CACHE_SIZE; in squashfs_xz_uncompress()
176 return total + stream->buf.out_pos; in squashfs_xz_uncompress()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Drootgf119.c38 const u32 total = nvkm_rd32(device, 0x640414 + (head * 0x300)); in gf119_disp_root_scanoutpos() local
54 args->v0.vtotal = ( total & 0xffff0000) >> 16; in gf119_disp_root_scanoutpos()
55 args->v0.htotal = ( total & 0x0000ffff); in gf119_disp_root_scanoutpos()
Drootnv50.c40 const u32 total = nvkm_rd32(device, 0x610afc + (head * 0x540)); in nv50_disp_root_scanoutpos() local
54 args->v0.vtotal = ( total & 0xffff0000) >> 16; in nv50_disp_root_scanoutpos()
55 args->v0.htotal = ( total & 0x0000ffff); in nv50_disp_root_scanoutpos()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_peer_bus.c62 scif_info.total++; in scif_peer_initialize_device()
106 scif_info.total--; in scif_peer_add_device()
170 scif_info.total--; in scif_peer_unregister_device()
Dscif_main.h91 u8 total; member
/linux-4.4.14/fs/dlm/
Dmember.c390 int i, w, x = 0, total = 0, all_zero = 0, *array; in make_member_array() local
397 total += memb->weight; in make_member_array()
402 if (!total) { in make_member_array()
403 total = ls->ls_num_nodes; in make_member_array()
407 ls->ls_total_weight = total; in make_member_array()
409 array = kmalloc(sizeof(int) * total, GFP_NOFS); in make_member_array()
422 DLM_ASSERT(x < total, printk("total %d x %d\n", total, x);); in make_member_array()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_bufs.c611 int total; in drm_legacy_addbufs_agp() local
626 total = PAGE_SIZE << page_order; in drm_legacy_addbufs_agp()
637 DRM_DEBUG("total: %d\n", total); in drm_legacy_addbufs_agp()
646 (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) { in drm_legacy_addbufs_agp()
692 buf->total = alignment; in drm_legacy_addbufs_agp()
768 int total; in drm_legacy_addbufs_pci() local
803 total = PAGE_SIZE << page_order; in drm_legacy_addbufs_pci()
887 offset + size <= total && entry->buf_count < count; in drm_legacy_addbufs_pci()
891 buf->total = alignment; in drm_legacy_addbufs_pci()
979 int total; in drm_legacy_addbufs_sg() local
[all …]
Ddrm_mm.c802 u64 total_used = 0, total_free = 0, total = 0; in drm_mm_debug_table() local
812 total = total_free + total_used; in drm_mm_debug_table()
814 pr_debug("%s total: %llu, used %llu free %llu\n", prefix, total, in drm_mm_debug_table()
844 u64 total_used = 0, total_free = 0, total = 0; in drm_mm_dump_table() local
854 total = total_free + total_used; in drm_mm_dump_table()
856 seq_printf(m, "total: %llu, used %llu free %llu\n", total, in drm_mm_dump_table()
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py19 def avg(total, n): argument
20 return total / n
/linux-4.4.14/Documentation/block/
Dstat.txt26 read ticks milliseconds total wait time for read requests
30 write ticks milliseconds total wait time for write requests
32 io_ticks milliseconds total time this block device has been active
33 time_in_queue milliseconds total wait time for all requests
/linux-4.4.14/Documentation/devicetree/bindings/eeprom/
Dat25.txt8 - size : total eeprom size in bytes
18 - at25,byte-len : total eeprom size in bytes
/linux-4.4.14/arch/mips/cavium-octeon/
Dsetup.c894 uint64_t total; in plat_mem_setup() local
902 total = 0; in plat_mem_setup()
919 total += MAX_MEMORY; in plat_mem_setup()
934 && (total < MAX_MEMORY)) { in plat_mem_setup()
969 total += crashk_base - memory; in plat_mem_setup()
973 total += end - crashk_end; in plat_mem_setup()
1001 total += mem_alloc_size; in plat_mem_setup()
1028 if (total == 0) in plat_mem_setup()
/linux-4.4.14/sound/isa/gus/
Dgus_mem.c294 unsigned int total, used; in snd_gf1_mem_info_read() local
305 for (i = total = 0; i < 4; i++) { in snd_gf1_mem_info_read()
307 total += alloc->banks_16[i].size; in snd_gf1_mem_info_read()
342 total, used, total - used); in snd_gf1_mem_info_read()
/linux-4.4.14/net/ipv4/
Dinetpeer.c75 bp->total = 0; in inet_peer_base_init()
362 base->total--; in unlink_from_pool()
375 if (base->total >= inet_peer_threshold) in inet_peer_gc()
380 base->total / inet_peer_threshold * HZ; in inet_peer_gc()
459 base->total++; in inet_getpeer()
536 base->total = 0; in inetpeer_invalidate_tree()
/linux-4.4.14/tools/usb/usbip/src/
Dusbip_network.c111 ssize_t total = 0; in usbip_net_xmit() local
127 total += nbytes; in usbip_net_xmit()
131 return total; in usbip_net_xmit()
/linux-4.4.14/fs/
Dsignalfd.c210 ssize_t ret, total = 0; in signalfd_read() local
226 total += ret; in signalfd_read()
230 return total ? total: ret; in signalfd_read()
/linux-4.4.14/sound/firewire/
Disight.c138 static void isight_dropped_samples(struct isight *isight, unsigned int total) in isight_dropped_samples() argument
148 dropped = total - isight->total_samples; in isight_dropped_samples()
170 unsigned int index, length, count, total; in isight_packet() local
183 total = be32_to_cpu(payload->sample_total); in isight_packet()
184 if (unlikely(total != isight->total_samples)) { in isight_packet()
186 isight_dropped_samples(isight, total); in isight_packet()
188 isight->total_samples = total; in isight_packet()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_hw.c532 uint32_t total; in hw_sm750_pan_display() local
539 total = var->yoffset * info->fix.line_length + in hw_sm750_pan_display()
541 total += crtc->oScreen; in hw_sm750_pan_display()
545 PANEL_FB_ADDRESS, ADDRESS, total)); in hw_sm750_pan_display()
549 CRT_FB_ADDRESS, ADDRESS, total)); in hw_sm750_pan_display()
/linux-4.4.14/drivers/misc/sgi-gru/
Dgruprocfs.c130 unsigned long total, count, max; in mcs_statistics_show() local
138 total = atomic_long_read(&mcs_op_statistics[op].total); in mcs_statistics_show()
141 count ? total / count : 0, max); in mcs_statistics_show()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c34 u32 total = 0; in mb862xxfb_write_fifo() local
35 while (total < count) { in mb862xxfb_write_fifo()
37 outreg(geo, GDC_GEO_REG_INPUT_FIFO, data[total]); in mb862xxfb_write_fifo()
38 total++; in mb862xxfb_write_fifo()
/linux-4.4.14/include/crypto/
Dalgapi.h101 unsigned int total; member
123 unsigned int total; member
303 walk->total = nbytes; in blkcipher_walk_init()
313 walk->total = nbytes; in ablkcipher_walk_init()
/linux-4.4.14/mm/
Dzbud.c172 unsigned int total = 0; in zbud_zpool_shrink() local
175 while (total < pages) { in zbud_zpool_shrink()
179 total++; in zbud_zpool_shrink()
183 *reclaimed = total; in zbud_zpool_shrink()
Dfrontswap.c388 static int __frontswap_unuse_pages(unsigned long total, unsigned long *unused, in __frontswap_unuse_pages() argument
394 unsigned long total_pages_to_unuse = total; in __frontswap_unuse_pages()
Dnommu.c1144 unsigned long total, point; in do_mmap_private() local
1174 total = 1 << order; in do_mmap_private()
1178 if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages) in do_mmap_private()
1179 total = point; in do_mmap_private()
1181 base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL); in do_mmap_private()
1185 atomic_long_add(total, &mmap_pages_allocated); in do_mmap_private()
1190 region->vm_top = region->vm_start + (total << PAGE_SHIFT); in do_mmap_private()
/linux-4.4.14/drivers/staging/android/ion/
Dion_heap.c273 int total = 0; in ion_heap_shrink_count() local
275 total = ion_heap_freelist_size(heap) / PAGE_SIZE; in ion_heap_shrink_count()
277 total += heap->ops->shrink(heap, sc->gfp_mask, 0); in ion_heap_shrink_count()
278 return total; in ion_heap_shrink_count()
/linux-4.4.14/Documentation/networking/
Daltera_tse.txt211 This statistic counts the total number of bytes received by the controller,
215 This statistic counts the total number of packets received by the controller,
227 This statistic counts the total number of packets received that were 64 octets
231 2819. This statistic counts the total number of packets received that were
235 RFC 2819. This statistic is the total number of packets received that were
239 RFC 2819. This statistic is the total number of packets received that were
243 RFC 2819. This statistic is the total number of packets received that were
247 in RFC 2819. This statistic is the total number of packets received that were
256 statistic is the total number of packets received that were longer than 1518
261 statistic is the total number of packets received that were less than 64 octets
Dixgbevf.txt25 VLANs: There is a limit of a total of 32 shared VLANs to 1 or more VFs.
Dradiotap-headers.txt34 Note also that the it_len member __le16 is set to the total number of bytes
72 consisting of two u16s of total length 4. When this happens, the padding
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Darm-pl330.txt16 - dma-channels: contains the total number of DMA channels supported by the DMAC
17 - dma-requests: contains the total number of DMA requests supported by the DMAC
Darm-pl08x.txt19 - dma-channels: contains the total number of DMA channels supported by the DMAC
20 - dma-requests: contains the total number of DMA requests supported by the DMAC
Dbrcm,bcm2835-dma.txt3 The BCM2835 DMA controller has 16 channels in total.
/linux-4.4.14/include/trace/events/
Dsunrpc.h375 TP_PROTO(struct rpc_xprt *xprt, int err, unsigned int total),
377 TP_ARGS(xprt, err, total),
381 __field(unsigned int, total)
390 __entry->total = total;
398 __get_str(port), __entry->err, __entry->total)
/linux-4.4.14/fs/ocfs2/
Dstackglue.c506 ssize_t ret = 0, total = 0, remain = PAGE_SIZE; in ocfs2_loaded_cluster_plugins_show() local
514 total = ret; in ocfs2_loaded_cluster_plugins_show()
519 total = -E2BIG; in ocfs2_loaded_cluster_plugins_show()
522 total += ret; in ocfs2_loaded_cluster_plugins_show()
527 return total; in ocfs2_loaded_cluster_plugins_show()
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dmm.c110 u64 total; member
121 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map()
140 return (phys_addr < map.rm.size || phys_addr >= map.total) in ps3_mm_phys_to_lpar()
330 map.total = map.rm.size; in ps3_mm_region_destroy()
1142 r->len = len ? len : _ALIGN_UP(map.total, 1 << r->page_size); in ps3_dma_region_init()
1207 &map.total); in ps3_mm_init()
1223 result = ps3_mm_region_create(&map.r1, map.total - map.rm.size); in ps3_mm_init()
1230 map.total = map.rm.size + map.r1.size; in ps3_mm_init()
1237 map.total - map.rm.size); in ps3_mm_init()
1238 memblock_add(map.rm.size, map.total - map.rm.size); in ps3_mm_init()
/linux-4.4.14/tools/perf/
Dbuiltin-lock.c687 static void print_bad_events(int bad, int total) in print_bad_events() argument
695 pr_info("bad: %d, total: %d\n", bad, total); in print_bad_events()
696 pr_info("bad rate: %.2f %%\n", (double)bad / (double)total * 100); in print_bad_events()
707 int bad, total; in print_result() local
720 bad = total = 0; in print_result()
722 total++; in print_result()
753 print_bad_events(bad, total); in print_result()
Dbuiltin-kvm.c138 event->total.time = 0; in clear_events_cache_stats()
139 init_stats(&event->total.stats); in clear_events_cache_stats()
191 init_stats(&event->total.stats); in kvm_alloc_init_event()
240 struct kvm_event_stats *kvm_stats = &event->total; in kvm_event_rel_stddev()
253 kvm_update_event_stats(&event->total, time_diff); in update_kvm_event()
429 return event->total.field; \
/linux-4.4.14/drivers/platform/x86/
Dhdaps.c221 int total, ret = -ENXIO; in hdaps_device_init() local
275 for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) { in hdaps_device_init()
Dintel_ips.c830 u64 total = 0; in calc_avg_temp() local
835 total += (u64)(array[i] * 100); in calc_avg_temp()
837 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_temp()
839 avg = (u16)total; in calc_avg_temp()
931 u64 total = 0; in calc_avg_power() local
936 total += array[i]; in calc_avg_power()
938 do_div(total, IPS_SAMPLE_COUNT); in calc_avg_power()
939 avg = (u32)total; in calc_avg_power()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c1957 unsigned long total, csr_off, in ui_read() local
1977 for (total = 0; total < count; total += 8, csr_off += 8) { in ui_read()
2009 data = readq(base + total); in ui_read()
2010 if (put_user(data, (unsigned long __user *)(buf + total))) in ui_read()
2013 *f_pos += total; in ui_read()
2014 return total; in ui_read()
2023 unsigned long total, data, csr_off; in ui_write() local
2042 for (total = 0; total < count; total += 8, csr_off += 8) { in ui_write()
2043 if (get_user(data, (unsigned long __user *)(buf + total))) in ui_write()
2060 writeq(data, base + total); in ui_write()
[all …]
/linux-4.4.14/drivers/input/touchscreen/
Dpenmount.c94 int total = 0; in pm_checkpacket() local
98 total += packet[i]; in pm_checkpacket()
100 return packet[5] == (unsigned char)~(total & 0xff); in pm_checkpacket()
/linux-4.4.14/arch/mips/pci/
Dops-pmcmsp.c72 unsigned int intcount, total = 0; in show_msp_pci_counts() local
78 total += intcount; in show_msp_pci_counts()
82 seq_printf(m, "total = %u\n", total); in show_msp_pci_counts()
/linux-4.4.14/drivers/tty/serial/jsm/
Djsm_neo.c290 int total = 0; in neo_copy_data_from_uart_to_queue() local
317 total = 0; in neo_copy_data_from_uart_to_queue()
319 total = readb(&ch->ch_neo_uart->rfifo); in neo_copy_data_from_uart_to_queue()
329 total -= 3; in neo_copy_data_from_uart_to_queue()
338 total = min(total, qleft); in neo_copy_data_from_uart_to_queue()
340 while (total > 0) { in neo_copy_data_from_uart_to_queue()
356 n = min(((u32) total), (RQUEUESIZE - (u32) head)); in neo_copy_data_from_uart_to_queue()
387 total -= n; in neo_copy_data_from_uart_to_queue()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c264 int total = 0; in ptlrpc_lprocfs_req_history_len_seq_show() local
268 total += svcpt->scp_hist_nrqbds; in ptlrpc_lprocfs_req_history_len_seq_show()
270 seq_printf(m, "%d\n", total); in ptlrpc_lprocfs_req_history_len_seq_show()
281 int total = 0; in ptlrpc_lprocfs_req_history_max_seq_show() local
285 total += svc->srv_hist_nrqbds_cpt_max; in ptlrpc_lprocfs_req_history_max_seq_show()
287 seq_printf(m, "%d\n", total); in ptlrpc_lprocfs_req_history_max_seq_show()
373 int total = 0; in threads_started_show() local
377 total += svcpt->scp_nthrs_running; in threads_started_show()
379 return sprintf(buf, "%d\n", total); in threads_started_show()
/linux-4.4.14/tools/vm/
Dslabinfo.c440 unsigned long total; in slab_stats() local
491 total = s->deactivate_full + s->deactivate_empty + in slab_stats()
494 if (total) { in slab_stats()
498 s->deactivate_full, (s->deactivate_full * 100) / total); in slab_stats()
500 s->deactivate_empty, (s->deactivate_empty * 100) / total); in slab_stats()
502 s->deactivate_to_head, (s->deactivate_to_head * 100) / total); in slab_stats()
504 s->deactivate_to_tail, (s->deactivate_to_tail * 100) / total); in slab_stats()
506 s->deactivate_bypass, (s->deactivate_bypass * 100) / total); in slab_stats()
508 s->alloc_refill, (s->alloc_refill * 100) / total); in slab_stats()
510 s->alloc_node_mismatch, (s->alloc_node_mismatch * 100) / total); in slab_stats()
/linux-4.4.14/drivers/pci/
Diov.c385 u16 ctrl, total; in sriov_init() local
412 pci_read_config_word(dev, pos + PCI_SRIOV_TOTAL_VF, &total); in sriov_init()
413 if (!total) in sriov_init()
448 res->end = res->start + resource_size(res) * total - 1; in sriov_init()
450 i, res, i, total); in sriov_init()
458 iov->total_VFs = total; in sriov_init()
/linux-4.4.14/arch/unicore32/mm/
Dinit.c62 int free = 0, total = 0, reserved = 0; in show_mem() local
81 total++; in show_mem()
96 printk(KERN_DEFAULT "%d pages of RAM\n", total); in show_mem()
/linux-4.4.14/fs/ceph/
Ddebugfs.c130 int total, avail, used, reserved, min; in caps_show() local
132 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
138 total, avail, used, reserved, min); in caps_show()
/linux-4.4.14/Documentation/cpu-freq/
Dcpufreq-stats.txt44 total 0
70 This gives the total number of frequency transitions on this CPU. The cat
71 output will have a single count which is the total number of frequency
/linux-4.4.14/scripts/
Dkallsyms.c303 int c, rlen, total=0; in expand_symbol() local
311 total++; in expand_symbol()
315 total += rlen; in expand_symbol()
323 return total; in expand_symbol()
/linux-4.4.14/drivers/crypto/qce/
Dsha.c236 unsigned int total, len; in qce_ahash_update() local
245 total = req->nbytes + rctx->buflen; in qce_ahash_update()
247 if (total <= blocksize) { in qce_ahash_update()
266 hash_later = total % blocksize; in qce_ahash_update()
274 nbytes = total - hash_later; in qce_ahash_update()
/linux-4.4.14/drivers/net/wireless/p54/
Dmain.c658 unsigned int total = 0, i; in p54_flush_count() local
668 total += priv->tx_stats[i].len; in p54_flush_count()
669 return total; in p54_flush_count()
676 unsigned int total, i; in p54_flush() local
691 while ((total = p54_flush_count(priv) && i--)) { in p54_flush()
696 WARN(total, "tx flush timeout, unresponsive firmware"); in p54_flush()
/linux-4.4.14/fs/gfs2/
Dlops.c414 unsigned int total, struct list_head *blist, in gfs2_before_commit() argument
427 while(total) { in gfs2_before_commit()
428 num = total; in gfs2_before_commit()
429 if (total > limit) in gfs2_before_commit()
481 BUG_ON(total < num); in gfs2_before_commit()
482 total -= num; in gfs2_before_commit()
Dsuper.h41 extern void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free,
/linux-4.4.14/drivers/misc/mic/host/
Dmic_virtio.c194 u32 total = iov->consumed; in mic_vringh_iov_consumed() local
197 total += iov->iov[i].iov_len; in mic_vringh_iov_consumed()
198 return total; in mic_vringh_iov_consumed()
329 u32 total = 0; in _mic_virtio_copy() local
332 total += mic_vringh_iov_consumed(riov); in _mic_virtio_copy()
333 total += mic_vringh_iov_consumed(wiov); in _mic_virtio_copy()
334 vringh_complete_kern(vrh, *head, total); in _mic_virtio_copy()
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_neo.c1081 int total = 0; in neo_copy_data_from_uart_to_queue() local
1112 total = 0; in neo_copy_data_from_uart_to_queue()
1114 total = readb(&ch->ch_neo_uart->rfifo); in neo_copy_data_from_uart_to_queue()
1125 total -= 1; in neo_copy_data_from_uart_to_queue()
1127 total -= 3; in neo_copy_data_from_uart_to_queue()
1136 total = min(total, qleft); in neo_copy_data_from_uart_to_queue()
1138 while (total > 0) { in neo_copy_data_from_uart_to_queue()
1154 n = min(((uint)total), (RQUEUESIZE - (uint)head)); in neo_copy_data_from_uart_to_queue()
1186 total -= n; in neo_copy_data_from_uart_to_queue()
/linux-4.4.14/drivers/tty/serial/
Dioc3_serial.c681 int prod_ptr, cons_ptr, total = 0; in do_write() local
713 total++; in do_write()
735 if (total > 0 && !(port->ip_sscr & SSCR_DMA_EN)) { in do_write()
749 if (total > 0) in do_write()
754 return total; in do_write()
1119 int prod_ptr, cons_ptr, total; in do_read() local
1210 total = 0; in do_read()
1257 if (total > 0) { in do_read()
1327 if (total > 0) { in do_read()
1356 total++; in do_read()
[all …]
Dioc4_serial.c1405 int prod_ptr, cons_ptr, total = 0; in do_write() local
1437 total++; in do_write()
1460 if (total > 0 && !(port->ip_sscr & IOC4_SSCR_DMA_EN)) { in do_write()
1474 if (total > 0) in do_write()
1478 return total; in do_write()
2069 int prod_ptr, cons_ptr, total; in do_read() local
2160 total = 0; in do_read()
2208 if (total > 0) { in do_read()
2278 if (total > 0) { in do_read()
2306 total++; in do_read()
[all …]
/linux-4.4.14/include/crypto/internal/
Dhash.h31 unsigned int total; member
72 return !(walk->entrylen | walk->total); in crypto_hash_walk_last()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_gtt.c1236 if (WARN_ON(start + length > vm->total)) in gen8_alloc_va_range_3lvl()
1448 uint64_t length = ppgtt->base.total; in gen8_dump_ppgtt()
1527 ppgtt->base.total = 1ULL << 48; in gen8_ppgtt_init()
1534 ppgtt->base.total = 1ULL << 32; in gen8_ppgtt_init()
1564 uint32_t start = ppgtt->base.start, length = ppgtt->base.total; in gen6_dump_ppgtt()
1874 if (WARN_ON(start_in + length_in > ppgtt->base.total)) in gen6_alloc_va_range()
2017 0, dev_priv->gtt.base.total, in gen6_ppgtt_allocate_page_directories()
2023 0, dev_priv->gtt.base.total, in gen6_ppgtt_allocate_page_directories()
2091 ppgtt->base.total = I915_PDES * GEN6_PTES * PAGE_SIZE; in gen6_ppgtt_init()
2100 gen6_scratch_va_range(ppgtt, 0, ppgtt->base.total); in gen6_ppgtt_init()
[all …]
Di915_gem_execbuffer.c802 int i, total, ret; in i915_gem_execbuffer_relocate_slow() local
817 total = 0; in i915_gem_execbuffer_relocate_slow()
819 total += exec[i].relocation_count; in i915_gem_execbuffer_relocate_slow()
822 reloc = drm_malloc_ab(total, sizeof(*reloc)); in i915_gem_execbuffer_relocate_slow()
830 total = 0; in i915_gem_execbuffer_relocate_slow()
838 if (copy_from_user(reloc+total, user_relocs, in i915_gem_execbuffer_relocate_slow()
864 reloc_offset[i] = total; in i915_gem_execbuffer_relocate_slow()
865 total += exec[i].relocation_count; in i915_gem_execbuffer_relocate_slow()
Di915_gem_evict.c110 if (start != 0 || end != vm->total) { in i915_gem_evict_something()
Di915_vgpu.c185 unsigned long ggtt_vm_end = ggtt_vm->start + ggtt_vm->total; in intel_vgt_balloon()
/linux-4.4.14/drivers/ata/
Dpata_hpt3x2n.c420 u32 total = 0; in hpt3x2n_pci_clock() local
427 total += sr & 0x1FF; in hpt3x2n_pci_clock()
430 fcnt = total / 128; in hpt3x2n_pci_clock()
Dpata_hpt37x.c954 u32 total = 0; in hpt37x_init_one() local
961 total += sr & 0x1FF; in hpt37x_init_one()
964 freq = total / 128; in hpt37x_init_one()
/linux-4.4.14/arch/s390/numa/
Dmode_emu.c62 int total; /* Total number of pinned cores */ member
75 emu_cores->total++; in pin_core_to_node()
318 cores_total = emu_cores->total + cores_free(phys); in toptree_to_numa()
/linux-4.4.14/lib/zlib_inflate/
Dinflate.h80 unsigned long total; /* protected copy of output count */ member
Dinflate.c29 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset()
683 state->total += out; in zlib_inflate()
724 state->total += out; in zlib_inflate()
782 state->total += z->avail_in; in zlib_inflateIncomp()
/linux-4.4.14/Documentation/scheduler/
Dsched-deadline.txt154 If the total utilization U=sum(WCET_i/P_i) is larger than M (with M equal
157 Note that total utilization is defined as the sum of the utilizations
161 Moreover, if the total utilization is larger than M, then we risk starving
163 If, instead, the total utilization is smaller than M, then non real-time
183 of all the tasks executing on a CPU if and only if the total utilization
201 but this cannot be done by comparing the total utilization or density with
203 computing the total amount of CPU time h(t) needed by all the tasks to
235 time t + e + P, after its absolute deadline. The total utilization of the
244 between total utilization (or density) and a fixed constant. If all tasks
254 As seen, enforcing that the total utilization is smaller than M does not
[all …]
Dsched-bwc.txt26 cpu.cfs_quota_us: the total available run-time within a period (in microseconds)
71 - throttled_time: The total time duration (in nanoseconds) for which entities
/linux-4.4.14/arch/arm/mm/
Dcache-v4wb.S112 sub r3, r1, r0 @ calculate total size
116 cmp r3, #CACHE_DLIMIT @ total size >= limit?
Dcache-fa.S89 sub r3, r1, r0 @ calculate total size
90 cmp r3, #CACHE_DLIMIT @ total size >= limit?
Dcache-v4wt.S88 sub r3, r1, r0 @ calculate total size
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c213 u32 curr_line, total, pf_cids; in qed_cxt_cfg_ilt_compute() local
234 total = pf_cids * CONN_CXT_SIZE(p_hwfn); in qed_cxt_cfg_ilt_compute()
237 total, CONN_CXT_SIZE(p_hwfn)); in qed_cxt_cfg_ilt_compute()
247 total = qed_qm_pf_mem_size(p_hwfn->rel_pf_id, qm_iids.cids, 0, 0, in qed_cxt_cfg_ilt_compute()
252 qm_iids.cids, p_hwfn->qm_info.num_pqs, total); in qed_cxt_cfg_ilt_compute()
255 curr_line, total * 0x1000, in qed_cxt_cfg_ilt_compute()
/linux-4.4.14/drivers/usb/usbip/
Dusbip_common.c330 int total = 0; in usbip_recv() local
357 sock, buf, size, result, total); in usbip_recv()
363 total += result; in usbip_recv()
375 osize, result, size, total); in usbip_recv()
378 return total; in usbip_recv()
/linux-4.4.14/drivers/spi/
Dspidev.c214 unsigned n, total, tx_total, rx_total; in spidev_message() local
229 total = 0; in spidev_message()
237 total += k_tmp->len; in spidev_message()
243 if (total > INT_MAX || k_tmp->len > INT_MAX) { in spidev_message()
316 status = total; in spidev_message()
/linux-4.4.14/drivers/char/tpm/
Dtpm2-cmd.c347 int total = 0; in tpm2_get_random() local
371 total += recd; in tpm2_get_random()
373 } while (retries-- && total < max); in tpm2_get_random()
375 return total ? total : -EIO; in tpm2_get_random()
Dtpm-interface.c1009 int err, total = 0, retries = 5; in tpm_get_random() local
1039 total += recd; in tpm_get_random()
1041 } while (retries-- && total < max); in tpm_get_random()
1044 return total ? total : -EIO; in tpm_get_random()
/linux-4.4.14/drivers/gpu/host1x/
Djob.c40 u64 total; in host1x_job_alloc() local
44 total = sizeof(struct host1x_job) + in host1x_job_alloc()
51 if (total > ULONG_MAX) in host1x_job_alloc()
54 mem = job = kzalloc(total, GFP_KERNEL); in host1x_job_alloc()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c775 unsigned int *total, u64 multicast) in wl1251_op_configure_filter() argument
783 *total &= WL1251_SUPPORTED_FILTERS; in wl1251_op_configure_filter()
797 if (*total & FIF_ALLMULTI) in wl1251_op_configure_filter()
803 if (*total & FIF_FCSFAIL) in wl1251_op_configure_filter()
805 if (*total & FIF_BCN_PRBRESP_PROMISC) { in wl1251_op_configure_filter()
809 if (*total & FIF_CONTROL) in wl1251_op_configure_filter()
811 if (*total & FIF_OTHER_BSS || is_zero_ether_addr(wl->bssid)) in wl1251_op_configure_filter()
813 if (*total & FIF_PROBE_REQ) in wl1251_op_configure_filter()
823 if (*total & FIF_ALLMULTI) in wl1251_op_configure_filter()
/linux-4.4.14/fs/pstore/
Dplatform.c282 unsigned long total = 0; in pstore_dump() local
301 while (total < kmsg_bytes) { in pstore_dump()
350 total += total_len; in pstore_dump()
/linux-4.4.14/Documentation/input/
Damijoy.txt71 controller ports (8 total) plus 8 miscellaneous control bits
82 (4 counters total). The bit usage for both left and right
131 (4 counters total). The bit assignment for both
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmdebug.c389 unsigned long total = 0; in debug_purgelist_print() local
396 ++total; in debug_purgelist_print()
409 out += snprintf(buf + out, len - out, "Total on list: %lu\n", total); in debug_purgelist_print()
446 unsigned long total = 0, longest = 0, bucket_count = 0; in debug_mle_print() local
455 ++total; in debug_mle_print()
467 "Total: %lu, Longest: %lu\n", total, longest); in debug_mle_print()
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dgpio-xgene.txt4 This gpio controller controls a total of 48 gpios.
/linux-4.4.14/include/linux/
Dflex_array.h64 struct flex_array *flex_array_alloc(int element_size, unsigned int total,
/linux-4.4.14/drivers/scsi/
Dmac53c94.c363 int i, dma_cmd, total, nseg; in set_dma_cmds() local
377 total = 0; in set_dma_cmds()
384 total += dma_len; in set_dma_cmds()
395 cmd->SCp.this_residual = total; in set_dma_cmds()
Dst.c1622 ssize_t total; in st_write() local
1714 total = count; in st_write()
1872 if (count < total) in st_write()
1873 retval = total - count; in st_write()
1882 retval = total - count; in st_write()
2094 ssize_t total; in st_read() local
2166 for (total = 0, special = 0; total < count && !special;) { in st_read()
2170 special = read_tape(STp, count - total, &SRpnt); in st_read()
2184 (int)(count - total)); in st_read()
2186 transfer = STbp->buffer_bytes < count - total ? in st_read()
[all …]
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c464 dev->rdev.stats.pd.total, dev->rdev.stats.pd.cur, in stats_show()
467 dev->rdev.stats.qid.total, dev->rdev.stats.qid.cur, in stats_show()
470 dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur, in stats_show()
473 dev->rdev.stats.pbl.total, dev->rdev.stats.pbl.cur, in stats_show()
476 dev->rdev.stats.rqt.total, dev->rdev.stats.rqt.cur, in stats_show()
479 dev->rdev.stats.ocqp.total, dev->rdev.stats.ocqp.cur, in stats_show()
824 rdev->stats.pd.total = T4_MAX_NUM_PD; in c4iw_rdev_open()
825 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open()
826 rdev->stats.pbl.total = rdev->lldi.vr->pbl.size; in c4iw_rdev_open()
827 rdev->stats.rqt.total = rdev->lldi.vr->rq.size; in c4iw_rdev_open()
[all …]
/linux-4.4.14/drivers/media/rc/keymaps/
DMakefile96 rc-total-media-in-hand.o \
97 rc-total-media-in-hand-02.o \
/linux-4.4.14/arch/tile/mm/
Dpgtable.c65 unsigned long flags, order, total = 0, largest_order = -1; in show_mem() local
73 total += nr << order; in show_mem()
80 K(total), largest_order ? K(1UL) << largest_order : 0); in show_mem()
/linux-4.4.14/kernel/sched/
Dcputime.c518 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument
528 if (total >> 32) in scale_stime()
547 total >>= 1; in scale_stime()
554 scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total); in scale_stime()
/linux-4.4.14/drivers/i2c/busses/
Di2c-qup.c250 int total = msg->len + 1; in qup_i2c_set_write_mode() local
252 if (total < qup->out_fifo_sz) { in qup_i2c_set_write_mode()
255 writel(total, qup->base + QUP_MX_WRITE_CNT); in qup_i2c_set_write_mode()
260 writel(total, qup->base + QUP_MX_OUTPUT_CNT); in qup_i2c_set_write_mode()
/linux-4.4.14/Documentation/device-mapper/
Dera.txt49 <metadata block size> <#used metadata blocks>/<#total metadata blocks>
55 #total metadata blocks : Total number of metadata blocks
Dstatistics.txt16 provided: total time spent reading and writing. When the histogram
166 12. the total time spent reading in milliseconds
167 13. the total time spent writing in milliseconds
/linux-4.4.14/drivers/gpu/drm/gma500/
Dintel_bios.c36 u16 total, current_size; in find_section() local
41 total = bdb->bdb_size; in find_section()
44 while (index < total) { in find_section()
Dgtt.c566 unsigned int restored = 0, total = 0, size = 0; in psb_gtt_restore() local
580 total++; in psb_gtt_restore()
584 total, (size / 1024)); in psb_gtt_restore()
/linux-4.4.14/arch/ia64/kernel/
Dsetup.c277 static void __init setup_crashkernel(unsigned long total, int *n) in setup_crashkernel() argument
282 ret = parse_crashkernel(boot_command_line, total, in setup_crashkernel()
306 (unsigned long)(total >> 20)); in setup_crashkernel()
324 static inline void __init setup_crashkernel(unsigned long total, int *n) in setup_crashkernel() argument
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dport.c66 table->total = 0; in mlx4_init_mac_table()
79 table->total = 0; in mlx4_init_vlan_table()
191 if (table->total == table->max) { in __mlx4_register_mac()
209 ++table->total; in __mlx4_register_mac()
278 --table->total; in __mlx4_unregister_mac()
386 if (table->total == table->max) { in __mlx4_register_vlan()
426 ++table->total; in __mlx4_register_vlan()
477 --table->total; in __mlx4_unregister_vlan()
/linux-4.4.14/Documentation/arm/
DSetup23 This is the total number of pages of memory in the system. If
24 the memory is banked, then this should contain the total number
/linux-4.4.14/drivers/block/drbd/
Ddrbd_proc.c100 unsigned long total = 1UL + (*rs_total >> shift); in drbd_get_syncer_progress() local
101 unsigned long tmp = 1000UL - left * 1000UL/total; in drbd_get_syncer_progress()
/linux-4.4.14/Documentation/filesystems/
Domfs.txt94 __be32 e_extent_count; /* total # extents in this table */
101 being ~0 and e_blocks being ones'-complement of the total number of blocks
/linux-4.4.14/drivers/usb/gadget/legacy/
Dinode.c1765 unsigned total; in dev_config() local
1800 total = le16_to_cpu(dev->config->wTotalLength); in dev_config()
1801 if (!is_valid_config (dev->config) || total >= length) in dev_config()
1803 kbuf += total; in dev_config()
1804 length -= total; in dev_config()
1809 total = le16_to_cpu(dev->hs_config->wTotalLength); in dev_config()
1810 if (!is_valid_config (dev->hs_config) || total >= length) in dev_config()
1812 kbuf += total; in dev_config()
1813 length -= total; in dev_config()
/linux-4.4.14/Documentation/trace/
Dfunction-graph-fold.vim6 " functions. While closed, a fold will show the total time taken for a call,
/linux-4.4.14/net/tipc/
Dserver.c620 int total = 0; in tipc_server_stop() local
624 for (id = 0; total < s->idr_in_use; id++) { in tipc_server_stop()
627 total++; in tipc_server_stop()
/linux-4.4.14/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-qmss.txt22 - queue-range : <start number> total range of queue numbers for the device.
23 - linkram0 : <address size> for internal link ram, where size is the total
25 - linkram1 : <address size> for external link ram, where size is the total
/linux-4.4.14/arch/mips/kernel/
Dsetup.c581 unsigned long long total; in get_total_mem() local
583 total = max_pfn - min_low_pfn; in get_total_mem()
584 return total << PAGE_SHIFT; in get_total_mem()
/linux-4.4.14/drivers/tty/hvc/
Dhvsi.c926 int total = 0; in hvsi_write() local
951 total += chunksize; in hvsi_write()
968 if (total != origcount) in hvsi_write()
970 total); in hvsi_write()
972 return total; in hvsi_write()
/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c380 int total, no_turbo, turbo_pct; in show_turbo_pct() local
385 total = cpu->pstate.turbo_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
387 turbo_fp = div_fp(int_tofp(no_turbo), int_tofp(total)); in show_turbo_pct()
396 int total; in show_num_pstates() local
399 total = cpu->pstate.turbo_pstate - cpu->pstate.min_pstate + 1; in show_num_pstates()
400 return sprintf(buf, "%u\n", total); in show_num_pstates()
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c582 unsigned short row, u64 total, in hist_browser__show_callchain() argument
625 double percent = cumul * 100.0 / total; in hist_browser__show_callchain()
650 new_total = total; in hist_browser__show_callchain()
837 u64 total = hists__total_period(entry->hists); in hist_browser__show_entry() local
845 total = entry->stat_acc->period; in hist_browser__show_entry()
847 total = entry->stat.period; in hist_browser__show_entry()
851 &entry->sorted_chain, 1, row, total, in hist_browser__show_entry()
1121 u64 total = hists__total_period(he->hists); in hist_browser__fprintf_callchain() local
1127 total = he->stat_acc->period; in hist_browser__fprintf_callchain()
1129 hist_browser__show_callchain(browser, &he->sorted_chain, 1, 0, total, in hist_browser__fprintf_callchain()
/linux-4.4.14/include/net/
Dinetpeer.h69 int total; member
/linux-4.4.14/Documentation/sysctl/
Dvm.txt134 Contains, as a percentage of total available memory that contains free pages
138 The total avaiable memory is not equal to total system memory.
169 Contains, as a percentage of total available memory that contains free pages
173 The total avaiable memory is not equal to total system memory.
352 = (total sums of managed_pages from zone[i+1] to zone[j] on the node)
363 256 means 1/256. # of protection pages becomes about "0.39%" of total managed
444 A percentage of the total pages in each zone. On Zone reclaim
462 This is a percentage of the total pages in each zone. Zone reclaim will
688 Because other nodes' memory may be free. This means system total status
/linux-4.4.14/scripts/kconfig/
Dnconf.gui.c178 int total = 1; in get_line_no() local
185 total++; in get_line_no()
186 return total; in get_line_no()
/linux-4.4.14/fs/jbd2/
Dtransaction.c183 int total = blocks + rsv_blocks; in add_transaction_credits() local
199 needed = atomic_add_return(total, &t->t_outstanding_credits); in add_transaction_credits()
206 atomic_sub(total, &t->t_outstanding_credits); in add_transaction_credits()
212 if (atomic_read(&journal->j_reserved_credits) + total > in add_transaction_credits()
216 atomic_read(&journal->j_reserved_credits) + total <= in add_transaction_credits()
237 atomic_sub(total, &t->t_outstanding_credits); in add_transaction_credits()
254 atomic_sub(total, &t->t_outstanding_credits); in add_transaction_credits()
/linux-4.4.14/tools/perf/Documentation/
Dperf-kmem.txt60 Show live page stat. The perf kmem shows total allocation stat by
Dperf-script-perl.txt208 nsecs($secs, $nsecs) - returns total nsecs given secs/nsecs pair
212 avg($total, $n) - returns average given a sum and a total number of values
/linux-4.4.14/include/drm/
Ddrm_legacy.h50 int total; /**< Buffer size */ member
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Ddb8500-thermal.txt9 - num-trips : number of total trip points, this is required, set it 0 if none,
/linux-4.4.14/drivers/isdn/hisax/
Dhfc_pci.c276 int total, maxlen, new_z2; in hfcpci_empty_fifo() local
299 total = count; in hfcpci_empty_fifo()
333 int rcnt, total; in receive_dmsg() local
364 total = rcnt; in receive_dmsg()
383 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + total) & (D_FIFO_SIZE - 1); in receive_dmsg()
837 int total, maxlen, new_z2; in receive_emsg() local
872 total = rcnt; in receive_emsg()
894 if ((total - 3) < MAX_DLOG_SPACE / 3 - 10) { in receive_emsg()
900 ptr += QuickHex(ptr, e_buffer, total - 3); in receive_emsg()
906 HiSax_putstatus(cs, "LogEcho: ", "warning Frame too big (%d)", total - 3); in receive_emsg()
/linux-4.4.14/drivers/staging/lustre/
Dsysfs-fs-lustre59 Controls total number of dirty cache (in megabytes) allowed
156 Shows total number of kilobytes of space on this filesystem
162 Shows total number of free kilobytes of space on this filesystem
168 Shows total number of free kilobytes of space on this filesystem
176 Shows total number of inodes on the filesystem.
456 for service behind this obd (or total amount for compound
464 behind this obd (or total amount for compound devices
472 for service behind this obd (or total amount for compound
/linux-4.4.14/drivers/ras/
DKconfig17 percentage of total time it should be operating.
/linux-4.4.14/arch/mn10300/mm/
Dcache-inv-by-reg.S146 sub d0,d1,d2 # calculate the total size
/linux-4.4.14/drivers/video/
Dvgastate.c371 int total; in save_vga() local
381 total = state->num_attr + state->num_crtc + in save_vga()
384 saved->attr = vmalloc(total); in save_vga()
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols_capture.c101 info->cap.total = info->cap.main + info->cap.thumb; in m5mols_capture_info()

123