Searched refs:last_block (Results 1 – 5 of 5) sorted by relevance
84 unsigned int last_block = 0; in sparse_count_chunks() local89 if (backed_block_block(bb) > last_block) { in sparse_count_chunks()94 last_block = backed_block_block(bb) + in sparse_count_chunks()97 if (last_block < DIV_ROUND_UP(s->len, s->block_size)) { in sparse_count_chunks()135 unsigned int last_block = 0; in write_all_blocks() local141 if (backed_block_block(bb) > last_block) { in write_all_blocks()142 unsigned int blocks = backed_block_block(bb) - last_block; in write_all_blocks()148 last_block = backed_block_block(bb) + in write_all_blocks()152 pad = s->len - (int64_t)last_block * s->block_size; in write_all_blocks()241 unsigned int last_block = 0; in move_chunks_up_to_len() local[all …]
74 u32 last_block = min(info.blocks_per_group, aux_info.len_blocks - first_block); in build_sparse_ext() local88 for (block = 0; block < last_block; block++) { in build_sparse_ext()107 u32 len_blocks = last_block - start_contiguous_block; in build_sparse_ext()
470 u32 last_block = EXT4_NDIR_BLOCKS + aux_info.blocks_per_ind + in inode_attach_resize() local475 size = (u64)last_block * info.block_size; in inode_attach_resize()
2552 static u64 last_block = (u64)-1; local2555 if (completed || (last_block != (u64)-1 && block != last_block + 1)) {2556 SLOGI("Encrypted to block %" PRId64, last_block);2557 last_block = -1;2561 if (!completed && (last_block == (u64)-1 || block != last_block + 1)) {2567 last_block = block;
62 sudo dd of="${mntdir}"/sparse-16k-last_block bs=1 \