Home
last modified time | relevance | path

Searched refs:hits (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v4.19/kernel/
Dprofile.c35 u32 pc, hits; member
255 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; in profile_flip_buffers() local
257 if (!hits[i].hits) { in profile_flip_buffers()
258 if (hits[i].pc) in profile_flip_buffers()
259 hits[i].pc = 0; in profile_flip_buffers()
262 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
263 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers()
278 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; in profile_discard_flip_buffers() local
279 memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit)); in profile_discard_flip_buffers()
288 struct profile_hit *hits; in do_profile_hits() local
[all …]
/Linux-v4.19/mm/
Dswap_state.c52 #define SWAP_RA_VAL(addr, win, hits) \ argument
55 ((hits) & SWAP_RA_HITS_MASK))
356 int win, hits; in lookup_swap_cache() local
360 hits = SWAP_RA_HITS(ra_val); in lookup_swap_cache()
362 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX); in lookup_swap_cache()
364 SWAP_RA_VAL(addr, win, hits)); in lookup_swap_cache()
490 int hits, in __swapin_nr_pages() argument
501 pages = hits + 2; in __swapin_nr_pages()
531 unsigned int hits, pages, max_pages; in swapin_nr_pages() local
538 hits = atomic_xchg(&swapin_readahead_hits, 0); in swapin_nr_pages()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c101 } hits[0]; member
119 __set_bit(element, picker->hits[i].element); in mlxsw_afk_picker_count_hits()
120 picker->hits[i].total++; in mlxsw_afk_picker_count_hits()
134 memcpy(&hits_element, &picker->hits[block_index].element, in mlxsw_afk_picker_subtract_hits()
139 if (__test_and_clear_bit(j, picker->hits[i].element)) in mlxsw_afk_picker_subtract_hits()
140 picker->hits[i].total--; in mlxsw_afk_picker_subtract_hits()
153 if (picker->hits[i].total > most_hits) { in mlxsw_afk_picker_most_hits_get()
154 most_hits = picker->hits[i].total; in mlxsw_afk_picker_most_hits_get()
171 for_each_set_bit(element, picker->hits[block_index].element, in mlxsw_afk_picker_key_info_add()
192 alloc_size = sizeof(picker->hits[0]) * mlxsw_afk->blocks_count; in mlxsw_afk_picker()
/Linux-v4.19/drivers/gpu/drm/amd/lib/
Dchash.c112 if (table->hits > 0) { in __chash_table_dump_stats()
113 DIV_FRAC(table->hits_steps, table->hits, quot1, frac1, 1000); in __chash_table_dump_stats()
114 DIV_FRAC(table->hits * 1000, table->hits_time_ns, in __chash_table_dump_stats()
121 table->hits, quot1, frac1, quot2, frac2); in __chash_table_dump_stats()
132 if (table->hits + table->miss > 0) { in __chash_table_dump_stats()
134 table->hits + table->miss, quot1, frac1, 1000); in __chash_table_dump_stats()
135 DIV_FRAC((table->hits + table->miss) * 1000, in __chash_table_dump_stats()
143 table->hits + table->miss, quot1, frac1, quot2, frac2); in __chash_table_dump_stats()
145 DIV_FRAC(table->hits + table->miss, table->relocs, in __chash_table_dump_stats()
359 iter->table->hits++; in chash_table_find()
/Linux-v4.19/fs/
Dfs_struct.c68 int hits = 0; in chroot_fs_refs() local
71 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs()
72 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
74 while (hits--) { in chroot_fs_refs()
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c223 int mon, hits = 0; in parse_monitor_param() local
241 tmp_mons[hits] = monitors[num]; in parse_monitor_param()
242 hits++; in parse_monitor_param()
246 if (hits == 0) { in parse_monitor_param()
254 avail_monitors = hits; in parse_monitor_param()
/Linux-v4.19/tools/perf/Documentation/
Dperf-buildid-list.txt25 --with-hits::
26 Show only DSOs with hits.
Dperf-annotate.txt123 global-period, local-period, global-hits, local-hits
127 The period/hits keywords set the base the percentage is computed
128 on - the samples period or the number of samples (hits).
Dperf-archive.txt15 This command runs perf-buildid-list --with-hits, and collects the files with the
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_debugfs.c36 u32 hits = mvpp2_cls_flow_hits(entry->priv, id); in mvpp2_dbgfs_flow_flt_hits_show() local
38 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_flt_hits_show()
49 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); in mvpp2_dbgfs_flow_dec_hits_show() local
51 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_dec_hits_show()
207 u32 hits; in mvpp2_dbgfs_flow_c2_hits_show() local
209 hits = mvpp2_cls_c2_hit_count(port->priv, in mvpp2_dbgfs_flow_c2_hits_show()
212 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_c2_hits_show()
/Linux-v4.19/Documentation/trace/
Dkprobetrace.rst104 You can check the total number of probe hits and probe miss-hits via
106 The first column is event name, the second is the number of probe hits,
107 the third is the number of probe miss-hits.
190 Each line shows when the kernel hits an event, and <- SYMBOL means kernel
Duprobetracer.rst72 You can check the total number of probe hits and probe miss-hits via
74 The first column is event name, the second is the number of probe hits,
75 the third is the number of probe miss-hits.
/Linux-v4.19/Documentation/devicetree/bindings/arc/
Darchs-pct.txt4 CPU and cache events like cache misses and hits. Like conventional PCT there
Dpct.txt4 CPU and cache events like cache misses and hits. Like conventional PCT there
/Linux-v4.19/lib/
Dlru_cache.c214 lc->hits = 0; in lc_reset()
252 lc->hits, lc->misses, lc->starving, lc->locked, lc->changed); in lc_seq_printf_stats()
399 ++lc->hits; in __lc_get()
403 ++lc->hits; in __lc_get()
/Linux-v4.19/tools/perf/
Dperf-archive.sh25 perf buildid-list -i $PERF_DATA --with-hits | grep -v "^$NOBUILDID " > $BUILDIDS
/Linux-v4.19/drivers/acpi/acpica/
Ddbstats.c86 "%8.2X %8.2X %8.2X %8.2X\n", list->requests, list->hits, in acpi_db_list_info()
87 list->requests - list->hits, list->object_size); in acpi_db_list_info()
Dutcache.c237 ACPI_MEM_TRACKING(cache->hits++); in acpi_os_acquire_object()
/Linux-v4.19/drivers/md/
Ddm-cache-policy-smq.c516 unsigned hits; member
529 s->hits = 0u; in stats_init()
535 s->hits = s->misses = 0u; in stats_reset()
541 s->hits++; in stats_level_accessed()
559 unsigned confidence = safe_div(s->hits << FP_SHIFT, s->hits + s->misses); in stats_assess()
1031 unsigned hits = mq->cache_stats.hits; in default_promote_level() local
1033 unsigned index = safe_div(hits << 4u, hits + misses); in default_promote_level()
/Linux-v4.19/drivers/gpu/drm/amd/include/linux/
Dchash.h53 u64 hits, hits_steps, hits_time_ns; member
115 prefix.hits = 0, \
/Linux-v4.19/scripts/coccinelle/misc/
Dreturnvar.cocci8 // "when strict" can be removed to get more hits, but adds false
/Linux-v4.19/include/linux/
Dlru_cache.h208 unsigned long hits, misses, starving, locked, changed; member
/Linux-v4.19/kernel/trace/
Dtracing_map.h199 atomic64_t hits; member
Dtracing_map.c535 atomic64_inc(&map->hits); in __tracing_map_insert()
575 atomic64_inc(&map->hits); in __tracing_map_insert()
695 atomic64_set(&map->hits, 0); in tracing_map_clear()
/Linux-v4.19/Documentation/device-mapper/
Dcache.txt88 forwarded to the origin device; additionally, write hits cause cache
220 <#read hits> <#read misses> <#write hits> <#write misses>
233 #read hits : Number of times a READ bio has been mapped
237 #write hits : Number of times a WRITE bio has been mapped

123