Home
last modified time | relevance | path

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

123456

/linux/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/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/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()
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/fs/fat/
H A Dcache.c81 struct fat_cache *hit = &nohit, *p; in fat_cache_lookup() local
87 if (p->fcluster <= fclus && hit->fcluster < p->fcluster) { in fat_cache_lookup()
88 hit = p; in fat_cache_lookup()
89 if ((hit->fcluster + hit->nr_contig) < fclus) { in fat_cache_lookup()
90 offset = hit->nr_contig; in fat_cache_lookup()
92 offset = fclus - hit->fcluster; in fat_cache_lookup()
97 if (hit != &nohit) { in fat_cache_lookup()
98 fat_cache_update_lru(inode, hit); in fat_cache_lookup()
101 cid->nr_contig = hit->nr_contig; in fat_cache_lookup()
102 cid->fcluster = hit->fcluster; in fat_cache_lookup()
[all …]
/linux/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/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/tools/perf/Documentation/
H A Dperf-mem.txt131 - cache: location in CPU cache (L1, L2, ...) where the sample hit
132 - mem: location in memory or other places the sample hit
133 - dtlb: location in Data TLB (L1, L2) where the sample hit
164 100000 629080842 |OP LOAD|LVL L3 hit|... 20 7e69b93ca524 strcmp
165 100000 1a29081042 |OP LOAD|LVL RAM hit|... 180 ffffffff82429168 memcpy
200 47.99% 1509 L2 hit N/A
201 25.08% 338 core, same node Any cache hit HitM
203 6.77% 35938 L1 hit N/A
204 6.39% 101 core, same node Any cache hit N/A
205 3.50% 69 RAM hit N/A
[all …]
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
208 47.99% 1509 L2 hit N/A
209 25.08% 338 core, same node Any cache hit HitM
211 6.77% 35938 L1 hit N/A
212 6.39% 101 core, same node Any cache hit N/A
213 3.50% 69 RAM hit N/A
214 0.03% 158 LFB/MAB hit N/A
215 0.00% 2 Uncached hit N/A
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/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/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/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/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/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/Documentation/tools/rtla/
H A Dcommon_appendix.txt8 0 Passed: the test did not hit the stop tracing condition
10 2 Failed: the test hit the stop tracing condition
/linux/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/tools/perf/util/
H A Dcallchain.c407 if (rnode->hit < chain->hit) in rb_insert_callchain()
444 if (node->hit && node->hit >= min_hit) in __sort_chain_flat()
679 new->hit = period; in add_child()
846 new->hit = parent->hit; in split_add_child()
862 parent->hit = 0; in split_add_child()
889 parent->hit = period; in split_add_child()
999 root->hit += period; in append_chain()
1056 if (src->hit) { in merge_chain_branch()
1058 if (append_chain_children(dst, cursor, src->hit) < 0) in merge_chain_branch()
1228 period = node->hit; in callchain_node__scnprintf_value()
[all …]
H A Dcallchain.h71 u64 hit; member
178 root->node.hit = 0; in callchain_init()
186 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()
297 RC_CHK_ACCESS(map)->hit = true; in map__set_hit()
/linux/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/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/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/drivers/leds/
H A Dled-triggers.c110 bool hit; in led_trigger_format() local
115 hit = led_cdev->trigger && !strcmp(led_cdev->trigger->name, trig->name); in led_trigger_format()
118 " %s%s%s", hit ? "[" : "", in led_trigger_format()
119 trig->name, hit ? "]" : ""); in led_trigger_format()
/linux/tools/perf/
H A 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()
1037 (unsigned long)data->bytes_alloc / data->hit, in __print_slab_result()
1039 (unsigned long)data->bytes_req / data->hit, in __print_slab_result()
1040 (unsigned long)data->hit, in __print_slab_result()
1463 if (l->hit < r->hit) in hit_cmp()
1465 else if (l->hit > r->hit) in hit_cmp()
/linux/fs/ceph/
H A Dmetric.h67 __le64 hit; member
102 __le64 hit; member

123456