Home
last modified time | relevance | path

Searched refs:pcache (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dprobe-file.h35 #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 …]
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()
532 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc() local
534 if (pcache) { in probe_cache__alloc()
535 INIT_LIST_HEAD(&pcache->entries); in probe_cache__alloc()
536 pcache->fd = -EINVAL; in probe_cache__alloc()
538 return pcache; in probe_cache__alloc()
[all …]
Dparse-events.c2272 struct probe_cache *pcache; in print_sdt_events() local
2292 pcache = probe_cache__new(nd->s, NULL); in print_sdt_events()
2293 if (!pcache) in print_sdt_events()
2295 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events()
2309 probe_cache__delete(pcache); in print_sdt_events()
/Linux-v4.19/drivers/mtd/maps/
Dvmu-flash.c35 struct vmu_cache *pcache; member
119 struct vmu_cache *pcache; in maple_vmu_read_block() local
126 pcache = card->parts[partition].pcache; in maple_vmu_read_block()
127 pcache->valid = 0; in maple_vmu_read_block()
130 if (!pcache->buffer) { in maple_vmu_read_block()
131 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); in maple_vmu_read_block()
132 if (!pcache->buffer) { in maple_vmu_read_block()
210 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, in maple_vmu_read_block()
213 pcache->block = num; in maple_vmu_read_block()
214 pcache->jiffies_atc = jiffies; in maple_vmu_read_block()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c534 static int fill_in_pcache(struct crat_subtype_cache *pcache, in fill_in_pcache() argument
560 memset(pcache, 0, sizeof(struct crat_subtype_cache)); in fill_in_pcache()
561 pcache->type = CRAT_SUBTYPE_CACHE_AFFINITY; in fill_in_pcache()
562 pcache->length = sizeof(struct crat_subtype_cache); in fill_in_pcache()
563 pcache->flags = pcache_info[cache_type].flags; in fill_in_pcache()
564 pcache->processor_id_low = cu_processor_id in fill_in_pcache()
566 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache()
567 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache()
575 pcache->sibling_map[0] = (uint8_t)(cu_sibling_map_mask & 0xFF); in fill_in_pcache()
576 pcache->sibling_map[1] = in fill_in_pcache()
[all …]
/Linux-v4.19/arch/mips/include/asm/sn/sn0/
Dhubio.h580 pcache: 1, /* entry belongs to partial cache */ member