Searched refs:num_shards (Results 1 – 2 of 2) sorted by relevance
6 struct sharded_mutex *sharded_mutex__new(size_t num_shards) in sharded_mutex__new() argument12 for (bits = 0; ((size_t)1 << bits) < num_shards; bits++) in sharded_mutex__new()
21 struct sharded_mutex *sharded_mutex__new(size_t num_shards);