Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c390 if (rnode->hit < chain->hit) in rb_insert_callchain()
427 if (node->hit && node->hit >= min_hit) in __sort_chain_flat()
653 new->hit = period; in add_child()
812 new->hit = parent->hit; in split_add_child()
828 parent->hit = 0; in split_add_child()
855 parent->hit = period; in split_add_child()
965 root->hit += period; in append_chain()
1014 if (src->hit) { in merge_chain_branch()
1016 if (append_chain_children(dst, cursor, src->hit) < 0) in merge_chain_branch()
1184 period = node->hit; in callchain_node__scnprintf_value()
[all …]
Dmem-events.c135 u64 hit, miss; in perf_mem__tlb_scnprintf() local
143 hit = m & PERF_MEM_TLB_HIT; in perf_mem__tlb_scnprintf()
160 if (hit) in perf_mem__tlb_scnprintf()
197 u64 hit, miss; in perf_mem__lvl_scnprintf() local
206 hit = m & PERF_MEM_LVL_HIT; in perf_mem__lvl_scnprintf()
243 if (hit) in perf_mem__lvl_scnprintf()
Dcallchain.h71 u64 hit; member
179 root->node.hit = 0; in callchain_init()
187 return node->hit + node->children_hit; in callchain_cumul_hits()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/md/bcache/
Dstats.c189 bool hit, bool bypass) in mark_cache_stats() argument
192 if (hit) in mark_cache_stats()
197 if (hit) in mark_cache_stats()
204 bool hit, bool bypass) in bch_mark_cache_accounting() argument
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-kmem.txt44 Sort the output (default: 'frag,hit,bytes' for slab and 'bytes,hit'
45 for page). Available sort keys are 'ptr, callsite, bytes, hit,
46 pingpong, frag' for slab and 'page, callsite, bytes, hit, order,
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dhw_breakpoint.c521 struct arch_hw_breakpoint **info, int *hit, in stepping_handler() argument
530 if (!hit[i]) in stepping_handler()
542 if (!hit[i]) in stepping_handler()
560 int hit[HBP_NUM_MAX] = {0}; in hw_breakpoint_handler() local
601 hit[i] = 1; in hw_breakpoint_handler()
622 if (!hit[i]) in hw_breakpoint_handler()
634 if (!hit[i]) in hw_breakpoint_handler()
642 if (!stepping_handler(regs, bp, info, hit, instr)) in hw_breakpoint_handler()
651 if (!hit[i]) in hw_breakpoint_handler()
/kernel/liteos_a/fs/vfs/include/
Dpath_cache.h46 int hit; /* cache hit count */ member
60 void ResetPathCacheHitInfo(int *hit, int *try);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/wireless/
Dradiotap.c217 int hit = 0; in ieee80211_radiotap_iterator_next() local
337 hit = 1; in ieee80211_radiotap_iterator_next()
360 hit = 1; in ieee80211_radiotap_iterator_next()
367 if (hit) in ieee80211_radiotap_iterator_next()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/liteos_a/fs/vfs/
Dpath_cache.c44 #define TRACE_HIT_CACHE(pc) do { pc->hit++; g_totalPathCacheHit++; } while (0)
46 void ResetPathCacheHitInfo(int *hit, int *try) in ResetPathCacheHitInfo() argument
48 *hit = g_totalPathCacheHit; in ResetPathCacheHitInfo()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-kmem.c65 u32 hit; member
105 data->hit++; in insert_alloc_stat()
116 data->hit = 1; in insert_alloc_stat()
150 data->hit++; in insert_caller_stat()
161 data->hit = 1; in insert_caller_stat()
1022 (unsigned long)data->bytes_alloc / data->hit, in __print_slab_result()
1024 (unsigned long)data->bytes_req / data->hit, in __print_slab_result()
1025 (unsigned long)data->hit, in __print_slab_result()
1448 if (l->hit < r->hit) in hit_cmp()
1450 else if (l->hit > r->hit) in hit_cmp()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
DDefaultKeyAssignments9 hit the keypad period.
36 KeyPad-Enter Shut Up (until another key is hit) and sync reading cursor

1234567