Searched refs:first_block (Results 1 – 7 of 7) sorted by relevance
/system/libufdt/ |
D | ufdt_node_pool.c | 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 …]
|
/system/core/adb/ |
D | types.h | 188 std::shared_ptr<const block_type> first_block = chain_.front(); in take_front() local 189 CHECK_GE(first_block->size(), begin_offset_); in take_front() 190 head.append_shared(std::move(first_block)); in take_front() 235 const block_type* first_block = chain_.front().get(); in trim_front() local 236 auto copy = std::make_unique<block_type>(first_block->size() - begin_offset_); in trim_front() 237 memcpy(copy->data(), first_block->data() + begin_offset_, copy->size()); in trim_front()
|
/system/libufdt/include/ |
D | ufdt_node_pool.h | 26 struct ufdt_node_pool_block_header *first_block; member
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 75 sudo truncate --size=16384 "${mntdir}"/sparse-16k-first_block 76 echo "first block" | sudo dd of="${mntdir}"/sparse-16k-first_block status=none
|
/system/nfc/src/nfc/tags/ |
D | rw_i93.cc | 1569 uint16_t first_block; in rw_i93_get_next_blocks() local 1574 first_block = offset / p_i93->block_size; in rw_i93_get_next_blocks() 1581 if (num_block + first_block > p_i93->num_block) in rw_i93_get_next_blocks() 1582 num_block = p_i93->num_block - first_block; in rw_i93_get_next_blocks() 1598 if ((first_block / I93_STM_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks() 1599 ((first_block + num_block - 1) / I93_STM_BLOCKS_PER_SECTOR)) { in rw_i93_get_next_blocks() 1601 (first_block % I93_STM_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks() 1606 return rw_i93_send_cmd_read_multi_blocks(first_block, num_block); in rw_i93_get_next_blocks() 1608 return rw_i93_send_cmd_read_single_block(first_block, false); in rw_i93_get_next_blocks() 1664 uint16_t length = p_resp->len, xx, block, first_block, last_block, num_blocks; in rw_i93_sm_detect_ndef() local [all …]
|
D | rw_t1t_ndef.cc | 1520 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/vold/ |
D | EncryptInplace.cpp | 192 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()
|