Lines Matching refs:newfile
619 ext2_ino_t newfile; in do_write_internal() local
635 retval = ext2fs_namei(fs, root, cwd, dest, &newfile); in do_write_internal()
641 retval = ext2fs_new_inode(fs, cwd, 010755, 0, &newfile); in do_write_internal()
645 printf("Allocated inode: %u\n", newfile); in do_write_internal()
647 retval = ext2fs_link(fs, cwd, dest, newfile, in do_write_internal()
653 retval = ext2fs_link(fs, cwd, dest, newfile, in do_write_internal()
658 if (ext2fs_test_inode_bitmap2(fs->inode_map, newfile)) in do_write_internal()
660 ext2fs_inode_alloc_stats2(fs, newfile, +1, 0); in do_write_internal()
675 retval = ext2fs_extent_open2(fs, newfile, &inode, &handle); in do_write_internal()
681 retval = ext2fs_write_new_inode(fs, newfile, &inode); in do_write_internal()
685 retval = ext2fs_inline_data_init(fs, newfile); in do_write_internal()
690 retval = copy_file(fs, fd, &statbuf, newfile); in do_write_internal()