Lines Matching defs:inode
37 struct ext2_inode parent_inode, inode;
46 * Allocate an inode, if necessary
70 * Get the parent's inode, if necessary
80 * Create the inode structure....
82 memset(&inode, 0, sizeof(struct ext2_inode));
83 inode.i_mode = LINUX_S_IFDIR | (0777 & ~fs->umask);
84 inode.i_uid = inode.i_gid = 0;
85 ext2fs_iblk_set(fs, &inode, 1);
86 inode.i_block[0] = blk;
87 inode.i_links_count = 2;
88 inode.i_size = fs->blocksize;
91 * Write out the inode and inode data block
96 retval = ext2fs_write_new_inode(fs, ino, &inode);
119 * Update parent inode's counts