Lines Matching refs:inode
234 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode) in ubifs_dump_inode() argument
237 const struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_dump_inode()
244 pr_err("\tinode %lu\n", inode->i_ino); in ubifs_dump_inode()
246 (unsigned long long)i_size_read(inode)); in ubifs_dump_inode()
247 pr_err("\tnlink %u\n", inode->i_nlink); in ubifs_dump_inode()
248 pr_err("\tuid %u\n", (unsigned int)i_uid_read(inode)); in ubifs_dump_inode()
249 pr_err("\tgid %u\n", (unsigned int)i_gid_read(inode)); in ubifs_dump_inode()
251 (unsigned int)inode->i_atime.tv_sec, in ubifs_dump_inode()
252 (unsigned int)inode->i_atime.tv_nsec); in ubifs_dump_inode()
254 (unsigned int)inode->i_mtime.tv_sec, in ubifs_dump_inode()
255 (unsigned int)inode->i_mtime.tv_nsec); in ubifs_dump_inode()
257 (unsigned int)inode->i_ctime.tv_sec, in ubifs_dump_inode()
258 (unsigned int)inode->i_ctime.tv_nsec); in ubifs_dump_inode()
276 if (!S_ISDIR(inode->i_mode)) in ubifs_dump_inode()
282 lowest_dent_key(c, &key, inode->i_ino); in ubifs_dump_inode()
1077 int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode) in dbg_check_synced_i_size() argument
1080 struct ubifs_inode *ui = ubifs_inode(inode); in dbg_check_synced_i_size()
1084 if (!S_ISREG(inode->i_mode)) in dbg_check_synced_i_size()
1092 ubifs_err(c, "i_ino %lu, i_mode %#x, i_size %lld", inode->i_ino, in dbg_check_synced_i_size()
1093 inode->i_mode, i_size_read(inode)); in dbg_check_synced_i_size()
1115 int dbg_check_dir(struct ubifs_info *c, const struct inode *dir) in dbg_check_dir()
1472 int dbg_check_dir(struct ubifs_info *c, const struct inode *dir) in dbg_check_dir()
1847 struct inode *inode; in add_inode() local
1872 inode = ilookup(c->vfs_sb, inum); in add_inode()
1886 if (!inode) { in add_inode()
1894 ui = ubifs_inode(inode); in add_inode()
1895 fscki->nlink = inode->i_nlink; in add_inode()
1896 fscki->size = inode->i_size; in add_inode()
1900 fscki->mode = inode->i_mode; in add_inode()
1901 iput(inode); in add_inode()
2694 static int dfs_file_open(struct inode *inode, struct file *file) in dfs_file_open() argument
2696 file->private_data = inode->i_private; in dfs_file_open()
2697 return nonseekable_open(inode, file); in dfs_file_open()