Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:blocksize

72 errcode_t ext2fs_get_device_size(const char *file, int blocksize,
96 *retblocks = pi.PartitionLength.QuadPart / blocksize;
106 gi.Cylinders.QuadPart / blocksize;
110 *retblocks = filesize.QuadPart / blocksize;
116 *retblocks = filesize / blocksize;
141 errcode_t ext2fs_get_device_size2(const char *file, int blocksize,
172 *retblocks = size64 / (blocksize / 512);
186 *retblocks = size64 / blocksize;
193 *retblocks = size / (blocksize / 512);
200 *retblocks = this_floppy.size / (blocksize / 512);
211 *retblocks = ms / blocksize;
230 *retblocks = pp->p_size / (blocksize / 512);
246 *retblocks = st.st_size / blocksize;
270 *retblocks = size64 / blocksize;
276 errcode_t ext2fs_get_device_size(const char *file, int blocksize,
282 retval = ext2fs_get_device_size2(file, blocksize, &blocks);