Lines Matching refs:inode
52 struct inode *inode = sb_info->update_file->d_inode; in hypfs_update_update() local
55 inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; in hypfs_update_update()
100 static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) in hypfs_make_inode()
102 struct inode *ret = new_inode(sb); in hypfs_make_inode()
116 static void hypfs_evict_inode(struct inode *inode) in hypfs_evict_inode() argument
118 end_writeback(inode); in hypfs_evict_inode()
119 kfree(inode->i_private); in hypfs_evict_inode()
122 static int hypfs_open(struct inode *inode, struct file *filp) in hypfs_open() argument
128 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
132 if (!(inode->i_mode & S_IRUGO)) in hypfs_open()
136 fs_info = inode->i_sb->s_fs_info; in hypfs_open()
146 return nonseekable_open(inode, filp); in hypfs_open()
214 static int hypfs_release(struct inode *inode, struct file *filp) in hypfs_release() argument
273 struct inode *root_inode; in hypfs_fill_super()
337 struct inode *inode; in hypfs_create_file() local
345 inode = hypfs_make_inode(sb, mode); in hypfs_create_file()
346 if (!inode) { in hypfs_create_file()
352 inode->i_fop = &hypfs_file_ops; in hypfs_create_file()
354 inode->i_size = strlen(data); in hypfs_create_file()
356 inode->i_size = 0; in hypfs_create_file()
358 inode->i_op = &simple_dir_inode_operations; in hypfs_create_file()
359 inode->i_fop = &simple_dir_operations; in hypfs_create_file()
363 inode->i_private = data; in hypfs_create_file()
364 d_instantiate(dentry, inode); in hypfs_create_file()