| /linux-6.15/tools/perf/util/ |
| H A D | probe-file.h | 35 #define for_each_probe_cache_entry(entry, pcache) \ argument 36 list_for_each_entry(entry, &pcache->entries, node) 55 int probe_cache__add_entry(struct probe_cache *pcache, 58 int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname); 59 int probe_cache__commit(struct probe_cache *pcache); 60 void probe_cache__purge(struct probe_cache *pcache); 61 void probe_cache__delete(struct probe_cache *pcache); 62 int probe_cache__filter_purge(struct probe_cache *pcache, 64 struct probe_cache_entry *probe_cache__find(struct probe_cache *pcache, 66 struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache *pcache, [all …]
|
| H A D | probe-file.c | 486 pcache->fd = fd; in probe_cache__open() 552 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc() local 554 if (pcache) { in probe_cache__alloc() 558 return pcache; in probe_cache__alloc() 573 if (!pcache) in probe_cache__delete() 577 if (pcache->fd > 0) in probe_cache__delete() 578 close(pcache->fd); in probe_cache__delete() 579 free(pcache); in probe_cache__delete() 587 if (!pcache) in probe_cache__new() 602 return pcache; in probe_cache__new() [all …]
|
| H A D | print-events.c | 161 struct probe_cache *pcache; in print_sdt_events() local 164 pcache = probe_cache__new(bid_nd->s, NULL); in print_sdt_events() 165 if (!pcache) in print_sdt_events() 167 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events() 174 probe_cache__delete(pcache); in print_sdt_events()
|
| /linux-6.15/drivers/mtd/maps/ |
| H A D | vmu-flash.c | 33 struct vmu_cache *pcache; member 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() 211 pcache->block = num; in maple_vmu_read_block() 213 pcache->valid = 1; in maple_vmu_read_block() 372 pcache = card->parts[partition].pcache; in vmu_flash_read() 469 pcache = card->parts[partition].pcache; in vmu_flash_write() 470 pcache->valid = 0; in vmu_flash_write() 552 if (!pcache) in vmu_queryblocks() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_topology.c | 1620 pcache = kfd_alloc_struct(pcache); in fill_in_l1_pcache() 1621 if (!pcache) in fill_in_l1_pcache() 1646 pcache->sibling_map[1] = in fill_in_l1_pcache() 1648 pcache->sibling_map[2] = in fill_in_l1_pcache() 1650 pcache->sibling_map[3] = in fill_in_l1_pcache() 1653 pcache->sibling_map_size = 4; in fill_in_l1_pcache() 1654 *props_ext = pcache; in fill_in_l1_pcache() 1704 pcache = kfd_alloc_struct(pcache); in fill_in_l2_l3_pcache() 1705 if (!pcache) in fill_in_l2_l3_pcache() 1724 pcache->cache_size /= mode; in fill_in_l2_l3_pcache() [all …]
|
| /linux-6.15/arch/riscv/kvm/ |
| H A 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 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() 607 ret = kvm_mmu_topup_memory_cache(pcache, gstage_pgd_levels); in kvm_riscv_gstage_map() 674 ret = gstage_map_page(kvm, pcache, gpa, hfn << PAGE_SHIFT, in kvm_riscv_gstage_map() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | psp_v11_0.c | 447 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v11_0_memory_training() local 469 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v11_0_memory_training() 478 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v11_0_memory_training() 484 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v11_0_memory_training() 485 pcache[3] == p2c_header[3])) { in psp_v11_0_memory_training()
|
| H A D | psp_v14_0.c | 412 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v14_0_memory_training() local 434 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v14_0_memory_training() 443 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v14_0_memory_training() 449 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v14_0_memory_training() 450 pcache[3] == p2c_header[3])) { in psp_v14_0_memory_training()
|
| H A D | psp_v13_0.c | 524 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v13_0_memory_training() local 546 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v13_0_memory_training() 555 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v13_0_memory_training() 561 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v13_0_memory_training() 562 pcache[3] == p2c_header[3])) { in psp_v13_0_memory_training()
|
| /linux-6.15/arch/mips/include/asm/sn/sn0/ |
| H A D | hubio.h | 580 pcache: 1, /* entry belongs to partial cache */ member
|