Home
last modified time | relevance | path

Searched refs:pcache (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/md/dm-pcache/
H A Ddm_pcache.c12 void pcache_defer_reqs_kick(struct dm_pcache *pcache) in pcache_defer_reqs_kick() argument
14 struct pcache_cache *cache = &pcache->cache; in pcache_defer_reqs_kick()
18 queue_work(pcache->task_wq, &pcache->defered_req_work); in pcache_defer_reqs_kick()
24 struct dm_pcache *pcache = pcache_req->pcache; in defer_req() local
28 spin_lock(&pcache->defered_req_list_lock); in defer_req()
29 list_add(&pcache_req->list_node, &pcache->defered_req_list); in defer_req()
30 pcache_defer_reqs_kick(pcache); in defer_req()
31 spin_unlock(&pcache->defered_req_list_lock); in defer_req()
36 struct dm_pcache *pcache = container_of(work, struct dm_pcache, defered_req_work); in defered_req_fn() local
41 if (pcache_is_stopping(pcache)) in defered_req_fn()
[all …]
H A DMakefile1 dm-pcache-y := dm_pcache.o cache_dev.o segment.o backing_dev.o cache.o cache_gc.o cache_writeback.o…
3 obj-$(CONFIG_DM_PCACHE) += dm-pcache.o
/linux/tools/perf/util/
H A Dprobe-file.c434 static int probe_cache__open(struct probe_cache *pcache, const char *target, in probe_cache__open()
489 pcache->fd = fd; in probe_cache__open()
494 static int probe_cache__load(struct probe_cache *pcache) in probe_cache__load()
501 fddup = dup(pcache->fd); in probe_cache__load()
535 list_add_tail(&entry->node, &pcache->entries); in probe_cache__load()
555 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc()
557 if (pcache) { in probe_cache__alloc()
558 INIT_LIST_HEAD(&pcache->entries); in probe_cache__alloc()
559 pcache in probe_cache__alloc()
432 probe_cache__open(struct probe_cache * pcache,const char * target,struct nsinfo * nsi) probe_cache__open() argument
492 probe_cache__load(struct probe_cache * pcache) probe_cache__load() argument
553 struct probe_cache *pcache = zalloc(sizeof(*pcache)); probe_cache__alloc() local
562 probe_cache__purge(struct probe_cache * pcache) probe_cache__purge() argument
572 probe_cache__delete(struct probe_cache * pcache) probe_cache__delete() argument
585 struct probe_cache *pcache = probe_cache__alloc(); probe_cache__new() local
622 probe_cache__find(struct probe_cache * pcache,struct perf_probe_event * pev) probe_cache__find() argument
655 probe_cache__find_by_name(struct probe_cache * pcache,const char * group,const char * event) probe_cache__find_by_name() argument
672 probe_cache__add_entry(struct probe_cache * pcache,struct perf_probe_event * pev,struct probe_trace_event * tevs,int ntevs) probe_cache__add_entry() argument
889 probe_cache__scan_sdt(struct probe_cache * pcache,const char * pathname) probe_cache__scan_sdt() argument
990 probe_cache__commit(struct probe_cache * pcache) probe_cache__commit() argument
1026 probe_cache__filter_purge(struct probe_cache * pcache,struct strfilter * filter) probe_cache__filter_purge() argument
1041 probe_cache__show_entries(struct probe_cache * pcache,struct strfilter * filter) probe_cache__show_entries() argument
1056 struct probe_cache *pcache; probe_cache__show_all_caches() local
[all...]
H A Dprint-events.c70 struct probe_cache *pcache; in print_sdt_events() local
73 pcache = probe_cache__new(bid_nd->s, NULL); in print_sdt_events()
74 if (!pcache) in print_sdt_events()
76 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events()
83 probe_cache__delete(pcache); in print_sdt_events()
/linux/arch/riscv/kvm/
H A Dgstage.c143 struct kvm_mmu_memory_cache *pcache, in kvm_riscv_gstage_set_pte() argument
158 if (!pcache) in kvm_riscv_gstage_set_pte()
160 next_ptep = kvm_mmu_memory_cache_alloc(pcache); in kvm_riscv_gstage_set_pte()
208 struct kvm_mmu_memory_cache *pcache, in kvm_riscv_gstage_map_page() argument
279 kvm_riscv_gstage_split_huge(gstage, pcache, gpa, in kvm_riscv_gstage_map_page()
290 return kvm_riscv_gstage_set_pte(gstage, pcache, out_map); in kvm_riscv_gstage_map_page()
311 struct kvm_mmu_memory_cache *pcache, in kvm_riscv_gstage_split_huge() argument
321 if (!pcache) in kvm_riscv_gstage_split_huge()
342 next_ptep = kvm_mmu_memory_cache_alloc(pcache); in kvm_riscv_gstage_split_huge()
H A Dmmu.c45 struct kvm_mmu_memory_cache pcache = { in kvm_riscv_mmu_ioremap() local
67 ret = __kvm_mmu_topup_memory_cache(&pcache, pgd_levels, pgd_levels); in kvm_riscv_mmu_ioremap()
72 ret = kvm_riscv_gstage_set_pte(&gstage, &pcache, &map); in kvm_riscv_mmu_ioremap()
81 kvm_mmu_free_memory_cache(&pcache); in kvm_riscv_mmu_ioremap()
548 struct kvm_mmu_memory_cache *pcache = &vcpu->arch.mmu_page_cache; in kvm_riscv_mmu_map() local
565 ret = kvm_mmu_topup_memory_cache(pcache, kvm->arch.pgd_levels); in kvm_riscv_mmu_map()
648 ret = kvm_riscv_gstage_map_page(&gstage, pcache, gpa, hfn << PAGE_SHIFT, in kvm_riscv_mmu_map()
651 ret = kvm_riscv_gstage_map_page(&gstage, pcache, gpa, hfn << PAGE_SHIFT, in kvm_riscv_mmu_map()
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubio.h580 pcache: 1, /* entry belongs to partial cache */ member
/linux/
H A DMAINTAINERS7517 F: Documentation/admin-guide/device-mapper/dm-pcache.rst
7518 F: drivers/md/dm-pcache/