Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 7 of 7) sorted by relevance

/system/libufdt/
Dufdt_node_pool.c67 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 …]
/system/core/adb/
Dtypes.cpp118 block_type& first_block = chain_[start_index_]; in trim_front() local
119 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()
/system/libufdt/include/
Dufdt_node_pool.h26 struct ufdt_node_pool_block_header *first_block; member
/system/nfc/src/nfc/tags/
Drw_i93.cc1629 uint16_t first_block; in rw_i93_get_next_blocks() local
1634 first_block = offset / p_i93->block_size; in rw_i93_get_next_blocks()
1641 if (num_block + first_block > p_i93->num_block) in rw_i93_get_next_blocks()
1642 num_block = p_i93->num_block - first_block; in rw_i93_get_next_blocks()
1658 if ((first_block / I93_STM_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks()
1659 ((first_block + num_block - 1) / I93_STM_BLOCKS_PER_SECTOR)) { in rw_i93_get_next_blocks()
1661 (first_block % I93_STM_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks()
1682 if ((first_block / I93_ONS_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks()
1683 ((first_block + num_block - 1) / I93_ONS_BLOCKS_PER_SECTOR)) { in rw_i93_get_next_blocks()
1685 (first_block % I93_ONS_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks()
[all …]
Drw_t1t_ndef.cc1520 uint8_t first_block = (uint8_t)(p_t1t->ndef_header_offset / T1T_BLOCK_SIZE); in rw_t1t_prepare_ndef_bytes() local
1525 if ((block == p_t1t->num_ndef_finalblock) && (block != first_block)) { in rw_t1t_prepare_ndef_bytes()
/system/update_engine/sample_images/
Dgenerate_images.sh75 sudo truncate --size=16384 "${mntdir}"/sparse-16k-first_block
76 echo "first block" | sudo dd of="${mntdir}"/sparse-16k-first_block status=none
/system/vold/
DEncryptInplace.cpp192 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in encrypt_groups() local
193 u32 block_count = std::min(info.blocks_per_group, (u32)(aux_info.len_blocks - first_block)); in encrypt_groups()
203 offset = (u64)info.block_size * first_block; in encrypt_groups()