| /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->fd = -EINVAL; in probe_cache__alloc() 559 return pcache; in probe_cache__alloc() [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->block = num; in maple_vmu_read_block() 212 pcache->jiffies_atc = jiffies; in maple_vmu_read_block() [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->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache() 1648 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l1_pcache() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | psp_v14_0.c | 419 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v14_0_memory_training() local 441 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v14_0_memory_training() 450 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v14_0_memory_training() 456 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v14_0_memory_training() 457 pcache[3] == p2c_header[3])) { in psp_v14_0_memory_training()
|
| H A D | psp_v13_0.c | 560 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v13_0_memory_training() local 582 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v13_0_memory_training() 591 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v13_0_memory_training() 597 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v13_0_memory_training() 598 pcache[3] == p2c_header[3])) { in psp_v13_0_memory_training()
|
| /linux/arch/riscv/include/asm/ |
| H A D | kvm_gstage.h | 47 struct kvm_mmu_memory_cache *pcache, 51 struct kvm_mmu_memory_cache *pcache,
|
| /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 | 7376 F: Documentation/admin-guide/device-mapper/dm-pcache.rst 7377 F: drivers/md/dm-pcache/
|