| /linux/drivers/md/dm-pcache/ |
| H A D | dm_pcache.c | 12 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 D | cache.c | 34 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_info_init() local 47 pcache_dev_err(pcache, "invalid option for data_crc: %s, expected: %s", in cache_info_init() 134 static int cache_init(struct dm_pcache *pcache) in cache_init() argument 136 struct pcache_cache *cache = &pcache->cache; in cache_init() 137 struct pcache_backing_dev *backing_dev = &pcache->backing_dev; in cache_init() 138 struct pcache_cache_dev *cache_dev = &pcache->cache_dev; in cache_init() 155 cache->cache_dev = &pcache->cache_dev; in cache_init() 195 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_tail_init() local 210 pcache_dev_err(pcache, "Corrupted key tail or dirty tail.\n"); in cache_tail_init() 222 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in get_seg_id() local [all …]
|
| H A D | Makefile | 1 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
|
| H A D | cache_segment.c | 41 struct dm_pcache *pcache = CACHE_DEV_TO_PCACHE(cache_dev); in cache_seg_info_load() local 67 pcache_dev_err(pcache, "can't read segment info of segment: %u, ret: %d\n", in cache_seg_info_load()
|
| H A D | cache_key.c | 92 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_key_decode() local 105 pcache_dev_err(pcache, "key: %llu:%u seg %u:%u data_crc error: %x, expected: %x\n", in cache_key_decode() 753 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_replay() local 790 pcache_dev_debug(pcache, "last kset replay, next: %u\n", kset_onmedia->next_cache_seg_id); in cache_replay()
|
| H A D | cache.h | 208 int pcache_cache_start(struct dm_pcache *pcache); 209 void pcache_cache_stop(struct dm_pcache *pcache);
|
| /linux/tools/perf/util/ |
| H A D | probe-file.c | 432 static int probe_cache__open(struct probe_cache *pcache, const char *target, in probe_cache__open() argument 487 pcache->fd = fd; in probe_cache__open() 492 static int probe_cache__load(struct probe_cache *pcache) in probe_cache__load() argument 499 fddup = dup(pcache->fd); in probe_cache__load() 533 list_add_tail(&entry->node, &pcache->entries); in probe_cache__load() 553 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc() local 555 if (pcache) { in probe_cache__alloc() 556 INIT_LIST_HEAD(&pcache->entries); in probe_cache__alloc() 557 pcache in probe_cache__alloc() 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 D | print-events.c | 70 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/drivers/mtd/maps/ |
| H A D | vmu-flash.c | 33 struct vmu_cache *pcache; member 117 struct vmu_cache *pcache; in maple_vmu_read_block() local 124 pcache = card->parts[partition].pcache; in maple_vmu_read_block() 125 pcache->valid = 0; in maple_vmu_read_block() 128 if (!pcache->buffer) { in maple_vmu_read_block() 129 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); in maple_vmu_read_block() 130 if (!pcache->buffer) { in maple_vmu_read_block() 208 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, in maple_vmu_read_block() 211 pcache in maple_vmu_read_block() 356 struct vmu_cache *pcache; vmu_flash_read() local 423 struct vmu_cache *pcache; vmu_flash_write() local 505 struct vmu_cache *pcache; vmu_queryblocks() local [all...] |
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_topology.c | 1623 struct kfd_cache_properties *pcache = NULL; in fill_in_l1_pcache() local 1635 pcache = kfd_alloc_struct(pcache); in fill_in_l1_pcache() 1636 if (!pcache) in fill_in_l1_pcache() 1639 memset(pcache, 0, sizeof(struct kfd_cache_properties)); in fill_in_l1_pcache() 1640 pcache->processor_id_low = cu_processor_id + (first_active_cu - 1); in fill_in_l1_pcache() 1641 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1642 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1643 pcache->cacheline_size = pcache_info[cache_type].cache_line_size; in fill_in_l1_pcache() 1646 pcache in fill_in_l1_pcache() 1688 struct kfd_cache_properties *pcache = NULL; fill_in_l2_l3_pcache() local [all...] |
| /linux/arch/riscv/kvm/ |
| H A D | mmu.c | 44 struct kvm_mmu_memory_cache pcache = { in kvm_riscv_mmu_ioremap() 66 ret = kvm_mmu_topup_memory_cache(&pcache, kvm->arch.pgd_levels); in kvm_riscv_mmu_ioremap() 71 ret = kvm_riscv_gstage_set_pte(&gstage, &pcache, &map); in kvm_riscv_mmu_ioremap() 80 kvm_mmu_free_memory_cache(&pcache); in kvm_riscv_mmu_ioremap() 547 struct kvm_mmu_memory_cache *pcache = &vcpu->arch.mmu_page_cache; in kvm_riscv_mmu_alloc_pgd() 564 ret = kvm_mmu_topup_memory_cache(pcache, kvm->arch.pgd_levels); in kvm_riscv_mmu_free_pgd() 647 ret = kvm_riscv_gstage_map_page(&gstage, pcache, gpa, hfn << PAGE_SHIFT, 650 ret = kvm_riscv_gstage_map_page(&gstage, pcache, gpa, hfn << PAGE_SHIFT, 42 struct kvm_mmu_memory_cache pcache = { kvm_riscv_mmu_ioremap() local 435 struct kvm_mmu_memory_cache *pcache = &vcpu->arch.mmu_page_cache; kvm_riscv_mmu_map() local
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | psp_v11_0.c | 470 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v11_0_memory_training() 492 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v11_0_memory_training() 501 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v11_0_memory_training() 507 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v11_0_memory_training() 508 pcache[3] == p2c_header[3])) { in psp_v11_0_memory_training() 466 uint32_t *pcache = (uint32_t *)ctx->sys_cache; psp_v11_0_memory_training() local
|
| H A D | psp_v14_0.c | 417 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v14_0_memory_training() 439 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v14_0_memory_training() 448 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v14_0_memory_training() 454 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v14_0_memory_training() 455 pcache[3] == p2c_header[3])) { in psp_v14_0_memory_training() 419 uint32_t *pcache = (uint32_t *)ctx->sys_cache; psp_v14_0_memory_training() local
|
| /linux/arch/mips/include/asm/sn/sn0/ |
| H A D | hubio.h | 580 pcache: 1, /* entry belongs to partial cache */ member
|
| /linux/ |
| H A D | MAINTAINERS | 7475 F: Documentation/admin-guide/device-mapper/dm-pcache.rst 7476 F: drivers/md/dm-pcache/
|