Searched refs:hits (Results 1 - 25 of 46) sorted by last modified time

12

/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c363 seq_printf(filp, "sc%d: Cam hits: %lld\n", sc_id, stats.hit_cnt);
3001 u64 hits; local
3050 hits = rvu_read64(rvu, blkaddr, NPC_AF_MATCH_STATX(iter->cntr));
3051 seq_printf(s, "\thits: %lld\n", hits);
/linux-master/kernel/
H A Dprofile.c36 u32 pc, hits; member in struct:profile_hit
142 * profile hits. read_profile() IPI's all cpus to request them
147 * profile hits required for the accuracy of reported profile hits
151 * and hold the number of pending hits to that profile buffer slot on
152 * a cpu in an entry. When the hashtable overflows, all pending hits
154 * atomic_add() and the hashtable emptied. As numerous pending hits
159 * positions to which hits are accounted during short intervals (e.g.
187 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; local
189 if (!hits[
210 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; local
220 struct profile_hit *hits; local
[all...]
/linux-master/tools/perf/util/
H A Dannotate.c2353 unsigned int hits = 0; local
2361 hits += entry->nr_samples;
2369 data->he.nr_samples = hits;
2370 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples;
2374 data->percent[PERCENT_HITS_GLOBAL] = 100.0 * hits / hists->stats.nr_non_filtered_samples;
3517 if (!strcmp("hits", str1)) {
/linux-master/security/selinux/
H A Dselinuxfs.c1545 "lookups hits misses allocations reclaims frees\n");
1549 unsigned int hits = lookups - misses; local
1551 hits, misses, st->allocations,
/linux-master/tools/perf/
H A Dbuiltin-top.c1348 u64 hits = top->samples; local
1352 if (opts->overwrite || (hits == top->samples))
H A Dbuiltin-record.c1457 * If --buildid-all is given, it marks all DSO regardless of hits,
1691 unsigned long long hits = thread->samples; local
1696 if (hits == thread->samples) {
2643 unsigned long long hits = thread->samples; local
2648 * hits != rec->samples in previous round.
2712 if (hits == thread->samples) {
3518 "Record build-id of all DSOs regardless of hits"),
H A Dperf-archive.sh89 perf buildid-list -i $PERF_DATA --with-hits | grep -v "^ " > $BUILDIDS
/linux-master/mm/
H A Dswap_state.c54 #define SWAP_RA_VAL(addr, win, hits) \
57 ((hits) & SWAP_RA_HITS_MASK))
59 /* Initial readahead hits is 4 to start up with a small window */
368 int win, hits; local
372 hits = SWAP_RA_HITS(ra_val);
374 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX);
376 SWAP_RA_VAL(addr, win, hits));
573 int hits,
584 pages = hits
571 __swapin_nr_pages(unsigned long prev_offset, unsigned long offset, int hits, int max_pages, int prev_win) argument
614 unsigned int hits, pages, max_pages; local
756 unsigned int max_win, hits, prev_win, win; local
[all...]
/linux-master/drivers/md/
H A Ddm-cache-policy-smq.c518 unsigned int hits; member in struct:stats
531 s->hits = 0u;
537 s->hits = s->misses = 0u;
543 s->hits++;
561 unsigned int confidence = safe_div(s->hits << FP_SHIFT, s->hits + s->misses);
835 * avoid attributing multiple hits within the same tick.
1042 unsigned int hits = mq->cache_stats.hits; local
1044 unsigned int index = safe_div(hits <<
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtrigger_bench.c12 long hits = 0; variable
17 __sync_add_and_fetch(&hits, 1);
25 __sync_add_and_fetch(&hits, 1);
32 __sync_add_and_fetch(&hits, 1);
39 __sync_add_and_fetch(&hits, 1);
46 __sync_add_and_fetch(&hits, 1);
53 __sync_add_and_fetch(&hits, 1);
60 __sync_add_and_fetch(&hits, 1);
67 __sync_add_and_fetch(&hits, 1);
74 __sync_add_and_fetch(&hits,
[all...]
H A Dbpf_loop_bench.c11 long hits; variable
21 __sync_add_and_fetch(&hits, nr_loops);
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_trigger.c33 res->hits = atomic_swap(&base_hits.value, 0);
45 res->hits = atomic_swap(&ctx.skel->bss->hits, 0);
H A Dbench_htab_mem.c295 res->hits = atomic_swap(&ctx.skel->bss->op_cnt, 0) / env.producer_cnt;
303 loop = res->hits / 1000.0 / (delta_ns / 1000000000.0);
317 loop_mean += res[i].hits / 1000.0 / (0.0 + res_cnt);
322 loop_stddev += (loop_mean - res[i].hits / 1000.0) *
323 (loop_mean - res[i].hits / 1000.0) /
H A Dbench_ringbufs.c131 res->hits = atomic_swap(&buf_hits.value, 0);
222 res->hits = atomic_swap(&buf_hits.value, 0);
351 res->hits = atomic_swap(&buf_hits.value, 0);
/linux-master/tools/testing/selftests/bpf/
H A Dbench.c40 long total = res->false_hits + res->hits + res->drops;
45 printf("%ld false hits of %ld total operations. Percentage = %2.2f %%\n",
55 total_hits += res[i].hits;
61 printf("Summary: %ld false hits of %ld total operations. ",
72 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0);
79 printf("hits %8.3lfM/s (%7.3lfM/prod), drops %8.3lfM/s, total operations %8.3lfM/s\n",
128 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt);
135 hits_stddev += (hits_mean - res[i].hits / 1000000.0) *
136 (hits_mean - res[i].hits / 1000000.0) /
141 total_ops = res[i].hits
[all...]
H A Dbench.h41 long hits; member in struct:bench_res
/linux-master/fs/nfsd/
H A Dfilecache.c1203 unsigned long hits = 0, acquisitions = 0; local
1225 hits += per_cpu(nfsd_file_cache_hits, i);
1235 seq_printf(m, "cache hits: %lu\n", hits);
/linux-master/kernel/trace/
H A Dtracing_map.c538 atomic64_inc(&map->hits);
583 atomic64_inc(&map->hits);
618 * variables, 'hits' and 'drops', which are updated by this function.
620 * the 'hits' value is incremented. Every time an element insertion
652 * Every time an element is retrieved, the 'hits' value is
654 * 'hits', which is updated by this function. Every time an element
655 * is successfully retrieved, the 'hits' value is incremented. The
703 atomic64_set(&map->hits, 0);
H A Dtrace_events_hist.c5592 (u64)atomic64_read(&hist_data->map->hits),
/linux-master/net/core/
H A Dneighbour.c630 NEIGH_CACHE_STAT_INC(tbl, hits);
2224 ndst.ndts_hits += READ_ONCE(st->hits);
3469 seq_puts(seq, "entries allocs destroys hash_grows lookups hits res_failed rcv_probes_mcast rcv_probes_ucast periodic_gc_runs forced_gc_runs unresolved_discards table_fulls\n");
3483 st->hits,
/linux-master/include/net/
H A Dneighbour.h123 unsigned long hits; /* number of hits (among lookups) */ member in struct:neigh_statistics
/linux-master/net/netfilter/
H A Dxt_recent.c300 unsigned int i, hits = 0; local
305 if (!info->hit_count || ++hits >= info->hit_count) {
/linux-master/drivers/media/rc/
H A Dimon.c1183 static int x, y, prev_result, hits; local
1194 hits = 0;
1212 hits++;
1214 if (hits > 3) {
1231 if (hits == 2 && msec_hit < timeout) {
1233 hits = 1;
1237 hits = 1;
/linux-master/fs/
H A Dfs_struct.c69 int hits = 0; local
72 hits += replace_path(&fs->root, old_root, new_root);
73 hits += replace_path(&fs->pwd, old_root, new_root);
75 while (hits--) {
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_debugfs.c62 u32 hits = mvpp2_cls_flow_hits(entry->priv, entry->id); local
64 seq_printf(s, "%u\n", hits);
75 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); local
77 seq_printf(s, "%u\n", hits);
194 u32 hits; local
196 hits = mvpp2_cls_c2_hit_count(entry->priv, entry->id);
198 seq_printf(s, "%u\n", hits);
558 debugfs_create_file("hits", 0444, prs_entry_dir, entry,
602 debugfs_create_file("hits", 0444, c2_entry_dir, entry,
633 debugfs_create_file("hits", 044
[all...]

Completed in 397 milliseconds

12