Lines Matching refs:cache
37 /* A single-entry mapped section cache.
39 * The cached section is implicitly mapped and unmapped. The cache is not
45 * The cache is valid if and only if @msec.section is not NULL.
48 * release the cached section and to invalidate the cache.
56 /* Initialize the cache. */
57 extern int pt_msec_cache_init(struct pt_msec_cache *cache);
59 /* Finalize the cache. */
60 extern void pt_msec_cache_fini(struct pt_msec_cache *cache);
62 /* Invalidate the cache. */
63 extern int pt_msec_cache_invalidate(struct pt_msec_cache *cache);
67 * If @cache is not empty and @image would find it when looking up @vaddr in
71 * The provided pointer remains valid until @cache is invalidated.
75 extern int pt_msec_cache_read(struct pt_msec_cache *cache,
79 /* Fill the cache.
81 * Look up @vaddr in @asid in @image and cache as well as provide the found
84 * Invalidates @cache.
86 * The provided pointer remains valid until @cache is invalidated.
90 extern int pt_msec_cache_fill(struct pt_msec_cache *cache,