Lines Matching refs:blocksize
76 errcode_t ext2fs_get_device_size2(const char *file, int blocksize, in ext2fs_get_device_size2() argument
105 *retblocks = pi.PartitionLength.QuadPart / blocksize; in ext2fs_get_device_size2()
115 gi.Cylinders.QuadPart / blocksize; in ext2fs_get_device_size2()
119 *retblocks = filesize.QuadPart / blocksize; in ext2fs_get_device_size2()
125 *retblocks = filesize / blocksize;
151 errcode_t ext2fs_get_device_size2(const char *file, int blocksize, in ext2fs_get_device_size2() argument
167 *retblocks = size64 * size / blocksize; in ext2fs_get_device_size2()
185 *retblocks = size64 / blocksize; in ext2fs_get_device_size2()
196 *retblocks = size / (blocksize / 512); in ext2fs_get_device_size2()
207 *retblocks = this_floppy.size / (blocksize / 512); in ext2fs_get_device_size2()
225 *retblocks = ms / blocksize; in ext2fs_get_device_size2()
244 *retblocks = pp->p_size / (blocksize / 512); in ext2fs_get_device_size2()
257 *retblocks = st.st_size / blocksize; in ext2fs_get_device_size2()
280 *retblocks = size64 / blocksize; in ext2fs_get_device_size2()
288 errcode_t ext2fs_get_device_size(const char *file, int blocksize, in ext2fs_get_device_size() argument
294 retval = ext2fs_get_device_size2(file, blocksize, &blocks); in ext2fs_get_device_size()