Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:src

22 errcode_t ext2fs_dup_handle(ext2_filsys src, ext2_filsys *dest)
27 EXT2_CHECK_MAGIC(src, EXT2_ET_MAGIC_EXT2FS_FILSYS);
33 *fs = *src;
47 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name);
50 strcpy(fs->device_name, src->device_name);
55 memcpy(fs->super, src->super, SUPERBLOCK_SIZE);
60 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE);
66 memcpy(fs->group_desc, src->group_desc,
69 if (src->inode_map) {
70 retval = ext2fs_copy_bitmap(src->inode_map, &fs->inode_map);
74 if (src->block_map) {
75 retval = ext2fs_copy_bitmap(src->block_map, &fs->block_map);
79 if (src->badblocks) {
80 retval = ext2fs_badblocks_copy(src->badblocks, &fs->badblocks);
84 if (src->dblist) {
85 retval = ext2fs_copy_dblist(src->dblist, &fs->dblist);