/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/ |
D | bench_count.c | 8 struct counter hits; member 16 atomic_inc(&ctx->hits.value); in count_global_producer() 30 res->hits = atomic_swap(&ctx->hits.value, 0); in count_global_measure() 36 struct counter *hits; member 43 ctx->hits = calloc(env.consumer_cnt, sizeof(*ctx->hits)); in count_local_setup() 44 if (!ctx->hits) in count_local_setup() 54 atomic_inc(&ctx->hits[idx].value); in count_local_producer() 70 res->hits += atomic_swap(&ctx->hits[i].value, 0); in count_local_measure()
|
D | bench_rename.c | 10 struct counter hits; member 37 atomic_inc(&ctx.hits.value); in producer() 43 res->hits = atomic_swap(&ctx.hits.value, 0); in measure()
|
D | bench_trigger.c | 32 res->hits = atomic_swap(&base_hits.value, 0); in trigger_base_measure() 44 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in trigger_measure()
|
D | bench_ringbufs.c | 131 res->hits = atomic_swap(&buf_hits.value, 0); in ringbuf_libbpf_measure() 222 res->hits = atomic_swap(&buf_hits.value, 0); in ringbuf_custom_measure() 351 res->hits = atomic_swap(&buf_hits.value, 0); in perfbuf_measure()
|
D | run_bench_ringbufs.sh | 7 function hits() function
|
/kernel/linux/linux-5.10/kernel/ |
D | profile.c | 36 u32 pc, hits; member 264 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; in profile_flip_buffers() local 266 if (!hits[i].hits) { in profile_flip_buffers() 267 if (hits[i].pc) in profile_flip_buffers() 268 hits[i].pc = 0; in profile_flip_buffers() 271 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers() 272 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers() 287 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; in profile_discard_flip_buffers() local 288 memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit)); in profile_discard_flip_buffers() 297 struct profile_hit *hits; in do_profile_hits() local [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | trigger_bench.c | 11 long hits = 0; variable 16 __sync_add_and_fetch(&hits, 1); in bench_trigger_tp() 24 __sync_add_and_fetch(&hits, 1); in BPF_PROG() 31 __sync_add_and_fetch(&hits, 1); in bench_trigger_kprobe() 38 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry() 45 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry_sleep() 52 __sync_add_and_fetch(&hits, 1); in bench_trigger_fmodret()
|
/kernel/linux/linux-5.10/drivers/cpuidle/governors/ |
D | teo.c | 90 unsigned int hits; member 178 unsigned int hits = cpu_data->states[idx_timer].hits; in teo_update() local 181 hits -= hits >> DECAY_SHIFT; in teo_update() 189 hits += PULSE; in teo_update() 193 cpu_data->states[idx_timer].hits = hits; in teo_update() 246 unsigned int hits, misses, early_hits; in teo_select() local 260 hits = 0; in teo_select() 287 hits = cpu_data->states[i].hits; in teo_select() 325 hits = cpu_data->states[i].hits; in teo_select() 336 hits = cpu_data->states[i].hits; in teo_select() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | swap_state.c | 52 #define SWAP_RA_VAL(addr, win, hits) \ argument 55 ((hits) & SWAP_RA_HITS_MASK)) 397 int win, hits; in lookup_swap_cache() local 401 hits = SWAP_RA_HITS(ra_val); in lookup_swap_cache() 403 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX); in lookup_swap_cache() 405 SWAP_RA_VAL(addr, win, hits)); in lookup_swap_cache() 572 int hits, in __swapin_nr_pages() argument 583 pages = hits + 2; in __swapin_nr_pages() 613 unsigned int hits, pages, max_pages; in swapin_nr_pages() local 620 hits = atomic_xchg(&swapin_readahead_hits, 0); in swapin_nr_pages() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_keys.c | 139 } hits[0]; member 157 __set_bit(element, picker->hits[i].element); in mlxsw_afk_picker_count_hits() 158 picker->hits[i].total++; in mlxsw_afk_picker_count_hits() 172 memcpy(&hits_element, &picker->hits[block_index].element, in mlxsw_afk_picker_subtract_hits() 177 if (__test_and_clear_bit(j, picker->hits[i].element)) in mlxsw_afk_picker_subtract_hits() 178 picker->hits[i].total--; in mlxsw_afk_picker_subtract_hits() 191 if (picker->hits[i].total > most_hits) { in mlxsw_afk_picker_most_hits_get() 192 most_hits = picker->hits[i].total; in mlxsw_afk_picker_most_hits_get() 209 for_each_set_bit(element, picker->hits[block_index].element, in mlxsw_afk_picker_key_info_add() 230 alloc_size = sizeof(picker->hits[0]) * mlxsw_afk->blocks_count; in mlxsw_afk_picker()
|
/kernel/linux/linux-5.10/fs/ |
D | fs_struct.c | 69 int hits = 0; in chroot_fs_refs() local 72 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs() 73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs() 75 while (hits--) { in chroot_fs_refs()
|
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.c | 223 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()
|
/kernel/linux/linux-5.10/tools/perf/Documentation/ |
D | perf-buildid-list.txt | 25 --with-hits:: 26 Show only DSOs with hits.
|
D | perf-annotate.txt | 129 global-period, local-period, global-hits, local-hits 133 The period/hits keywords set the base the percentage is computed 134 on - the samples period or the number of samples (hits).
|
D | perf-archive.txt | 15 This command runs perf-buildid-list --with-hits, and collects the files with the
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_debugfs.c | 62 u32 hits = mvpp2_cls_flow_hits(entry->priv, entry->id); in mvpp2_dbgfs_flow_flt_hits_show() local 64 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_flt_hits_show() 75 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); in mvpp2_dbgfs_flow_dec_hits_show() local 77 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_dec_hits_show() 194 u32 hits; in mvpp2_dbgfs_flow_c2_hits_show() local 196 hits = mvpp2_cls_c2_hit_count(entry->priv, entry->id); in mvpp2_dbgfs_flow_c2_hits_show() 198 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_c2_hits_show()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | bench.c | 58 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 76 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final() 82 hits_stddev += (hits_mean - res[i].hits / 1000000.0) * in hits_drops_report_final() 83 (hits_mean - res[i].hits / 1000000.0) / in hits_drops_report_final()
|
D | bench.h | 34 long hits; member
|
/kernel/linux/linux-5.10/lib/ |
D | lru_cache.c | 202 lc->hits = 0; in lc_reset() 240 lc->hits, lc->misses, lc->starving, lc->locked, lc->changed); in lc_seq_printf_stats() 387 ++lc->hits; in __lc_get() 391 ++lc->hits; in __lc_get()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arc/ |
D | archs-pct.txt | 4 CPU and cache events like cache misses and hits. Like conventional PCT there
|
D | pct.txt | 4 CPU and cache events like cache misses and hits. Like conventional PCT there
|
/kernel/linux/linux-5.10/tools/perf/ |
D | perf-archive.sh | 25 perf buildid-list -i $PERF_DATA --with-hits | grep -v "^$NOBUILDID " > $BUILDIDS
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-cache-policy-smq.c | 516 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()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | dbstats.c | 86 "%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()
|
/kernel/linux/linux-5.10/Documentation/trace/ |
D | kprobetrace.rst | 148 You can check the total number of probe hits and probe miss-hits via 150 The first column is event name, the second is the number of probe hits, 151 the third is the number of probe miss-hits. 255 Each line shows when the kernel hits an event, and <- SYMBOL means kernel
|