Lines Matching refs:size
94 SLOGE("Cannot open device to get filesystem size ");
166 SLOGE("Cannot get size of block device %s\n", fname);
230 SLOGE("Cannot set footer file size\n", fname);
265 SLOGE("Cannot get size of block device %s\n", fname);
289 SLOGE("footer file %s is not the expected size!\n", fname);
319 /* the footer size is bigger than we expected.
895 /* Update the fs_size field to be the size of the volume */
900 SLOGE("Cannot get size of volume %s\n", real_blkdev);
984 * defaulted to 16 bytes, and the filesystem size to 0.
986 * filesystem size and crypto_type_name after calling this function.
1002 static int cryptfs_enable_wipe(char *crypto_blkdev, off64_t size, int type)
1009 size * 512, crypto_blkdev);
1013 size, crypto_blkdev);
1046 static int cryptfs_enable_inplace(char *crypto_blkdev, char *real_blkdev, off64_t size,
1068 * The size passed in is the number of 512 byte sectors in the filesystem.
1072 numblocks = size / CRYPT_SECTORS_PER_BUFSIZE;
1073 remainder = size % CRYPT_SECTORS_PER_BUFSIZE;
1113 *size_already_done += size;
1173 /* Get the size of the real block device */
1176 SLOGE("Cannot get size of block device %s\n", real_blkdev);
1217 if ( (vol_list[i].size = get_blkdev_size(fd)) == 0) {
1218 SLOGE("Cannot get size of block device %s\n", vol_list[i].blk_dev);
1324 /* The size of the userdata partition, and add in the vold volumes below */
1331 vol_list[i].crypt_ftr.fs_size = vol_list[i].size;
1335 tot_encryption_size += vol_list[i].size;