Searched refs:auxtrace_cache (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | auxtrace.h | 455 struct auxtrace_cache; 558 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, 560 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache); 561 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c); 562 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry); 563 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, 565 void auxtrace_cache__remove(struct auxtrace_cache *c, u32 key); 566 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key);
|
| H A D | dso.h | 250 struct auxtrace_cache; 275 struct auxtrace_cache *auxtrace_cache; in DECLARE_RC_STRUCT() local 406 static inline struct auxtrace_cache *dso__auxtrace_cache(struct dso *dso) in dso__auxtrace_cache() 408 return RC_CHK_ACCESS(dso)->auxtrace_cache; in dso__auxtrace_cache() 411 static inline void dso__set_auxtrace_cache(struct dso *dso, struct auxtrace_cache *cache) in dso__set_auxtrace_cache() 413 RC_CHK_ACCESS(dso)->auxtrace_cache = cache; in dso__set_auxtrace_cache()
|
| H A D | auxtrace.c | 2049 struct auxtrace_cache { struct 2058 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument 2061 struct auxtrace_cache *c; in auxtrace_cache__new() 2065 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new() 2091 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop() 2110 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free() 2120 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry() 2125 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry() 2131 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, in auxtrace_cache__add() 2143 static struct auxtrace_cache_entry *auxtrace_cache__rm(struct auxtrace_cache *c, in auxtrace_cache__rm() [all …]
|
| H A D | intel-pt.c | 597 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache() 600 struct auxtrace_cache *c; in intel_pt_cache() 620 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add() 650 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup() 661 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_invalidate()
|
| H A D | dso.c | 1695 auxtrace_cache__free(RC_CHK_ACCESS(dso)->auxtrace_cache); in dso__delete()
|