aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
blob: 3ac93b7efdfde4a9b54964e8bf0755e5b31334ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* clone_data.c */
int clone_data(ext2_filsys src_fs, ext2_filsys dst_fs, ext2_ino_t i_num, struct ext2_inode *src_i, struct ext2_inode *dst_i, uint64_t offset, uint64_t len);
/* clone_ea.c */
int clone_ea(ext2_filsys src_fs, ext2_filsys dst_fs, ext2_ino_t i_num, struct ext2_inode *src_i, struct ext2_inode *dst_i);
/* clone_extents.c */
int clone_extents(ext2_filsys src_fs, ext2_filsys dst_fs, ext2_ino_t i_num, struct ext2_inode *src_i, struct ext2_inode *dst_i);
/* clone_inode.c */
int clone_inode(ext2_filsys src_fs, ext2_filsys dst_fs, ext2_ino_t i_num, struct ext2_inode *src_i);
/* ea_map.c */
int ea_map_lookup(blk64_t src_blk, blk64_t *dst_blk, blk64_t *len);
int ea_map_set(blk64_t src_blk, blk64_t dst_blk, blk64_t len);
/* ext_clone.c */
char buf[(16*1024*1024)];
int main(int argc, char *argv[]);
/* stats.c */
uint64_t stats_inodes;
uint64_t stats_ea_blocks;
uint64_t stats_bytes;
struct timeval start_time;
struct timeval last_time;
void stats(int force);
/* clone_fs.c */
int clone_fs(ext2_filsys src_fs, ext2_filsys dst_fs);
/* zap_fs.c */
int zap_fs(ext2_filsys fs);
/* zap_inode.c */
int zap_inode(ext2_filsys fs, ext2_ino_t i_num, struct ext2_inode *i);