Home
last modified time | relevance | path

Searched refs:sharded_mutex (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dsharded_mutex.h15 struct sharded_mutex { struct
21 struct sharded_mutex *sharded_mutex__new(size_t num_shards); argument
22 void sharded_mutex__delete(struct sharded_mutex *sm);
24 static inline struct mutex *sharded_mutex__get_mutex(struct sharded_mutex *sm, size_t hash) in sharded_mutex__get_mutex()
Dsharded_mutex.c6 struct sharded_mutex *sharded_mutex__new(size_t num_shards) in sharded_mutex__new()
8 struct sharded_mutex *result; in sharded_mutex__new()
27 void sharded_mutex__delete(struct sharded_mutex *sm) in sharded_mutex__delete()
Dannotate.c1304 static struct sharded_mutex *sharded_mutex; variable
1309 sharded_mutex = sharded_mutex__new(cpu__max_present_cpu().cpu); in annotation__init_sharded_mutex()
1322 if (!sharded_mutex) in annotation__get_mutex()
1325 return sharded_mutex__get_mutex(sharded_mutex, annotation__hash(notes)); in annotation__get_mutex()
DBuild151 perf-y += sharded_mutex.o