Home
last modified time | relevance | path

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

/linux/fs/bfs/
H A Dinode.c47 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(inode->i_sb)->si_lasti)) { in bfs_iget()
52 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()
98 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(sb)->si_lasti)) { in find_inode()
103 ino -= BFS_ROOT_INO; in find_inode()
131 if (ino == BFS_ROOT_INO) in bfs_write_inode()
227 buf->f_files = info->si_lasti + 1 - BFS_ROOT_INO; in bfs_statfs()
348 …i_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_INO - 1; in bfs_fill_super()
355 for (i = 0; i < BFS_ROOT_INO; i++) in bfs_fill_super()
359 inode = bfs_iget(s, BFS_ROOT_INO); in bfs_fill_super()
[all …]
/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)