Home
last modified time | relevance | path

Searched refs:bfs_inode (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dbfs_fs.h24 struct bfs_inode { struct
66 ((((offset) - BFS_BSIZE) / sizeof(struct bfs_inode)) + BFS_ROOT_INO)
69 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
/openbmc/linux/fs/bfs/
H A Dinode.c36 struct bfs_inode *di; in bfs_iget()
61 di = (struct bfs_inode *)bh->b_data + off; in bfs_iget()
98 static struct bfs_inode *find_inode(struct super_block *sb, u16 ino, struct buffer_head **p) in find_inode()
113 return (struct bfs_inode *)(*p)->b_data + ino % BFS_INODES_PER_BLOCK; in find_inode()
121 struct bfs_inode *di; in bfs_write_inode()
165 struct bfs_inode *di; in bfs_evict_inode()
186 memset(di, 0, sizeof(struct bfs_inode)); in bfs_evict_inode()
350 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()
388 struct bfs_inode *di; in bfs_fill_super()
401 di = (struct bfs_inode *)bh->b_data + off; in bfs_fill_super()