Searched refs:sharded_mutex (Results 1 – 6 of 6) sorted by relevance
15 struct sharded_mutex { struct21 struct sharded_mutex *sharded_mutex__new(size_t num_shards); argument22 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()
6 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()
1338 static struct sharded_mutex *sharded_mutex; variable1343 sharded_mutex = sharded_mutex__new(cpu__max_present_cpu().cpu); in annotation__init_sharded_mutex()1356 if (!sharded_mutex) in annotation__get_mutex()1359 return sharded_mutex__get_mutex(sharded_mutex, annotation__hash(notes)); in annotation__get_mutex()
151 perf-y += sharded_mutex.o
17281 …hildren: not file-less due to: /opengrok/data/xref/openbmc/linux/tools/perf/util/sharded_mutex.h.gz
17169 …hildren: not file-less due to: /opengrok/data/xref/openbmc/linux/tools/perf/util/sharded_mutex.h.gz