Searched refs:SUPERBLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | dupfs.c | 52 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()
|
D | closefs.c | 137 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()
|
D | openfs.c | 130 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()
|
D | tst_badblocks.c | 227 fs->super = malloc(SUPERBLOCK_SIZE); in file_test_invalid() 228 memset(fs->super, 0, SUPERBLOCK_SIZE); in file_test_invalid()
|
D | imager.c | 200 memcpy(buf, fs->super, SUPERBLOCK_SIZE); in ext2fs_image_super_write() 263 memcpy(fs->super, buf, SUPERBLOCK_SIZE); in ext2fs_image_super_read()
|
D | initialize.c | 137 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize() 142 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
|
D | ext2fs.h | 49 #define SUPERBLOCK_SIZE 1024 macro
|
/external/e2fsprogs/e2fsck/ |
D | util.c | 441 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf)) in get_backup_sb() 452 -SUPERBLOCK_SIZE, buf)) in get_backup_sb()
|