Home
last modified time | relevance | path

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

12345678910

/openbmc/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 …]
/openbmc/linux/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()
360 if (!(hit + missed)) { in ring_buffer_producer()
362 hit--; /* make it non zero */ in ring_buffer_producer()
[all …]
/openbmc/linux/tools/perf/util/
H A 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()
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()
662 new->hit = period; in add_child()
821 new->hit = parent->hit; in split_add_child()
837 parent->hit = 0; in split_add_child()
974 root->hit += period; in append_chain()
1032 if (src->hit) { in merge_chain_branch()
1207 period = node->hit; in callchain_node__scnprintf_value()
1236 period = node->hit; in callchain_node__fprintf_value()
1522 node->hit = (node->hit * 7) / 8; in decay_callchain_node()
[all …]
/openbmc/linux/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 …]
/openbmc/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()
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 …]
/openbmc/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()
/openbmc/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()
/openbmc/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
/openbmc/qemu/target/microblaze/
H A Dmmu.c81 unsigned int i, hit = 0; in mmu_translate() local
166 hit = 1; in mmu_translate()
173 vaddr, rw, tlb_wr, tlb_ex, hit); in mmu_translate()
174 return hit; in mmu_translate()
299 int hit; in mmu_write() local
307 hit = mmu_translate(cpu, &lu, v & TLB_EPN_MASK, in mmu_write()
309 if (hit) { in mmu_write()
H A Dhelper.c45 unsigned int hit; in mb_cpu_tlb_fill() local
60 hit = mmu_translate(cpu, &lu, address, access_type, mmu_idx); in mb_cpu_tlb_fill()
61 if (likely(hit)) { in mb_cpu_tlb_fill()
235 unsigned int hit; in mb_cpu_get_phys_page_attrs_debug() local
242 hit = mmu_translate(cpu, &lu, addr, 0, 0); in mb_cpu_get_phys_page_attrs_debug()
243 if (hit) { in mb_cpu_get_phys_page_attrs_debug()
/openbmc/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()
/openbmc/u-boot/lib/efi_loader/
H A Defi_unicode_collation.c132 bool hit = false; in metai_match() local
135 hit = true; in metai_match()
138 hit = true; in metai_match()
140 if (!hit || *p != ']') in metai_match()
/openbmc/linux/tools/perf/Documentation/
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,
/openbmc/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()
/openbmc/qemu/target/nios2/
H A Dhelper.c268 unsigned int hit; in nios2_cpu_get_phys_page_debug() local
271 hit = mmu_translate(env, &lu, addr, 0, 0); in nios2_cpu_get_phys_page_debug()
272 if (hit) { in nios2_cpu_get_phys_page_debug()
307 unsigned int hit; in nios2_cpu_tlb_fill() local
339 hit = mmu_translate(env, &lu, address, access_type, mmu_idx); in nios2_cpu_tlb_fill()
340 if (hit) { in nios2_cpu_tlb_fill()
/openbmc/qemu/hw/arm/
H A Dtrace-events18 …, uint64_t addr, uint32_t hit, uint32_t miss, uint32_t p) "IOTLB cache HIT asid=%d vmid=%d addr=0x…
19 …, uint64_t addr, uint32_t hit, uint32_t miss, uint32_t p) "IOTLB cache MISS asid=%d vmid=%d addr=0…
47 …, uint32_t misses, uint32_t perc) "Config cache HIT for sid=0x%x (hits=%d, misses=%d, hit rate=%d)"
48 … uint32_t misses, uint32_t perc) "Config cache MISS for sid=0x%x (hits=%d, misses=%d, hit rate=%d)"
/openbmc/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()
/openbmc/linux/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()
/openbmc/linux/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";
114 compatible = "hit,hd44780";
/openbmc/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()
/openbmc/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()
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dbpt_helper.c280 int i, hit = 0; in helper_bpt_io() local
288 hit |= 1 << i; in helper_bpt_io()
293 if (hit) { in helper_bpt_io()
294 env->dr[6] = (env->dr[6] & ~0xf) | hit; in helper_bpt_io()
/openbmc/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 …]
/openbmc/linux/Documentation/netlink/specs/
H A Dovs_datapath.yaml42 name: n-hit
59 name: n-mask-hit
68 name: n-cache-hit

12345678910