Home
last modified time | relevance | path

Searched refs:hit (Results 1 - 25 of 123) sorted by relevance

12345

/kernel/linux/linux-5.10/tools/perf/util/
H A Dstream.c68 * The cnodes with high hit number are hot callchains.
74 u64 hit; in evsel_streams__set_hot_cnode() local
85 * way to find the cnode with smallest hit number and replace. in evsel_streams__set_hot_cnode()
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 > hi in evsel_streams__set_hot_cnode()
[all...]
/kernel/linux/linux-5.10/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 in fat_cache_lookup()
[all...]
/kernel/linux/linux-5.10/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 in exfat_cache_lookup()
[all...]
/kernel/linux/linux-6.6/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 in fat_cache_lookup()
[all...]
/kernel/linux/linux-6.6/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 in exfat_cache_lookup()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dstream.c68 * The cnodes with high hit number are hot callchains.
74 u64 hit; in evsel_streams__set_hot_cnode() local
85 * way to find the cnode with smallest hit number and replace. in evsel_streams__set_hot_cnode()
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 > hi in evsel_streams__set_hot_cnode()
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A 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()
359 /* it is possible that hit + missed will overflow and be zero */ in ring_buffer_producer()
360 if (!(hit in ring_buffer_producer()
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A 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()
359 /* it is possible that hit + missed will overflow and be zero */ in ring_buffer_producer()
360 if (!(hit in ring_buffer_producer()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dhw_breakpoint.c278 printk_ratelimited("Breakpoint hit on instruction that can't be emulated. Breakpoint at 0x%lx will be disabled.\n", in larx_stcx_err()
284 int *hit, ppc_inst_t instr) in stepping_handler()
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()
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()
438 handle_p10dd1_spurious_exception(bp, hit, ea); in hw_breakpoint_handler()
453 if (!hit[ in hw_breakpoint_handler()
283 stepping_handler(struct pt_regs *regs, struct perf_event **bp, int *hit, ppc_inst_t instr) stepping_handler() argument
315 handle_p10dd1_spurious_exception(struct perf_event **bp, int *hit, unsigned long ea) handle_p10dd1_spurious_exception() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dstats.c28 * get a cache hit, we increment a single atomic_t in acc->collector, and when
189 bool hit, bool bypass) in mark_cache_stats()
192 if (hit) in mark_cache_stats()
197 if (hit) in mark_cache_stats()
204 bool hit, bool bypass) in bch_mark_cache_accounting()
208 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
209 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
188 mark_cache_stats(struct cache_stat_collector *stats, bool hit, bool bypass) mark_cache_stats() argument
203 bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, bool hit, bool bypass) bch_mark_cache_accounting() argument
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dstats.c28 * get a cache hit, we increment a single atomic_t in acc->collector, and when
184 bool hit, bool bypass) in mark_cache_stats()
187 if (hit) in mark_cache_stats()
192 if (hit) in mark_cache_stats()
199 bool hit, bool bypass) in bch_mark_cache_accounting()
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()
183 mark_cache_stats(struct cache_stat_collector *stats, bool hit, bool bypass) mark_cache_stats() argument
198 bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, bool hit, bool bypass) bch_mark_cache_accounting() argument
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dhw_breakpoint.c520 printk_ratelimited("Breakpoint hit on instruction that can't be emulated. Breakpoint at 0x%lx will be disabled.\n", in larx_stcx_err()
526 struct arch_hw_breakpoint **info, int *hit, in stepping_handler()
535 if (!hit[i]) in stepping_handler()
547 if (!hit[i]) in stepping_handler()
565 int hit[HBP_NUM_MAX] = {0}; in hw_breakpoint_handler() local
606 hit[i] = 1; in hw_breakpoint_handler()
627 if (!hit[i]) in hw_breakpoint_handler()
639 if (!hit[i]) in hw_breakpoint_handler()
647 if (!stepping_handler(regs, bp, info, hit, instr)) in hw_breakpoint_handler()
656 if (!hit[ in hw_breakpoint_handler()
525 stepping_handler(struct pt_regs *regs, struct perf_event **bp, struct arch_hw_breakpoint **info, int *hit, struct ppc_inst instr) stepping_handler() argument
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/liteos_a/fs/vfs/include/
H A Dpath_cache.h46 int hit; /* cache hit count */ member
60 void ResetPathCacheHitInfo(int *hit, int *try);
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/coda/
H A Dcache.c30 /* replace or extend an acl cache hit */
65 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()
/kernel/linux/linux-6.6/fs/coda/
H A Dcache.c30 /* replace or extend an acl cache hit */
65 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()
/kernel/linux/linux-5.10/net/wireless/
H A Dradiotap.c217 int hit = 0; in ieee80211_radiotap_iterator_next() local
337 hit = 1; in ieee80211_radiotap_iterator_next()
359 /* we've got a hit! */ in ieee80211_radiotap_iterator_next()
360 hit = 1; in ieee80211_radiotap_iterator_next()
367 if (hit) in ieee80211_radiotap_iterator_next()
/kernel/linux/linux-6.6/net/wireless/
H A Dradiotap.c216 int hit = 0; in ieee80211_radiotap_iterator_next() local
336 hit = 1; in ieee80211_radiotap_iterator_next()
358 /* we've got a hit! */ in ieee80211_radiotap_iterator_next()
359 hit = 1; in ieee80211_radiotap_iterator_next()
366 if (hit) in ieee80211_radiotap_iterator_next()
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
H A Dtest-core.c153 * When the test case code executes, the test_before probe will be hit and
1163 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 ! in kprobes_test_case_end()
[all...]
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
H A Dtest-core.c153 * When the test case code executes, the test_before probe will be hit and
1163 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 ! in kprobes_test_case_end()
[all...]
/kernel/linux/linux-5.10/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()

Completed in 14 milliseconds

12345