Searched refs:bucket (Results 1 – 6 of 6) sorted by relevance
/system/memory/libmemunreachable/ |
D | Allocator.cpp | 113 static inline size_t bucket_to_size(unsigned int bucket) { in bucket_to_size() argument 114 return kMinBucketAllocationSize << bucket; in bucket_to_size() 166 Chunk(HeapImpl* heap, int bucket); 224 Chunk::Chunk(HeapImpl* heap, int bucket) in Chunk() argument 227 bucket_(bucket), in Chunk() 228 allocation_size_(bucket_to_size(bucket)), in Chunk() 344 int bucket = size_to_bucket(size); in AllocLocked() local 345 if (free_chunks_[bucket].empty()) { in AllocLocked() 346 Chunk* chunk = new Chunk(this, bucket); in AllocLocked() 347 free_chunks_[bucket].insert(chunk->node_); in AllocLocked() [all …]
|
/system/update_engine/payload_generator/ |
D | block_mapping.cc | 82 vector<UniqueBlock>* bucket = nullptr; in AddBlock() local 86 bucket = &mapping_[h]; in AddBlock() 95 bucket = &mapping_it->second; in AddBlock() 100 bucket->emplace_back(); in AddBlock() 101 UniqueBlock* new_ublock = &bucket->back(); in AddBlock()
|
/system/bpfprogs/ |
D | time_in_state_test.cpp | 105 static void assertTimeInState(uint32_t uid, uint32_t bucket, in assertTimeInState() argument 107 time_key_t timeKey{.uid = uid, .bucket = bucket}; in assertTimeInState() 120 static void assertConcurrentTimes(uint32_t uid, uint32_t bucket, in assertConcurrentTimes() argument 123 time_key_t timeKey{.uid = uid, .bucket = bucket}; in assertConcurrentTimes()
|
D | timeInState.c | 65 time_key_t key = {.uid = uid, .bucket = freq_idx / FREQS_PER_ENTRY}; in update_uid() 74 key.bucket = active / CPUS_PER_ENTRY; in update_uid() 83 if (policy_active / CPUS_PER_ENTRY != key.bucket) { in update_uid() 84 key.bucket = policy_active / CPUS_PER_ENTRY; in update_uid() 209 .bucket = freq_idx / FREQS_PER_ENTRY};
|
/system/bpf/progs/include/ |
D | bpf_timeinstate.h | 35 uint32_t bucket; member 73 uint16_t bucket; member
|
/system/incremental_delivery/incfs/util/ |
D | map_ptr.cpp | 104 std::atomic<bucket_t>& bucket = loaded_blocks_[i]; in Verify() local 105 if (LIKELY(bucket.load(std::memory_order_relaxed) & present_bit)) { in Verify() 117 bucket.fetch_or(present_bit, std::memory_order_relaxed); in Verify()
|