Home
last modified time | relevance | path

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

/openbmc/linux/fs/bfs/
H A Dinode.c52 block = (ino - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_iget()
60 off = (ino - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; in bfs_iget()
100 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(sb)->si_lasti)) { in find_inode()
105 ino -= BFS_ROOT_INO; in find_inode()
133 if (ino == BFS_ROOT_INO) in bfs_write_inode()
229 buf->f_files = info->si_lasti + 1 - BFS_ROOT_INO; in bfs_statfs()
357 for (i = 0; i < BFS_ROOT_INO; i++) in bfs_fill_super()
361 inode = bfs_iget(s, BFS_ROOT_INO); in bfs_fill_super()
387 for (i = BFS_ROOT_INO; i <= info->si_lasti; i++) { in bfs_fill_super()
389 int block = (i - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; in bfs_fill_super()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dbfs_fs.h16 #define BFS_ROOT_INO 2 macro
66 ((((offset) - BFS_BSIZE) / sizeof(struct bfs_inode)) + BFS_ROOT_INO)
69 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)