Home
last modified time | relevance | path

Searched refs:hit (Results 1 – 25 of 166) sorted by relevance

1234567

/Linux-v6.1/fs/exfat/
Dcache.c89 struct exfat_cache *hit = &nohit, *p; in exfat_cache_lookup() local
95 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in exfat_cache_lookup()
96 hit = p; in exfat_cache_lookup()
97 if (hit->fcluster + hit->nr_contig < fclus) { in exfat_cache_lookup()
98 offset = hit->nr_contig; in exfat_cache_lookup()
100 offset = fclus - hit->fcluster; in exfat_cache_lookup()
105 if (hit != &nohit) { in exfat_cache_lookup()
106 exfat_cache_update_lru(inode, hit); in exfat_cache_lookup()
109 cid->nr_contig = hit->nr_contig; in exfat_cache_lookup()
110 cid->fcluster = hit->fcluster; in exfat_cache_lookup()
[all …]
/Linux-v6.1/kernel/trace/
Dring_buffer_benchmark.c237 unsigned long hit = 0; in ring_buffer_producer() local
258 hit++; in ring_buffer_producer()
335 trace_printk("Hit: %ld\n", hit); in ring_buffer_producer()
340 hit /= (long)time; in ring_buffer_producer()
344 trace_printk("Entries per millisec: %ld\n", hit); in ring_buffer_producer()
346 if (hit) { in ring_buffer_producer()
348 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()
357 hit + missed); in ring_buffer_producer()
360 if (!(hit + missed)) { in ring_buffer_producer()
362 hit--; /* make it non zero */ in ring_buffer_producer()
[all …]
/Linux-v6.1/tools/perf/util/
Dstream.c74 u64 hit; in evsel_streams__set_hot_cnode() local
87 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
89 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
90 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
95 if (cnode->hit > hit) in evsel_streams__set_hot_cnode()
234 pct = (double)base_cnode->hit / (double)es_base->streams_hits; in print_callchain_pair()
238 pct = (double)pair_cnode->hit / (double)es_pair->streams_hits; in print_callchain_pair()
277 pct = (double)cnode->hit / (double)es->streams_hits; in print_stream_callchain()
Dcallchain.c396 if (rnode->hit < chain->hit) in rb_insert_callchain()
433 if (node->hit && node->hit >= min_hit) in __sort_chain_flat()
659 new->hit = period; in add_child()
818 new->hit = parent->hit; in split_add_child()
834 parent->hit = 0; in split_add_child()
861 parent->hit = period; in split_add_child()
971 root->hit += period; in append_chain()
1020 if (src->hit) { in merge_chain_branch()
1022 if (append_chain_children(dst, cursor, src->hit) < 0) in merge_chain_branch()
1190 period = node->hit; in callchain_node__scnprintf_value()
[all …]
Dcallchain.h71 u64 hit; member
179 root->node.hit = 0; in callchain_init()
187 return node->hit + node->children_hit; in callchain_cumul_hits()
Dmem-events.c247 u64 hit, miss; in perf_mem__tlb_scnprintf() local
255 hit = m & PERF_MEM_TLB_HIT; in perf_mem__tlb_scnprintf()
272 if (hit) in perf_mem__tlb_scnprintf()
348 u64 hit, miss; in perf_mem__lvl_scnprintf() local
357 hit = m & PERF_MEM_LVL_HIT; in perf_mem__lvl_scnprintf()
400 if (hit) in perf_mem__lvl_scnprintf()
/Linux-v6.1/fs/fat/
Dcache.c86 struct fat_cache *hit = &nohit, *p; in fat_cache_lookup() local
92 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()
93 hit = p; in fat_cache_lookup()
94 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
95 offset = hit->nr_contig; in fat_cache_lookup()
97 offset = fclus - hit->fcluster; in fat_cache_lookup()
102 if (hit != &nohit) { in fat_cache_lookup()
103 fat_cache_update_lru(inode, hit); in fat_cache_lookup()
106 cid->nr_contig = hit->nr_contig; in fat_cache_lookup()
107 cid->fcluster = hit->fcluster; in fat_cache_lookup()
[all …]
/Linux-v6.1/drivers/isdn/mISDN/
Ddsp_ecdis.h25 int hit; member
50 det->hit = 0; in echo_can_disable_detector_init()
80 det->hit = TRUE; in echo_can_disable_detector_update()
93 return det->hit; in echo_can_disable_detector_update()
/Linux-v6.1/Documentation/admin-guide/device-mapper/
Dcache-policies.rst21 doesn't update states (eg, hit counts) for a block more than once
67 pointers. It avoids storing an explicit hit count for each block. It
79 based on their hit count (~ln(hit count)). This meant the bottom
84 smq does not maintain a hit count, instead it swaps hit entries with
91 The mq policy maintained a hit count for each cache block. For a
92 different block to get promoted to the cache its hit count has to
96 smq doesn't maintain hit counts, so a lot of this problem just goes
/Linux-v6.1/drivers/md/bcache/
Dstats.c184 bool hit, bool bypass) in mark_cache_stats() argument
187 if (hit) in mark_cache_stats()
192 if (hit) in mark_cache_stats()
199 bool hit, bool bypass) in bch_mark_cache_accounting() argument
203 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
204 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
/Linux-v6.1/arch/powerpc/kernel/
Dhw_breakpoint.c552 struct arch_hw_breakpoint **info, int *hit, in stepping_handler() argument
561 if (!hit[i]) in stepping_handler()
573 if (!hit[i]) in stepping_handler()
584 int *hit, unsigned long ea) in handle_p10dd1_spurious_exception() argument
629 hit[i] = 1; in handle_p10dd1_spurious_exception()
643 int hit[HBP_NUM_MAX] = {0}; in hw_breakpoint_handler() local
684 hit[i] = 1; in hw_breakpoint_handler()
696 handle_p10dd1_spurious_exception(info, hit, ea); in hw_breakpoint_handler()
711 if (!hit[i]) in hw_breakpoint_handler()
723 if (!hit[i]) in hw_breakpoint_handler()
[all …]
/Linux-v6.1/fs/coda/
Dcache.c65 int hit; in coda_cache_check() local
68 hit = (mask & cii->c_cached_perm) == mask && in coda_cache_check()
73 return hit; in coda_cache_check()
/Linux-v6.1/arch/mips/mm/
Dcontext.c101 bool hit; in check_update_reserved_mmid() local
113 hit = false; in check_update_reserved_mmid()
116 hit = true; in check_update_reserved_mmid()
121 return hit; in check_update_reserved_mmid()
/Linux-v6.1/tools/perf/Documentation/
Dperf-kmem.txt47 Sort the output (default: 'frag,hit,bytes' for slab and 'bytes,hit'
48 for page). Available sort keys are 'ptr, callsite, bytes, hit,
49 pingpong, frag' for slab and 'page, callsite, bytes, hit, order,
/Linux-v6.1/Documentation/tools/rtla/
Drtla-timerlat-top.rst39 latency higher than *30 us* is hit. Finally, it is set to save the trace
40 buffer if the stop condition is hit::
70 timerlat hit stop tracing
113 timerlat/6-79756 [006] ....... 426.271267: timerlat_main: stop tracing hit on cpu 6
125 The primary reason for this high value is the wake-up path that was hit
/Linux-v6.1/arch/arm64/kvm/
Dvmid.c75 bool hit = false; in check_update_reserved_vmid() local
84 hit = true; in check_update_reserved_vmid()
89 return hit; in check_update_reserved_vmid()
/Linux-v6.1/net/wireless/
Dradiotap.c216 int hit = 0; in ieee80211_radiotap_iterator_next() local
336 hit = 1; in ieee80211_radiotap_iterator_next()
359 hit = 1; in ieee80211_radiotap_iterator_next()
366 if (hit) in ieee80211_radiotap_iterator_next()
/Linux-v6.1/arch/csky/mm/
Dasid.c58 bool hit = false; in check_update_reserved_asid() local
71 hit = true; in check_update_reserved_asid()
76 return hit; in check_update_reserved_asid()
/Linux-v6.1/arch/arm/probes/kprobes/
Dtest-core.c1163 int hit; member
1185 probe->hit = -1; in register_test_probe()
1193 container_of(p, struct test_probe, kprobe)->hit = test_instance; in test_before_pre_handler()
1209 container_of(p, struct test_probe, kprobe)->hit = test_instance; in test_case_pre_handler()
1218 if (container_of(p, struct test_probe, kprobe)->hit == test_instance) in test_after_pre_handler()
1237 container_of(p, struct test_probe, kprobe)->hit = test_instance; in test_after_pre_handler()
1481 if (test_before_probe.hit != test_instance) { in kprobes_test_case_end()
1486 if (test_after_probe.hit != test_instance && in kprobes_test_case_end()
1487 test_after2_probe.hit != test_instance) { in kprobes_test_case_end()
1511 if (test_case_probe.hit != test_instance) { in kprobes_test_case_end()
[all …]
/Linux-v6.1/arch/arm/mm/
Dcontext.c168 bool hit = false; in check_update_reserved_asid() local
181 hit = true; in check_update_reserved_asid()
186 return hit; in check_update_reserved_asid()
/Linux-v6.1/net/unix/
Dgarbage.c101 bool hit = false; in scan_inflight() local
118 hit = true; in scan_inflight()
124 if (hit && hitlist != NULL) { in scan_inflight()
/Linux-v6.1/arch/riscv/mm/
Dcontext.c40 bool hit = false; in check_update_reserved_context() local
53 hit = true; in check_update_reserved_context()
58 return hit; in check_update_reserved_context()
/Linux-v6.1/arch/arm64/mm/
Dcontext.c137 bool hit = false; in check_update_reserved_asid() local
150 hit = true; in check_update_reserved_asid()
155 return hit; in check_update_reserved_asid()
/Linux-v6.1/drivers/leds/
Dled-triggers.c102 bool hit; in led_trigger_format() local
107 hit = led_cdev->trigger && !strcmp(led_cdev->trigger->name, trig->name); in led_trigger_format()
110 " %s%s%s", hit ? "[" : "", in led_trigger_format()
111 trig->name, hit ? "]" : ""); in led_trigger_format()
/Linux-v6.1/fs/ceph/
Dmetric.h67 __le64 hit; member
102 __le64 hit; member

1234567