Searched refs:last_chunk_size (Results 1 – 3 of 3) sorted by relevance
120 unsigned long last_chunk_size = 0; in scan_block_bitmap() local147 last_chunk_size++; in scan_block_bitmap()151 if (used && last_chunk_size != 0) { in scan_block_bitmap()152 update_chunk_stats(info, last_chunk_size); in scan_block_bitmap()153 last_chunk_size = 0; in scan_block_bitmap()160 if (last_chunk_size != 0) in scan_block_bitmap()161 update_chunk_stats(info, last_chunk_size); in scan_block_bitmap()
120 last_chunk_size = tensor_len - (pieces - 1) * chunk_size121 pad_len = chunk_size - last_chunk_size122 piece_lens = [chunk_size for _ in range(pieces - 1)] + [last_chunk_size]185 last_chunk_size = tensor_len - ((pieces - 1) * chunk_size)186 assert last_chunk_size > 0187 piece_lens = [chunk_size for _ in range(pieces - 1)] + [last_chunk_size]