Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:fs

33 errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum,
43 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
49 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFDIR | 0755,
58 retval = ext2fs_new_block(fs, 0, 0, &blk);
65 retval = ext2fs_new_dir_block(fs, ino, parent, &block);
73 retval = ext2fs_read_inode(fs, parent, &parent_inode);
83 inode.i_mode = LINUX_S_IFDIR | (0777 & ~fs->umask);
85 ext2fs_iblk_set(fs, &inode, 1);
88 inode.i_size = fs->blocksize;
93 retval = ext2fs_write_dir_block(fs, blk, block);
96 retval = ext2fs_write_new_inode(fs, ino, &inode);
104 retval = ext2fs_lookup(fs, parent, name, strlen(name), 0,
113 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR);
123 retval = ext2fs_write_inode(fs, parent, &parent_inode);
131 ext2fs_block_alloc_stats(fs, blk, +1);
132 ext2fs_inode_alloc_stats2(fs, ino, +1, 1);