pcache 580 arch/mips/include/asm/sn/sn0/hubio.h pcache: 1, /* entry belongs to partial cache */ pcache 544 drivers/gpu/drm/amd/amdkfd/kfd_crat.c static int fill_in_pcache(struct crat_subtype_cache *pcache, pcache 570 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memset(pcache, 0, sizeof(struct crat_subtype_cache)); pcache 571 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->type = CRAT_SUBTYPE_CACHE_AFFINITY; pcache 572 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->length = sizeof(struct crat_subtype_cache); pcache 573 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->flags = pcache_info[cache_type].flags; pcache 574 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->processor_id_low = cu_processor_id pcache 576 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->cache_level = pcache_info[cache_type].cache_level; pcache 577 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->cache_size = pcache_info[cache_type].cache_size; pcache 585 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->sibling_map[0] = (uint8_t)(cu_sibling_map_mask & 0xFF); pcache 586 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->sibling_map[1] = pcache 588 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->sibling_map[2] = pcache 590 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache->sibling_map[3] = pcache 613 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct crat_subtype_cache *pcache, pcache 702 drivers/gpu/drm/amd/amdkfd/kfd_crat.c ret = fill_in_pcache(pcache, pcache 715 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcache++; pcache 718 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sizeof(*pcache); pcache 720 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sizeof(*pcache); pcache 33 drivers/mtd/maps/vmu-flash.c struct vmu_cache *pcache; pcache 117 drivers/mtd/maps/vmu-flash.c struct vmu_cache *pcache; pcache 124 drivers/mtd/maps/vmu-flash.c pcache = card->parts[partition].pcache; pcache 125 drivers/mtd/maps/vmu-flash.c pcache->valid = 0; pcache 128 drivers/mtd/maps/vmu-flash.c if (!pcache->buffer) { pcache 129 drivers/mtd/maps/vmu-flash.c pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); pcache 130 drivers/mtd/maps/vmu-flash.c if (!pcache->buffer) { pcache 208 drivers/mtd/maps/vmu-flash.c memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, pcache 211 drivers/mtd/maps/vmu-flash.c pcache->block = num; pcache 212 drivers/mtd/maps/vmu-flash.c pcache->jiffies_atc = jiffies; pcache 213 drivers/mtd/maps/vmu-flash.c pcache->valid = 1; pcache 356 drivers/mtd/maps/vmu-flash.c struct vmu_cache *pcache; pcache 372 drivers/mtd/maps/vmu-flash.c pcache = card->parts[partition].pcache; pcache 378 drivers/mtd/maps/vmu-flash.c if (pcache->valid && pcache 379 drivers/mtd/maps/vmu-flash.c time_before(jiffies, pcache->jiffies_atc + HZ) && pcache 380 drivers/mtd/maps/vmu-flash.c (pcache->block == vblock->num)) { pcache 386 drivers/mtd/maps/vmu-flash.c pcache->buffer + vblock->ofs, pcache 391 drivers/mtd/maps/vmu-flash.c memcpy(buf + index, pcache->buffer + pcache 423 drivers/mtd/maps/vmu-flash.c struct vmu_cache *pcache; pcache 469 drivers/mtd/maps/vmu-flash.c pcache = card->parts[partition].pcache; pcache 470 drivers/mtd/maps/vmu-flash.c pcache->valid = 0; pcache 505 drivers/mtd/maps/vmu-flash.c struct vmu_cache *pcache; pcache 551 drivers/mtd/maps/vmu-flash.c pcache = kzalloc(sizeof(struct vmu_cache), GFP_KERNEL); pcache 552 drivers/mtd/maps/vmu-flash.c if (!pcache) pcache 554 drivers/mtd/maps/vmu-flash.c part_cur->pcache = pcache; pcache 580 drivers/mtd/maps/vmu-flash.c kfree(((card->parts)[error]).pcache); pcache 581 drivers/mtd/maps/vmu-flash.c ((card->parts)[error]).pcache = NULL; pcache 2369 tools/perf/util/parse-events.c struct probe_cache *pcache; pcache 2389 tools/perf/util/parse-events.c pcache = probe_cache__new(nd->s, NULL); pcache 2390 tools/perf/util/parse-events.c if (!pcache) pcache 2392 tools/perf/util/parse-events.c list_for_each_entry(ent, &pcache->entries, node) { pcache 2406 tools/perf/util/parse-events.c probe_cache__delete(pcache); pcache 410 tools/perf/util/probe-file.c static int probe_cache__open(struct probe_cache *pcache, const char *target, pcache 465 tools/perf/util/probe-file.c pcache->fd = fd; pcache 470 tools/perf/util/probe-file.c static int probe_cache__load(struct probe_cache *pcache) pcache 477 tools/perf/util/probe-file.c fddup = dup(pcache->fd); pcache 511 tools/perf/util/probe-file.c list_add_tail(&entry->node, &pcache->entries); pcache 527 tools/perf/util/probe-file.c struct probe_cache *pcache = zalloc(sizeof(*pcache)); pcache 529 tools/perf/util/probe-file.c if (pcache) { pcache 530 tools/perf/util/probe-file.c INIT_LIST_HEAD(&pcache->entries); pcache 531 tools/perf/util/probe-file.c pcache->fd = -EINVAL; pcache 533 tools/perf/util/probe-file.c return pcache; pcache 536 tools/perf/util/probe-file.c void probe_cache__purge(struct probe_cache *pcache) pcache 540 tools/perf/util/probe-file.c list_for_each_entry_safe(entry, n, &pcache->entries, node) { pcache 546 tools/perf/util/probe-file.c void probe_cache__delete(struct probe_cache *pcache) pcache 548 tools/perf/util/probe-file.c if (!pcache) pcache 551 tools/perf/util/probe-file.c probe_cache__purge(pcache); pcache 552 tools/perf/util/probe-file.c if (pcache->fd > 0) pcache 553 tools/perf/util/probe-file.c close(pcache->fd); pcache 554 tools/perf/util/probe-file.c free(pcache); pcache 559 tools/perf/util/probe-file.c struct probe_cache *pcache = probe_cache__alloc(); pcache 562 tools/perf/util/probe-file.c if (!pcache) pcache 565 tools/perf/util/probe-file.c ret = probe_cache__open(pcache, target, nsi); pcache 571 tools/perf/util/probe-file.c ret = probe_cache__load(pcache); pcache 577 tools/perf/util/probe-file.c return pcache; pcache 580 tools/perf/util/probe-file.c probe_cache__delete(pcache); pcache 596 tools/perf/util/probe-file.c probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) pcache 604 tools/perf/util/probe-file.c for_each_probe_cache_entry(entry, pcache) { pcache 629 tools/perf/util/probe-file.c probe_cache__find_by_name(struct probe_cache *pcache, pcache 634 tools/perf/util/probe-file.c for_each_probe_cache_entry(entry, pcache) { pcache 646 tools/perf/util/probe-file.c int probe_cache__add_entry(struct probe_cache *pcache, pcache 654 tools/perf/util/probe-file.c if (!pcache || !pev || !tevs || ntevs <= 0) { pcache 660 tools/perf/util/probe-file.c entry = probe_cache__find(pcache, pev); pcache 681 tools/perf/util/probe-file.c list_add_tail(&entry->node, &pcache->entries); pcache 817 tools/perf/util/probe-file.c int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname) pcache 837 tools/perf/util/probe-file.c entry = probe_cache__find_by_name(pcache, sdtgrp, note->name); pcache 851 tools/perf/util/probe-file.c list_add_tail(&entry->node, &pcache->entries); pcache 912 tools/perf/util/probe-file.c int probe_cache__commit(struct probe_cache *pcache) pcache 918 tools/perf/util/probe-file.c ret = lseek(pcache->fd, 0, SEEK_SET); pcache 922 tools/perf/util/probe-file.c ret = ftruncate(pcache->fd, 0); pcache 926 tools/perf/util/probe-file.c for_each_probe_cache_entry(entry, pcache) { pcache 927 tools/perf/util/probe-file.c ret = probe_cache_entry__write(entry, pcache->fd); pcache 948 tools/perf/util/probe-file.c int probe_cache__filter_purge(struct probe_cache *pcache, pcache 953 tools/perf/util/probe-file.c list_for_each_entry_safe(entry, tmp, &pcache->entries, node) { pcache 963 tools/perf/util/probe-file.c static int probe_cache__show_entries(struct probe_cache *pcache, pcache 968 tools/perf/util/probe-file.c for_each_probe_cache_entry(entry, pcache) { pcache 978 tools/perf/util/probe-file.c struct probe_cache *pcache; pcache 992 tools/perf/util/probe-file.c pcache = probe_cache__new(nd->s, NULL); pcache 993 tools/perf/util/probe-file.c if (!pcache) pcache 995 tools/perf/util/probe-file.c if (!list_empty(&pcache->entries)) { pcache 999 tools/perf/util/probe-file.c probe_cache__show_entries(pcache, filter); pcache 1001 tools/perf/util/probe-file.c probe_cache__delete(pcache); pcache 35 tools/perf/util/probe-file.h #define for_each_probe_cache_entry(entry, pcache) \ pcache 36 tools/perf/util/probe-file.h list_for_each_entry(entry, &pcache->entries, node) pcache 56 tools/perf/util/probe-file.h int probe_cache__add_entry(struct probe_cache *pcache, pcache 59 tools/perf/util/probe-file.h int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname); pcache 60 tools/perf/util/probe-file.h int probe_cache__commit(struct probe_cache *pcache); pcache 61 tools/perf/util/probe-file.h void probe_cache__purge(struct probe_cache *pcache); pcache 62 tools/perf/util/probe-file.h void probe_cache__delete(struct probe_cache *pcache); pcache 63 tools/perf/util/probe-file.h int probe_cache__filter_purge(struct probe_cache *pcache, pcache 65 tools/perf/util/probe-file.h struct probe_cache_entry *probe_cache__find(struct probe_cache *pcache, pcache 67 tools/perf/util/probe-file.h struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache *pcache, pcache 79 tools/perf/util/probe-file.h #define probe_cache__delete(pcache) do {} while (0)