Home
last modified time | relevance | path

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

12345678

/linux-6.15/fs/exfat/
H A 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-6.15/kernel/trace/
H A Dring_buffer_benchmark.c239 unsigned long hit = 0; in ring_buffer_producer() local
260 hit++; in ring_buffer_producer()
337 trace_printk("Hit: %ld\n", hit); in ring_buffer_producer()
342 hit /= (long)time; in ring_buffer_producer()
346 trace_printk("Entries per millisec: %ld\n", hit); in ring_buffer_producer()
348 if (hit) { in ring_buffer_producer()
350 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()
359 hit + missed); in ring_buffer_producer()
362 if (!(hit + missed)) { in ring_buffer_producer()
364 hit--; /* make it non zero */ in ring_buffer_producer()
[all …]
/linux-6.15/tools/perf/util/
H A Dstream.c73 u64 hit; in evsel_streams__set_hot_cnode() local
86 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
88 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
89 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
94 if (cnode->hit > hit) in evsel_streams__set_hot_cnode()
233 pct = (double)base_cnode->hit / (double)es_base->streams_hits; in print_callchain_pair()
237 pct = (double)pair_cnode->hit / (double)es_pair->streams_hits; in print_callchain_pair()
276 pct = (double)cnode->hit / (double)es->streams_hits; in print_stream_callchain()
H A Dcallchain.c397 if (rnode->hit < chain->hit) in rb_insert_callchain()
434 if (node->hit && node->hit >= min_hit) in __sort_chain_flat()
669 new->hit = period; in add_child()
836 new->hit = parent->hit; in split_add_child()
852 parent->hit = 0; in split_add_child()
989 root->hit += period; in append_chain()
1046 if (src->hit) { in merge_chain_branch()
1218 period = node->hit; in callchain_node__scnprintf_value()
1247 period = node->hit; in callchain_node__fprintf_value()
1536 node->hit = (node->hit * 7) / 8; in decay_callchain_node()
[all …]
H A Dcallchain.h71 u64 hit; member
177 root->node.hit = 0; in callchain_init()
185 return node->hit + node->children_hit; in callchain_cumul_hits()
H A Dmap.h38 bool hit; in DECLARE_RC_STRUCT() local
89 return RC_CHK_ACCESS(map)->hit; in map__hit()
298 RC_CHK_ACCESS(map)->hit = true; in map__set_hit()
/linux-6.15/fs/fat/
H A 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-6.15/arch/powerpc/kernel/
H A Dhw_breakpoint.c284 int *hit, ppc_inst_t instr) in stepping_handler() argument
292 if (!hit[i]) in stepping_handler()
305 if (!hit[i]) in stepping_handler()
316 int *hit, unsigned long ea) in handle_p10dd1_spurious_exception() argument
365 hit[i] = 1; in handle_p10dd1_spurious_exception()
383 int hit[HBP_NUM_MAX] = {0}; in hw_breakpoint_handler() local
426 hit[i] = 1; in hw_breakpoint_handler()
453 if (!hit[i] || !is_ptrace_bp(bp[i])) in hw_breakpoint_handler()
465 if (!hit[i]) in hw_breakpoint_handler()
473 if (!stepping_handler(regs, bp, hit, instr)) in hw_breakpoint_handler()
[all …]
/linux-6.15/tools/perf/Documentation/
H A Dperf-amd-ibs.txt21 hit/miss, d-TLB hit/miss, cache miss latency, load/store data source, branch
23 with details like i-cache hit/miss, i-TLB hit/miss, fetch latency etc. IBS is
171 L1 hit 1056754 N/A
172 L2 hit 75231 N/A
173 L3 hit 9496 HitM
174 L3 hit 2270 N/A
175 RAM hit 8710 N/A
176 Remote node, same socket RAM hit 3241 N/A
178 Remote core, same node Any cache hit 514 N/A
180 Remote node, same socket Any cache hit 350 N/A
[all …]
H A 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-6.15/drivers/isdn/mISDN/
H A 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-6.15/Documentation/admin-guide/device-mapper/
H A 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-6.15/drivers/md/bcache/
H A 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-6.15/fs/coda/
H A 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-6.15/arch/mips/mm/
H A 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-6.15/arch/arm64/kvm/
H A 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-6.15/net/wireless/
H A 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-6.15/Documentation/devicetree/bindings/auxdisplay/
H A Dhit,hd44780.yaml4 $id: http://devicetree.org/schemas/auxdisplay/hit,hd44780.yaml#
22 const: hit,hd44780
88 compatible = "hit,hd44780";
116 compatible = "hit,hd44780";
/linux-6.15/arch/csky/mm/
H A 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-6.15/arch/arm/probes/kprobes/
H A 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-6.15/arch/arm/mm/
H A 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-6.15/Documentation/netlink/specs/
H A Dovs_datapath.yaml43 name: n-hit
60 name: n-mask-hit
69 name: n-cache-hit
/linux-6.15/arch/riscv/mm/
H A Dcontext.c39 bool hit = false; in check_update_reserved_context() local
52 hit = true; in check_update_reserved_context()
57 return hit; in check_update_reserved_context()
/linux-6.15/arch/arm64/mm/
H A 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-6.15/drivers/leds/
H A 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()

12345678