Home
last modified time | relevance | path

Searched refs:SUPERBLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Ddupfs.c52 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_dup_handle()
55 memcpy(fs->super, src->super, SUPERBLOCK_SIZE); in ext2fs_dup_handle()
57 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_dup_handle()
60 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE); in ext2fs_dup_handle()
Dclosefs.c137 retval = io_channel_write_blk(fs->io, 1, -SUPERBLOCK_SIZE, in write_primary_superblock()
146 for (check_idx = 0; check_idx < SUPERBLOCK_SIZE/2; check_idx++) { in write_primary_superblock()
150 for (check_idx++; check_idx < SUPERBLOCK_SIZE/2; check_idx++) in write_primary_superblock()
164 memcpy(fs->orig_super, super, SUPERBLOCK_SIZE); in write_primary_superblock()
201 return io_channel_write_blk(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super()
228 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow); in ext2fs_flush()
Dopenfs.c130 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_open2()
170 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_open2()
174 retval = io_channel_read_blk(fs->io, superblock, -SUPERBLOCK_SIZE, in ext2fs_open2()
179 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE); in ext2fs_open2()
Dtst_badblocks.c227 fs->super = malloc(SUPERBLOCK_SIZE); in file_test_invalid()
228 memset(fs->super, 0, SUPERBLOCK_SIZE); in file_test_invalid()
Dimager.c200 memcpy(buf, fs->super, SUPERBLOCK_SIZE); in ext2fs_image_super_write()
263 memcpy(fs->super, buf, SUPERBLOCK_SIZE); in ext2fs_image_super_read()
Dinitialize.c137 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize()
142 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
Dext2fs.h49 #define SUPERBLOCK_SIZE 1024 macro
/external/e2fsprogs/e2fsck/
Dutil.c441 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf)) in get_backup_sb()
452 -SUPERBLOCK_SIZE, buf)) in get_backup_sb()