Searched refs:new_chunk (Results 1 – 5 of 5) sorted by relevance
69 Node* new_chunk = static_cast<Node*>(gpr_zalloc(sizeof(Node) * num)); in AllocateNodes() local70 new_chunk[0].next = &new_chunk[1]; in AllocateNodes()71 new_chunk[num - 1].prev = &new_chunk[num - 2]; in AllocateNodes()73 new_chunk[i].prev = &new_chunk[i - 1]; in AllocateNodes()74 new_chunk[i].next = &new_chunk[i + 1]; in AllocateNodes()76 return new_chunk; in AllocateNodes()84 Node* new_chunk = AllocateNodes(kQueueInitNumNodes); in InfLenFIFOQueue() local85 delete_list_[delete_list_count_++] = new_chunk; in InfLenFIFOQueue()86 queue_head_ = queue_tail_ = new_chunk; in InfLenFIFOQueue()87 new_chunk[0].prev = &new_chunk[kQueueInitNumNodes - 1]; in InfLenFIFOQueue()[all …]
140 WebPChunk* new_chunk; in ChunkSetHead() local147 new_chunk = (WebPChunk*)WebPSafeMalloc(1ULL, sizeof(*new_chunk)); in ChunkSetHead()148 if (new_chunk == NULL) return WEBP_MUX_MEMORY_ERROR; in ChunkSetHead()149 *new_chunk = *chunk; in ChunkSetHead()151 new_chunk->next_ = NULL; in ChunkSetHead()152 *chunk_list = new_chunk; in ChunkSetHead()
202 SharedMemoryABI::Chunk new_chunk = in GetNewBuffer() local204 if (!new_chunk.is_valid()) { in GetNewBuffer()284 PERFETTO_DCHECK(new_chunk.is_valid()); in GetNewBuffer()353 cur_chunk_ = std::move(new_chunk); in GetNewBuffer()
605 BFCAllocator::Chunk* new_chunk = ChunkFromHandle(h_new_chunk); in SplitChunk() local606 new_chunk->ptr = static_cast<void*>(static_cast<char*>(c->ptr) + num_bytes); in SplitChunk()607 region_manager_.set_handle(new_chunk->ptr, h_new_chunk); in SplitChunk()610 new_chunk->size = c->size - num_bytes; in SplitChunk()614 new_chunk->allocation_id = -1; in SplitChunk()617 new_chunk->freed_at_count = c->freed_at_count; in SplitChunk()623 new_chunk->prev = h; in SplitChunk()624 new_chunk->next = h_neighbor; in SplitChunk()
186 __u32 new_chunk; /* 17 new chunk size (bytes) */ member264 __le32 new_chunk; /* new chunk size (512byte sectors) */ member