Searched refs:total (Results 1 - 25 of 673) sorted by relevance

1234567891011>>

/linux-master/tools/perf/ui/
H A Dprogress.h11 u64 curr, next, step, total; member in struct:ui_progress
15 void __ui_progress__init(struct ui_progress *p, u64 total,
18 #define ui_progress__init(p, total, title) \
19 __ui_progress__init(p, total, title, false)
21 #define ui_progress__init_size(p, total, title) \
22 __ui_progress__init(p, total, title, true)
H A Dprogress.c30 void __ui_progress__init(struct ui_progress *p, u64 total, argument
34 p->next = p->step = total / 16 ?: 1;
35 p->total = total;
/linux-master/fs/qnx4/
H A Dbitmap.c24 int total = 0; local
30 while (total < size) {
31 int bytes = min(size - total, QNX4_BLOCK_SIZE);
40 total += bytes;
/linux-master/scripts/
H A Dprofile2linkerlist.pl19 unless ($line =~ /unknown/) || ($line =~ /total/);
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_batch_ops.c71 __u32 step, count, total, total_success; local
99 total = 0;
106 total ? &batch : NULL, &batch,
107 keys + total, values + total, &count, &opts);
112 total += count;
117 CHECK(total != max_entries, "lookup with steps",
118 "total = %u, max_entries = %u\n", total, max_entries);
122 total
[all...]
H A Dhtab_map_batch_ops.c79 __u32 batch, count, total, total_success; local
145 total = 0;
153 total ? &batch : NULL,
154 &batch, keys + total,
156 total * value_size,
171 total += count;
179 CHECK(total != max_entries, "lookup with steps",
180 "total = %u, max_entries = %u\n", total, max_entries);
183 total
[all...]
H A Darray_map_batch_ops.c73 __u32 count, total, total_success; local
106 total = 0;
113 total ? &batch : NULL,
114 &batch, keys + total,
115 values + total * value_size,
121 total += count;
127 CHECK(total != max_entries, "lookup with steps",
128 "total = %u, max_entries = %u\n", total, max_entries);
/linux-master/tools/perf/util/
H A Dbranch.c114 u64 total = 0; local
118 total += st->counts[i];
120 if (total == 0)
130 100.0 * (double)st->cond_fwd / (double)total);
136 100.0 * (double)st->cond_bwd / (double)total);
142 100.0 * (double)st->cross_4k / (double)total);
148 100.0 * (double)st->cross_2m / (double)total);
156 (double)st->counts[i] / (double)total);
164 (double)st->new_counts[i] / (double)total);
177 u64 total local
[all...]
/linux-master/drivers/gpu/drm/xe/tests/
H A Dxe_guc_id_mgr_test.c48 KUNIT_EXPECT_EQ(test, idm->total, GUC_ID_MAX);
51 KUNIT_EXPECT_EQ(test, idm->total, 0);
63 for (n = 0; n < idm->total; n++) {
69 KUNIT_EXPECT_EQ(test, idm->used, idm->total);
85 for (n = 0; n < idm->total - 1; n++) {
87 KUNIT_EXPECT_EQ(test, idm_reserve_chunk_locked(idm, 1, idm->total), -EDQUOT);
88 KUNIT_EXPECT_EQ(test, idm_reserve_chunk_locked(idm, 1, idm->total - n), -EDQUOT);
89 KUNIT_EXPECT_EQ(test, idm_reserve_chunk_locked(idm, idm->total - n, 1), -EDQUOT);
93 KUNIT_EXPECT_EQ(test, idm->used, idm->total);
94 idm_release_chunk_locked(idm, 0, idm->total);
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_f55.c63 int i, total; local
77 total = 0;
80 total++;
82 f55->cfg_num_rx_electrodes = total;
83 drv_data->num_rx_electrodes = total;
90 total = 0;
93 total++;
95 f55->cfg_num_tx_electrodes = total;
96 drv_data->num_tx_electrodes = total;
/linux-master/drivers/crypto/
H A Domap-crypto.c16 static int omap_crypto_copy_sg_lists(int total, int bs, argument
33 while (*sg && total) {
36 if (total < len)
37 len = total;
40 total -= len;
42 if (total <= 0)
55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, argument
62 new_len = ALIGN(total, bs);
73 scatterwalk_map_and_copy(buf, *sg, 0, total, 0);
75 memset(buf + total,
88 omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, u16 flags) argument
125 omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, struct scatterlist *new_sg, u16 flags, u8 flags_shift, unsigned long *dd_flags) argument
[all...]
H A Domap-crypto.h27 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs,
/linux-master/arch/mips/txx9/generic/
H A Dmem_tx4927.c69 unsigned int total = 0; local
73 total += tx4927_process_sdccr(&tx4927_sdramcptr->cr[i]);
74 return total;
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_id_mgr.c44 unsigned int weight = bitmap_weight(idm->bitmap, idm->total);
50 weight, idm->total);
57 idm->total = 0;
81 idm_assert(idm, !idm->total);
94 idm->total = limit;
100 xe_gt_info(idm_to_gt(idm), "using %u GUC ID(s)\n", idm->total);
105 unsigned int total,
108 unsigned int found = total;
111 for_each_clear_bitrange(rs, re, bitmap, total) {
128 if (!idm->total)
104 find_last_zero_area(unsigned long *bitmap, unsigned int total, unsigned int count) argument
[all...]
/linux-master/net/netfilter/
H A Dnft_counter.c107 struct nft_counter *total)
113 this_cpu->packets -= total->packets;
114 this_cpu->bytes -= total->bytes;
119 struct nft_counter *total)
127 memset(total, 0, sizeof(*total));
137 total->bytes += bytes;
138 total->packets += packets;
146 struct nft_counter total; local
148 nft_counter_fetch(priv, &total);
106 nft_counter_reset(struct nft_counter_percpu_priv *priv, struct nft_counter *total) argument
118 nft_counter_fetch(struct nft_counter_percpu_priv *priv, struct nft_counter *total) argument
235 struct nft_counter total; local
[all...]
/linux-master/tools/perf/ui/tui/
H A Dprogress.c12 p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1;
22 ret += unit_number__scnprintf(buf_tot, sizeof(buf_tot), p->total);
39 if (p->total == 0)
56 bar = ((SLtt_Screen_Cols - 2) * p->curr) / p->total;
/linux-master/tools/testing/selftests/net/forwarding/
H A Dsch_ets_tests.sh43 local total=$1; shift
48 if ((! total)); then
54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l)
86 local total
105 total=$(echo ${d[@]} | sed 's/ /+/g' | bc)
110 notraf_eval "band $stream" ${d[$i]} $total
112 strict_eval "band $stream" ${d[$i]} $total
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_engine_stats.h54 stats->total = ktime_add(stats->total,
/linux-master/tools/perf/ui/gtk/
H A Dprogress.c12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0;
35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_ringbuf_multi.c52 long total = 0; variable
82 sample->seq = total;
83 total += 1;
/linux-master/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c15 int *used, int total)
21 curr_len = snprintf(buf + *used, total - *used,
25 curr_len = snprintf(buf + *used, total - *used,
29 curr_len = snprintf(buf + *used, total - *used,
33 curr_len = snprintf(buf + *used, total - *used,
41 curr_len = snprintf(buf + *used, total - *used,
45 curr_len = snprintf(buf + *used, total - *used,
49 curr_len = snprintf(buf + *used, total - *used,
56 static void mtk_vdec_dbgfs_get_help(char *buf, int *used, int total) argument
60 curr_len = snprintf(buf + *used, total
14 mtk_vdec_dbgfs_get_format_type(struct mtk_vcodec_dec_ctx *ctx, char *buf, int *used, int total) argument
[all...]
/linux-master/drivers/md/bcache/
H A Dstats.c97 int ret = kobject_add(&acc->total.kobj, parent,
110 acc->total.cache_hits = 0;
111 acc->total.cache_misses = 0;
112 acc->total.cache_bypass_hits = 0;
113 acc->total.cache_bypass_misses = 0;
114 acc->total.cache_miss_collisions = 0;
115 acc->total.sectors_bypassed = 0;
120 kobject_put(&acc->total.kobj);
160 acc->total.name += t; \
170 scale_stats(&acc->total,
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_alloc.c137 int total = 0; local
149 bufs[total++] = hns_roce_buf_dma_addr(buf, offset);
153 return total;
160 int total = 0; local
164 bufs[total++] = rdma_block_iter_dma_address(&biter);
165 if (total >= buf_cnt)
170 return total;
/linux-master/tools/testing/selftests/net/
H A Dtcp_mmap.c172 unsigned long total_mmap = 0, total = 0; local
224 zc.length = min(chunk_size, FILE_SZ - total);
242 total += zc.length;
247 FILE_SZ - total));
253 total += lu;
263 FILE_SZ - total));
272 total += lu;
296 throughput = total * 8.0 / (double)delta_usec / 1000.0;
298 if (total > 1024*1024) {
300 unsigned long mb = total >> 2
450 uint64_t total = 0; local
[all...]
/linux-master/fs/ceph/
H A Dmetric.c70 cap->total = cpu_to_le64(nr_caps);
83 read->count = cpu_to_le64(m->metric[METRIC_READ].total);
96 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total);
109 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total);
120 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries));
132 files->total = cpu_to_le64(sum);
142 icaps->total = cpu_to_le64(sum);
152 inodes->total = cpu_to_le64(sum);
161 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total);
171 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total);
328 __update_mean_and_stdev(ktime_t total, ktime_t *lavg, ktime_t *sq_sump, ktime_t lat) argument
348 ktime_t total; local
[all...]

Completed in 307 milliseconds

1234567891011>>