Searched refs:SHARD_IDX (Results 1 – 4 of 4) sorted by relevance
42 #define SHARD_IDX(hash) ((hash) & ((1 << LOG2_SHARD_COUNT) - 1)) macro71 slice_shard* shard = &g_shards[SHARD_IDX(this->hash)]; in ~InternedSliceRefcount()238 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in MatchInternedSliceLocked()261 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in FindOrCreateInternedSlice()
40 #define SHARD_IDX(hash) ((hash) & ((1 << LOG2_SHARD_COUNT) - 1)) macro80 slice_shard* shard = &g_shards[SHARD_IDX(s->hash)]; in interned_slice_destroy()221 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_slice_intern()
70 #define SHARD_IDX(hash) ((hash) & ((1 << (LOG2_SHARD_COUNT)) - 1)) macro279 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_mdelem_create()426 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_mdelem_unref()
102 #define SHARD_IDX(hash) ((hash) & ((1 << (LOG2_SHARD_COUNT)) - 1)) macro448 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in md_create_must_intern()645 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in note_disposed_interned_metadata()