/linux-master/tools/perf/ui/ |
H A D | progress.h | 11 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 D | progress.c | 30 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 D | bitmap.c | 24 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 D | profile2linkerlist.pl | 19 unless ($line =~ /unknown/) || ($line =~ /total/);
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | lpm_trie_map_batch_ops.c | 71 __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 D | htab_map_batch_ops.c | 79 __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 D | array_map_batch_ops.c | 73 __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 D | branch.c | 114 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 D | xe_guc_id_mgr_test.c | 48 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 D | rmi_f55.c | 63 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 D | omap-crypto.c | 16 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 D | omap-crypto.h | 27 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs,
|
/linux-master/arch/mips/txx9/generic/ |
H A D | mem_tx4927.c | 69 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 D | xe_guc_id_mgr.c | 44 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 D | nft_counter.c | 107 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 D | progress.c | 12 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 D | sch_ets_tests.sh | 43 local total=$1; shift 48 if ((! total)); then 54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l) 86 local total 105 total=$(echo ${d[@]} | sed 's/ /+/g' | bc) 110 notraf_eval "band $stream" ${d[$i]} $total 112 strict_eval "band $stream" ${d[$i]} $total
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_stats.h | 54 stats->total = ktime_add(stats->total,
|
/linux-master/tools/perf/ui/gtk/ |
H A D | progress.c | 12 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 D | test_ringbuf_multi.c | 52 long total = 0; variable 82 sample->seq = total; 83 total += 1;
|
/linux-master/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_dbgfs.c | 15 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 D | stats.c | 97 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 D | hns_roce_alloc.c | 137 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 D | tcp_mmap.c | 172 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 D | metric.c | 70 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...] |