Searched refs:first_block (Results 1 – 12 of 12) sorted by relevance
67 pool->first_block = NULL; in ufdt_node_pool_construct()68 pool->last_block_ptr = &pool->first_block; in ufdt_node_pool_construct()73 struct ufdt_node_pool_block_header *block = pool->first_block; in ufdt_node_pool_destruct()86 pool->first_block = NULL; in ufdt_node_pool_destruct()145 struct ufdt_node_pool_block_header *origin_first_block = pool->first_block; in _ufdt_node_pool_preppend_block()148 pool->first_block = block; in _ufdt_node_pool_preppend_block()183 struct ufdt_node_pool_block_header *block = pool->first_block; in ufdt_node_pool_alloc()193 _ufdt_node_pool_remove_block(pool, &pool->first_block); in ufdt_node_pool_alloc()202 struct ufdt_node_pool_block_header **block_ptr = &pool->first_block; in _ufdt_node_pool_search_block()236 if (block->alloc_entry_cnt == 0 && pool->first_block != NULL && in ufdt_node_pool_free()[all …]
118 block_type& first_block = chain_[start_index_]; in trim_front() local119 if (begin_offset_ == first_block.size()) { in trim_front()122 memmove(first_block.data(), first_block.data() + begin_offset_, in trim_front()123 first_block.size() - begin_offset_); in trim_front()124 first_block.resize(first_block.size() - begin_offset_); in trim_front()
154 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local155 graph->AddBlock(first_block); in TEST_F()156 entry->AddSuccessor(first_block); in TEST_F()158 first_block->AddInstruction(null_check); in TEST_F()159 first_block->AddInstruction(new (GetAllocator()) HReturnVoid()); in TEST_F()163 first_block->AddSuccessor(exit_block); in TEST_F()175 first_block->RemoveInstruction(null_check); in TEST_F()
38 HBasicBlock* first_block = graph->GetEntryBlock()->GetSingleSuccessor(); in TestCode() local39 HBasicBlock* loop_header = first_block->GetSingleSuccessor(); in TestCode()41 ASSERT_EQ(loop_header->GetLoopInformation()->GetPreHeader(), first_block); in TestCode()
422 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local423 graph->AddBlock(first_block); in TEST_F()424 entry->AddSuccessor(first_block); in TEST_F()428 first_block->AddInstruction(equal); in TEST_F()429 first_block->AddInstruction(new (GetAllocator()) HIf(equal)); in TEST_F()439 first_block->AddSuccessor(then_block); in TEST_F()440 first_block->AddSuccessor(else_block); in TEST_F()
129 FreeBlockInfo* first_block = reinterpret_cast<FreeBlockInfo*>(page->bytes); in create_new_page() local130 first_block->next_block = free_block_list_; in create_new_page()131 first_block->num_free_blocks = sizeof(page->bytes) / block_size_; in create_new_page()133 free_block_list_ = first_block; in create_new_page()
215 small_object_block_record* const first_block = in alloc_page() local218 first_block->next = nullptr; in alloc_page()219 first_block->free_blocks_cnt = blocks_per_page_; in alloc_page()221 page->free_block_list = first_block; in alloc_page()
1667 uint16_t first_block; in rw_i93_get_next_blocks() local1672 first_block = offset / p_i93->block_size; in rw_i93_get_next_blocks()1682 if (num_block + first_block > p_i93->num_block) in rw_i93_get_next_blocks()1683 num_block = p_i93->num_block - first_block; in rw_i93_get_next_blocks()1685 if (num_block + first_block > in rw_i93_get_next_blocks()1707 if ((first_block / I93_STM_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks()1710 (first_block % I93_STM_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks()1731 if ((first_block / I93_ONS_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks()1734 (first_block % I93_ONS_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks()2059 rw_i93_send_cmd_read_single_block(first_block, true); in rw_i93_sm_detect_ndef()[all …]
1520 uint8_t first_block = (uint8_t)(p_t1t->ndef_header_offset / T1T_BLOCK_SIZE); in rw_t1t_prepare_ndef_bytes() local1525 if ((block == p_t1t->num_ndef_finalblock) && (block != first_block)) { in rw_t1t_prepare_ndef_bytes()
26 struct ufdt_node_pool_block_header *first_block; member
53 __u32 first_block; member
75 sudo truncate --size=16384 "${mntdir}"/sparse-16k-first_block76 echo "first block" | sudo dd of="${mntdir}"/sparse-16k-first_block status=none