Searched refs:last_block (Results 1 – 5 of 5) sorted by relevance
73 unsigned int last_block = 0; in sparse_count_chunks() local77 if (backed_block_block(bb) > last_block) { in sparse_count_chunks()82 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), s->block_size); in sparse_count_chunks()84 if (last_block < DIV_ROUND_UP(s->len, s->block_size)) { in sparse_count_chunks()116 unsigned int last_block = 0; in write_all_blocks() local121 if (backed_block_block(bb) > last_block) { in write_all_blocks()122 unsigned int blocks = backed_block_block(bb) - last_block; in write_all_blocks()127 last_block = backed_block_block(bb) + DIV_ROUND_UP(backed_block_len(bb), s->block_size); in write_all_blocks()130 pad = s->len - (int64_t)last_block * s->block_size; in write_all_blocks()270 unsigned int last_block = 0; in move_chunks_up_to_len() local[all …]
343 static u64 last_block = (u64)-1; in log_progress_f2fs() local346 if (completed || (last_block != (u64)-1 && block != last_block + 1)) { in log_progress_f2fs()347 LOG(INFO) << "Encrypted to block " << last_block; in log_progress_f2fs()348 last_block = -1; in log_progress_f2fs()352 if (!completed && (last_block == (u64)-1 || block != last_block + 1)) { in log_progress_f2fs()358 last_block = block; in log_progress_f2fs()
645 for (uint32_t last_block, block_number = 0; block_number < num_blocks; block_number++) { in ReadFibmap() local656 if (!extents->empty() && block == last_block + 1) { in ReadFibmap()668 last_block = block; in ReadFibmap()
65 sudo dd of="${mntdir}"/sparse-16k-last_block bs=1 \
1748 uint16_t length = p_resp->len, xx, block, first_block, last_block, num_blocks; in rw_i93_sm_detect_ndef() local2027 last_block = (p_i93->ndef_tlv_last_offset / p_i93->block_size); in rw_i93_sm_detect_ndef()2033 if (block <= last_block) { in rw_i93_sm_detect_ndef()2051 + (p_i93->block_size * (block - last_block) + 1) - in rw_i93_sm_detect_ndef()2066 last_block = (p_i93->ndef_tlv_last_offset / p_i93->block_size); in rw_i93_sm_detect_ndef()2071 if ((block + p_i93->rw_offset) <= last_block) { in rw_i93_sm_detect_ndef()