Lines Matching refs:ino
81 static struct inode *__logfs_iget(struct super_block *sb, ino_t ino) in __logfs_iget() argument
83 struct inode *inode = iget_locked(sb, ino); in __logfs_iget()
109 struct inode *logfs_iget(struct super_block *sb, ino_t ino) in logfs_iget() argument
111 BUG_ON(ino == LOGFS_INO_MASTER); in logfs_iget()
112 BUG_ON(ino == LOGFS_INO_SEGFILE); in logfs_iget()
113 return __logfs_iget(sb, ino); in logfs_iget()
120 struct inode *logfs_safe_iget(struct super_block *sb, ino_t ino, int *is_cached) in logfs_safe_iget() argument
125 if (ino == LOGFS_INO_MASTER) in logfs_safe_iget()
127 if (ino == LOGFS_INO_SEGFILE) in logfs_safe_iget()
132 if (li->vfs_inode.i_ino == ino) { in logfs_safe_iget()
141 return __logfs_iget(sb, ino); in logfs_safe_iget()
262 struct inode *logfs_new_meta_inode(struct super_block *sb, u64 ino) in logfs_new_meta_inode() argument
271 inode->i_ino = ino; in logfs_new_meta_inode()
278 struct inode *logfs_read_meta_inode(struct super_block *sb, u64 ino) in logfs_read_meta_inode() argument
283 inode = logfs_new_meta_inode(sb, ino); in logfs_read_meta_inode()
326 u64 ino; in logfs_set_ino_generation() local
329 ino = logfs_seek_hole(super->s_master_inode, super->s_last_ino + 1); in logfs_set_ino_generation()
330 super->s_last_ino = ino; in logfs_set_ino_generation()
337 inode->i_ino = ino; in logfs_set_ino_generation()