Home
last modified time | relevance | path

Searched refs:pcache (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
H A Dprobe-file.h35 #define for_each_probe_cache_entry(entry, pcache) \
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...]
H A Dprobe-file.c415 static int probe_cache__open(struct probe_cache *pcache, const char *target, in probe_cache__open() argument
470 pcache->fd = fd; in probe_cache__open()
475 static int probe_cache__load(struct probe_cache *pcache) in probe_cache__load() argument
482 fddup = dup(pcache->fd); in probe_cache__load()
516 list_add_tail(&entry->node, &pcache->entries); in probe_cache__load()
536 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc() local
538 if (pcache) { in probe_cache__alloc()
539 INIT_LIST_HEAD(&pcache->entries); in probe_cache__alloc()
540 pcache in probe_cache__alloc()
545 probe_cache__purge(struct probe_cache *pcache) probe_cache__purge() argument
555 probe_cache__delete(struct probe_cache *pcache) probe_cache__delete() argument
568 struct probe_cache *pcache = probe_cache__alloc(); probe_cache__new() local
605 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) probe_cache__find() argument
638 probe_cache__find_by_name(struct probe_cache *pcache, const char *group, const char *event) probe_cache__find_by_name() argument
655 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
838 probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname) probe_cache__scan_sdt() argument
939 probe_cache__commit(struct probe_cache *pcache) probe_cache__commit() argument
975 probe_cache__filter_purge(struct probe_cache *pcache, struct strfilter *filter) probe_cache__filter_purge() argument
990 probe_cache__show_entries(struct probe_cache *pcache, struct strfilter *filter) probe_cache__show_entries() argument
1005 struct probe_cache *pcache; probe_cache__show_all_caches() local
[all...]
H A Dparse-events.c2633 struct probe_cache *pcache; in print_sdt_events() local
2653 pcache = probe_cache__new(nd->s, NULL); in print_sdt_events()
2654 if (!pcache) in print_sdt_events()
2656 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events()
2670 probe_cache__delete(pcache); in print_sdt_events()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dprobe-file.h35 #define for_each_probe_cache_entry(entry, pcache) \
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...]
H A Dprobe-file.c450 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 in probe_cache__alloc()
580 probe_cache__purge(struct probe_cache *pcache) probe_cache__purge() argument
590 probe_cache__delete(struct probe_cache *pcache) probe_cache__delete() argument
603 struct probe_cache *pcache = probe_cache__alloc(); probe_cache__new() local
640 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) probe_cache__find() argument
673 probe_cache__find_by_name(struct probe_cache *pcache, const char *group, const char *event) probe_cache__find_by_name() argument
690 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
907 probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname) probe_cache__scan_sdt() argument
1008 probe_cache__commit(struct probe_cache *pcache) probe_cache__commit() argument
1044 probe_cache__filter_purge(struct probe_cache *pcache, struct strfilter *filter) probe_cache__filter_purge() argument
1059 probe_cache__show_entries(struct probe_cache *pcache, struct strfilter *filter) probe_cache__show_entries() argument
1074 struct probe_cache *pcache; probe_cache__show_all_caches() local
[all...]
H A Dprint-events.c164 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()
/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dvmu-flash.c33 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...]
/kernel/linux/linux-6.6/drivers/mtd/maps/
H A Dvmu-flash.c33 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...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c1548 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 in fill_in_l1_pcache()
1610 struct kfd_cache_properties *pcache = NULL; fill_in_l2_l3_pcache() local
[all...]
/kernel/linux/linux-6.6/arch/riscv/kvm/
H A Dmmu.c138 struct kvm_mmu_memory_cache *pcache, in gstage_set_pte()
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()
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 in kvm_riscv_gstage_map() local
137 gstage_set_pte(struct kvm *kvm, u32 level, struct kvm_mmu_memory_cache *pcache, gpa_t addr, const pte_t *new_pte) gstage_set_pte() argument
177 gstage_map_page(struct kvm *kvm, struct kvm_mmu_memory_cache *pcache, gpa_t gpa, phys_addr_t hpa, unsigned long page_size, bool page_rdonly, bool page_exec) gstage_map_page() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v11_0.c446 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()
H A Dpsp_v13_0.c482 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c548 static int fill_in_pcache(struct crat_subtype_cache *pcache, in fill_in_pcache() argument
574 memset(pcache, 0, sizeof(struct crat_subtype_cache)); in fill_in_pcache()
575 pcache->type = CRAT_SUBTYPE_CACHE_AFFINITY; in fill_in_pcache()
576 pcache->length = sizeof(struct crat_subtype_cache); in fill_in_pcache()
577 pcache->flags = pcache_info[cache_type].flags; in fill_in_pcache()
578 pcache->processor_id_low = cu_processor_id in fill_in_pcache()
580 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache()
581 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache()
589 pcache->sibling_map[0] = (uint8_t)(cu_sibling_map_mask & 0xFF); in fill_in_pcache()
590 pcache in fill_in_pcache()
613 kfd_fill_gpu_cache_info(struct kfd_dev *kdev, int gpu_processor_id, int available_size, struct kfd_cu_info *cu_info, struct crat_subtype_cache *pcache, int *size_filled, int *num_of_entries) kfd_fill_gpu_cache_info() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v11_0.c618 uint32_t *pcache = (uint32_t*)ctx->sys_cache; in psp_v11_0_memory_training() local
640 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v11_0_memory_training()
649 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v11_0_memory_training()
655 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v11_0_memory_training()
656 pcache[3] == p2c_header[3])) { in psp_v11_0_memory_training()
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/sn0/
H A Dhubio.h580 pcache: 1, /* entry belongs to partial cache */ member
/kernel/linux/linux-6.6/arch/mips/include/asm/sn/sn0/
H A Dhubio.h580 pcache: 1, /* entry belongs to partial cache */ member

Completed in 21 milliseconds