Lines Matching refs:blocksize
72 errcode_t ext2fs_get_device_size(const char *file, int blocksize, in ext2fs_get_device_size() argument
96 *retblocks = pi.PartitionLength.QuadPart / blocksize; in ext2fs_get_device_size()
106 gi.Cylinders.QuadPart / blocksize; in ext2fs_get_device_size()
110 *retblocks = filesize.QuadPart / blocksize; in ext2fs_get_device_size()
116 *retblocks = filesize / blocksize;
141 errcode_t ext2fs_get_device_size2(const char *file, int blocksize, in ext2fs_get_device_size2() argument
154 *retblocks = size64 / (blocksize / 512); in ext2fs_get_device_size2()
172 *retblocks = size64 / blocksize; in ext2fs_get_device_size2()
183 *retblocks = size / (blocksize / 512); in ext2fs_get_device_size2()
194 *retblocks = this_floppy.size / (blocksize / 512); in ext2fs_get_device_size2()
212 *retblocks = ms / blocksize; in ext2fs_get_device_size2()
231 *retblocks = pp->p_size / (blocksize / 512); in ext2fs_get_device_size2()
244 *retblocks = st.st_size / blocksize; in ext2fs_get_device_size2()
267 *retblocks = size64 / blocksize; in ext2fs_get_device_size2()
273 errcode_t ext2fs_get_device_size(const char *file, int blocksize, in ext2fs_get_device_size() argument
279 retval = ext2fs_get_device_size2(file, blocksize, &blocks); in ext2fs_get_device_size()