/openbmc/qemu/block/ |
H A D | qed-l2-cache.c | 64 void qed_init_l2_cache(L2TableCache *l2_cache) in qed_init_l2_cache() argument 66 QTAILQ_INIT(&l2_cache->entries); in qed_init_l2_cache() 67 l2_cache->n_entries = 0; in qed_init_l2_cache() 73 void qed_free_l2_cache(L2TableCache *l2_cache) in qed_free_l2_cache() argument 77 QTAILQ_FOREACH_SAFE(entry, &l2_cache->entries, node, next_entry) { in qed_free_l2_cache() 90 CachedL2Table *qed_alloc_l2_cache_entry(L2TableCache *l2_cache) in qed_alloc_l2_cache_entry() argument 97 trace_qed_alloc_l2_cache_entry(l2_cache, entry); in qed_alloc_l2_cache_entry() 131 CachedL2Table *qed_find_l2_cache_entry(L2TableCache *l2_cache, uint64_t offset) in qed_find_l2_cache_entry() argument 135 QTAILQ_FOREACH(entry, &l2_cache->entries, node) { in qed_find_l2_cache_entry() 137 trace_qed_find_l2_cache_entry(l2_cache, entry, offset, entry->ref); in qed_find_l2_cache_entry() [all …]
|
H A D | qed.h | 162 L2TableCache l2_cache; /* l2 table cache */ member 193 void qed_init_l2_cache(L2TableCache *l2_cache); 194 void qed_free_l2_cache(L2TableCache *l2_cache); 195 CachedL2Table *qed_alloc_l2_cache_entry(L2TableCache *l2_cache); 197 CachedL2Table *qed_find_l2_cache_entry(L2TableCache *l2_cache, uint64_t offset); 198 void qed_commit_l2_cache_entry(L2TableCache *l2_cache, CachedL2Table *l2_table);
|
H A D | qed-table.c | 145 request->l2_table = qed_find_l2_cache_entry(&s->l2_cache, offset); in qed_read_l2_table() 150 request->l2_table = qed_alloc_l2_cache_entry(&s->l2_cache); in qed_read_l2_table() 163 qed_commit_l2_cache_entry(&s->l2_cache, request->l2_table); in qed_read_l2_table() 168 request->l2_table = qed_find_l2_cache_entry(&s->l2_cache, offset); in qed_read_l2_table()
|
H A D | qcow.c | 81 uint64_t *l2_cache; member 275 s->l2_cache = in qcow_open() 278 if (s->l2_cache == NULL) { in qcow_open() 325 qemu_vfree(s->l2_cache); in qcow_open() 404 l2_table = s->l2_cache + (i << s->l2_bits); in get_cluster_offset() 417 l2_table = s->l2_cache + (min_index << s->l2_bits); in get_cluster_offset() 803 qemu_vfree(s->l2_cache); in qcow_close() 1045 memset(s->l2_cache, 0, s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t)); in qcow_make_empty()
|
H A D | qed.c | 248 CachedL2Table *l2_table = qed_alloc_l2_cache_entry(&s->l2_cache); in qed_new_l2_table() 516 qed_init_l2_cache(&s->l2_cache); in bdrv_qed_do_open() 547 qed_free_l2_cache(&s->l2_cache); in bdrv_qed_do_open() 630 qed_free_l2_cache(&s->l2_cache); in bdrv_qed_do_close() 1017 qed_commit_l2_cache_entry(&s->l2_cache, l2_table); in qed_aio_write_l1_update() 1022 acb->request.l2_table = qed_find_l2_cache_entry(&s->l2_cache, l2_offset); in qed_aio_write_l1_update()
|
H A D | trace-events | 112 qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p" 114 qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %…
|
H A D | vmdk.c | 157 void *l2_cache; member 278 g_free(e->l2_cache); in vmdk_free_extents() 652 extent->l2_cache = in vmdk_init_tables() 1651 l2_table = (char *)extent->l2_cache + (i * l2_size_bytes); in get_cluster_offset() 1664 l2_table = (char *)extent->l2_cache + (min_index * l2_size_bytes); in get_cluster_offset()
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_device.c | 53 LIMA_IP_DESC(l2_cache0, true, true, 0x01000, 0x10000, l2_cache, NULL), 54 LIMA_IP_DESC(l2_cache1, false, true, -1, 0x01000, l2_cache, NULL), 55 LIMA_IP_DESC(l2_cache2, false, false, -1, 0x11000, l2_cache, NULL), 283 pipe->l2_cache[pipe->num_l2_cache++] = dev->ip + lima_ip_l2_cache0; in lima_init_gp_pipe() 318 struct lima_ip *l2_cache; in lima_init_pp_pipe() local 321 l2_cache = dev->ip + lima_ip_l2_cache0; in lima_init_pp_pipe() 323 l2_cache = dev->ip + lima_ip_l2_cache1 + (i >> 2); in lima_init_pp_pipe() 325 if (pp->present && ppmmu->present && l2_cache->present) { in lima_init_pp_pipe() 328 if (!pipe->l2_cache[i >> 2]) in lima_init_pp_pipe() 329 pipe->l2_cache[pipe->num_l2_cache++] = l2_cache; in lima_init_pp_pipe()
|
H A D | lima_sched.h | 61 struct lima_ip *l2_cache[LIMA_SCHED_PIPE_MAX_L2_CACHE]; member
|
H A D | lima_sched.c | 249 lima_l2_cache_flush(pipe->l2_cache[i]); in lima_sched_run_job() 475 lima_l2_cache_flush(pipe->l2_cache[i]); in lima_sched_recover_work()
|
/openbmc/qemu/contrib/plugins/ |
H A D | cache.c | 612 Cache *icache, *dcache, *l2_cache; in log_stats() local 628 l2_cache = use_l2 ? l2_ucaches[i] : NULL; in log_stats() 631 l2_cache ? l2_cache->accesses : 0, in log_stats() 632 l2_cache ? l2_cache->misses : 0); in log_stats() 640 l2_cache ? l2_mem_accesses : 0, l2_cache ? l2_misses : 0); in log_stats()
|
/openbmc/linux/arch/riscv/boot/dts/thead/ |
H A D | th1520.dtsi | 30 next-level-cache = <&l2_cache>; 51 next-level-cache = <&l2_cache>; 72 next-level-cache = <&l2_cache>; 93 next-level-cache = <&l2_cache>; 103 l2_cache: l2-cache { label
|
/openbmc/linux/arch/arm/mach-socfpga/ |
H A D | Makefile | 9 obj-$(CONFIG_EDAC_ALTERA_L2C) += l2_cache.o
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | smp.c | 1410 struct device_node *l2_cache, *np; in update_mask_by_l2() local 1438 l2_cache = cpu_to_l2cache(cpu); in update_mask_by_l2() 1439 if (!l2_cache || !*mask) { in update_mask_by_l2() 1463 if (np == l2_cache) { in update_mask_by_l2() 1472 of_node_put(l2_cache); in update_mask_by_l2()
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 223 u32 l2_cache; in rzn1_set_hw_pin_func() local 263 l2_cache = l2; in rzn1_set_hw_pin_func() 278 if (l1 != l1_cache || l2 != l2_cache) { in rzn1_set_hw_pin_func()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | cacheinfo.c | 199 union l2_cache { union 252 union l2_cache l2; in amd_cpuid4()
|
/openbmc/qemu/target/i386/ |
H A D | cpu.c | 2103 .l2_cache = &(CPUCacheInfo) { 2157 .l2_cache = &(CPUCacheInfo) { 2211 .l2_cache = &(CPUCacheInfo) { 2265 .l2_cache = &(CPUCacheInfo) { 2319 .l2_cache = &(CPUCacheInfo) { 2373 .l2_cache = &(CPUCacheInfo) { 2427 .l2_cache = &(CPUCacheInfo) { 6575 (cpuid2_cache_descriptor(env->cache_info_cpuid2.l2_cache)); in cpu_x86_cpuid() 6621 encode_cache_cpuid4(env->cache_info_cpuid4.l2_cache, in cpu_x86_cpuid() 7018 encode_cache_cpuid80000006(env->cache_info_amd.l2_cache, in cpu_x86_cpuid() [all …]
|
H A D | cpu.h | 1727 CPUCacheInfo *l2_cache; member
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |