Searched refs:stride_length (Results 1 – 2 of 2) sorted by relevance
157 static int stride_length; in ext2fs_zero_blocks2() local165 stride_length = 0; in ext2fs_zero_blocks2()180 if (num > stride_length && stride_length < MAX_STRIDE_LENGTH) { in ext2fs_zero_blocks2()190 stride_length = new_stride; in ext2fs_zero_blocks2()191 memset(buf, 0, fs->blocksize * stride_length); in ext2fs_zero_blocks2()196 if (blk % stride_length) { in ext2fs_zero_blocks2()197 count = stride_length - (blk % stride_length); in ext2fs_zero_blocks2()202 if (count > stride_length) in ext2fs_zero_blocks2()203 count = stride_length; in ext2fs_zero_blocks2()
881 var stride_length = 1;883 stride_length = Math.max(Math.ceil(data.length / max_rects), 1);885 for (var i = 0; i < data.length; i+= stride_length)