/linux-6.6.21/tools/perf/util/ |
D | probe-file.h | 35 #define for_each_probe_cache_entry(entry, pcache) \ argument 36 list_for_each_entry(entry, &pcache->entries, node) 56 int probe_cache__add_entry(struct probe_cache *pcache, 59 int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname); 60 int probe_cache__commit(struct probe_cache *pcache); 61 void probe_cache__purge(struct probe_cache *pcache); 62 void probe_cache__delete(struct probe_cache *pcache); 63 int probe_cache__filter_purge(struct probe_cache *pcache, 65 struct probe_cache_entry *probe_cache__find(struct probe_cache *pcache, 67 struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache *pcache, [all …]
|
D | probe-file.c | 450 static int probe_cache__open(struct probe_cache *pcache, const char *target, in probe_cache__open() argument 505 pcache->fd = fd; in probe_cache__open() 510 static int probe_cache__load(struct probe_cache *pcache) in probe_cache__load() argument 517 fddup = dup(pcache->fd); in probe_cache__load() 551 list_add_tail(&entry->node, &pcache->entries); in probe_cache__load() 571 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc() local 573 if (pcache) { in probe_cache__alloc() 574 INIT_LIST_HEAD(&pcache->entries); in probe_cache__alloc() 575 pcache->fd = -EINVAL; in probe_cache__alloc() 577 return pcache; in probe_cache__alloc() [all …]
|
D | print-events.c | 164 struct probe_cache *pcache; in print_sdt_events() local 167 pcache = probe_cache__new(bid_nd->s, NULL); in print_sdt_events() 168 if (!pcache) in print_sdt_events() 170 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events() 177 probe_cache__delete(pcache); in print_sdt_events()
|
/linux-6.6.21/drivers/mtd/maps/ |
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-6.6.21/arch/riscv/kvm/ |
D | mmu.c | 138 struct kvm_mmu_memory_cache *pcache, in gstage_set_pte() argument 153 if (!pcache) in gstage_set_pte() 155 next_ptep = kvm_mmu_memory_cache_alloc(pcache); in gstage_set_pte() 178 struct kvm_mmu_memory_cache *pcache, in gstage_map_page() argument 219 return gstage_set_pte(kvm, level, pcache, gpa, &new_pte); in gstage_map_page() 354 struct kvm_mmu_memory_cache pcache = { in kvm_riscv_gstage_ioremap() local 368 ret = kvm_mmu_topup_memory_cache(&pcache, gstage_pgd_levels); in kvm_riscv_gstage_ioremap() 373 ret = gstage_set_pte(kvm, 0, &pcache, addr, &pte); in kvm_riscv_gstage_ioremap() 382 kvm_mmu_free_memory_cache(&pcache); in kvm_riscv_gstage_ioremap() 620 struct kvm_mmu_memory_cache *pcache = &vcpu->arch.mmu_page_cache; in kvm_riscv_gstage_map() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 1548 struct kfd_cache_properties *pcache = NULL; in fill_in_l1_pcache() local 1560 pcache = kfd_alloc_struct(pcache); in fill_in_l1_pcache() 1561 if (!pcache) in fill_in_l1_pcache() 1564 memset(pcache, 0, sizeof(struct kfd_cache_properties)); in fill_in_l1_pcache() 1565 pcache->processor_id_low = cu_processor_id + (first_active_cu - 1); in fill_in_l1_pcache() 1566 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1567 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1570 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache() 1572 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l1_pcache() 1574 pcache->cache_type |= HSA_CACHE_TYPE_CPU; in fill_in_l1_pcache() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | psp_v11_0.c | 446 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v11_0_memory_training() local 468 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v11_0_memory_training() 477 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v11_0_memory_training() 483 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v11_0_memory_training() 484 pcache[3] == p2c_header[3])) { in psp_v11_0_memory_training()
|
D | psp_v13_0.c | 482 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v13_0_memory_training() local 504 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v13_0_memory_training() 513 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v13_0_memory_training() 519 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v13_0_memory_training() 520 pcache[3] == p2c_header[3])) { in psp_v13_0_memory_training()
|
/linux-6.6.21/arch/mips/include/asm/sn/sn0/ |
D | hubio.h | 580 pcache: 1, /* entry belongs to partial cache */ member
|