/external/e2fsprogs/lib/ext2fs/ |
D | dupfs.c | 56 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_dup_handle() 59 memcpy(fs->super, src->super, SUPERBLOCK_SIZE); in ext2fs_dup_handle() 61 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_dup_handle() 64 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE); in ext2fs_dup_handle()
|
D | closefs.c | 202 retval = io_channel_write_blk64(fs->io, 1, -SUPERBLOCK_SIZE, in write_primary_superblock() 211 for (check_idx = 0; check_idx < SUPERBLOCK_SIZE/2; check_idx++) { in write_primary_superblock() 215 for (check_idx++; check_idx < SUPERBLOCK_SIZE/2; check_idx++) in write_primary_superblock() 231 memcpy(fs->orig_super, super, SUPERBLOCK_SIZE); in write_primary_superblock() 269 return io_channel_write_blk64(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super() 328 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow); in ext2fs_flush2()
|
D | openfs.c | 181 retval = io_channel_alloc_buf(fs->io, -SUPERBLOCK_SIZE, &fs->super); in ext2fs_open2() 221 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_open2() 225 retval = io_channel_read_blk(fs->io, superblock, -SUPERBLOCK_SIZE, in ext2fs_open2() 230 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE); in ext2fs_open2()
|
D | imager.c | 218 memcpy(buf, fs->super, SUPERBLOCK_SIZE); in ext2fs_image_super_write() 221 memcpy(buf, fs->super, SUPERBLOCK_SIZE); in ext2fs_image_super_write() 311 memcpy(fs->super, buf, SUPERBLOCK_SIZE); in ext2fs_image_super_read()
|
D | undo_io.c | 224 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in write_undo_indexes() 227 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)&super, SUPERBLOCK_SIZE); in write_undo_indexes() 258 -SUPERBLOCK_SIZE, &super); in write_undo_indexes() 507 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in check_filesystem() 519 -SUPERBLOCK_SIZE, buf); in check_filesystem() 528 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, SUPERBLOCK_SIZE); in check_filesystem()
|
D | tst_badblocks.c | 229 fs->super = malloc(SUPERBLOCK_SIZE); in file_test_invalid() 230 memset(fs->super, 0, SUPERBLOCK_SIZE); in file_test_invalid()
|
D | mkjournal.c | 375 char buf[SUPERBLOCK_SIZE]; in ext2fs_add_journal_device() 390 -SUPERBLOCK_SIZE, in ext2fs_add_journal_device() 419 -SUPERBLOCK_SIZE, buf))) in ext2fs_add_journal_device()
|
D | initialize.c | 148 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize() 153 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
|
D | ext2fs.h | 46 #define SUPERBLOCK_SIZE 1024 macro
|
/external/u-boot/fs/ext4/ |
D | ext4_journal.c | 67 memcpy(temp + SUPERBLOCK_SIZE, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal() 75 memcpy(journal_ptr[gindex]->buf, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal() 534 put_ext4((uint64_t) (SUPERBLOCK_SIZE), in ext4fs_check_journal_state() 536 (uint32_t) SUPERBLOCK_SIZE); in ext4fs_check_journal_state()
|
D | dev.c | 62 return ext4fs_devread(sect, off, SUPERBLOCK_SIZE, in ext4_read_superblock()
|
D | ext4_write.c | 74 put_ext4((uint64_t)(SUPERBLOCK_SIZE), in ext4fs_update() 75 (struct ext2_sblock *)fs->sb, (uint32_t)SUPERBLOCK_SIZE); in ext4fs_update() 597 fs->sb = zalloc(SUPERBLOCK_SIZE); in ext4fs_init() 714 put_ext4((uint64_t)(SUPERBLOCK_SIZE), in ext4fs_deinit() 715 (struct ext2_sblock *)fs->sb, (uint32_t)SUPERBLOCK_SIZE); in ext4fs_deinit()
|
D | ext4_common.h | 40 #define SUPERBLOCK_SIZE 1024 macro
|
D | ext4_common.c | 2333 data = zalloc(SUPERBLOCK_SIZE); in ext4fs_mount()
|
/external/e2fsprogs/misc/ |
D | e2undo.c | 169 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in check_filesystem() 186 -SUPERBLOCK_SIZE, buf); in check_filesystem() 198 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, SUPERBLOCK_SIZE); in check_filesystem()
|
D | tune2fs.c | 203 static int get_journal_sb(ext2_filsys jfs, char buf[SUPERBLOCK_SIZE]) in get_journal_sb() argument 214 ext2fs_journal_sb_start(jfs->blocksize), -SUPERBLOCK_SIZE, buf))) { in get_journal_sb() 249 char buf[SUPERBLOCK_SIZE] __attribute__ ((aligned(8))); in remove_journal_device() 316 -SUPERBLOCK_SIZE, buf); in remove_journal_device() 2833 char buf[SUPERBLOCK_SIZE] __attribute__ ((aligned(8))); in fs_update_journal_user() 2881 retval = io_channel_write_blk64(jfs->io, start, -SUPERBLOCK_SIZE, buf); in fs_update_journal_user() 3226 char buf[SUPERBLOCK_SIZE] __attribute__ ((aligned(8))); in main() 3298 -SUPERBLOCK_SIZE, buf))) in main()
|
D | mke2fs.c | 2574 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in should_do_undo()
|
/external/e2fsprogs/e2fsck/ |
D | util.c | 589 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf)) in get_backup_sb() 600 -SUPERBLOCK_SIZE, buf)) in get_backup_sb()
|
D | super.c | 1122 char buf[SUPERBLOCK_SIZE]; in check_backup_super_block() 1145 retval = io_channel_read_blk(fs->io, sb, -SUPERBLOCK_SIZE, in check_backup_super_block()
|