Home
last modified time | relevance | path

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

1234567

/Linux-v6.6/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.6/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.6/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.c397 if (rnode->hit < chain->hit) in rb_insert_callchain()
434 if (node->hit && node->hit >= min_hit) in __sort_chain_flat()
662 new->hit = period; in add_child()
821 new->hit = parent->hit; in split_add_child()
837 parent->hit = 0; in split_add_child()
864 parent->hit = period; in split_add_child()
974 root->hit += period; in append_chain()
1032 if (src->hit) { in merge_chain_branch()
1034 if (append_chain_children(dst, cursor, src->hit) < 0) in merge_chain_branch()
1207 period = node->hit; in callchain_node__scnprintf_value()
[all …]
Dcallchain.h71 u64 hit; member
177 root->node.hit = 0; in callchain_init()
185 return node->hit + node->children_hit; in callchain_cumul_hits()
/Linux-v6.6/arch/powerpc/kernel/
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()
438 handle_p10dd1_spurious_exception(bp, hit, ea); 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()
[all …]
/Linux-v6.6/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.6/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.6/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
Dwritecache.rst84 6. the number of read blocks that hit the cache
86 8. the number of write blocks that hit uncommitted block
87 9. the number of write blocks that hit committed block
/Linux-v6.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/fs/ceph/
Dmetric.h67 __le64 hit; member
102 __le64 hit; member
/Linux-v6.6/tools/perf/
Dbuiltin-kmem.c67 u32 hit; member
107 data->hit++; in insert_alloc_stat()
118 data->hit = 1; in insert_alloc_stat()
152 data->hit++; in insert_caller_stat()
163 data->hit = 1; in insert_caller_stat()
1044 (unsigned long)data->bytes_alloc / data->hit, in __print_slab_result()
1046 (unsigned long)data->bytes_req / data->hit, in __print_slab_result()
1047 (unsigned long)data->hit, in __print_slab_result()
1470 if (l->hit < r->hit) in hit_cmp()
1472 else if (l->hit > r->hit) in hit_cmp()

1234567