Home
last modified time | relevance | path

Searched refs:i_sblock (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dbfs_fs.h27 __le32 i_sblock; member
71 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
74 ((ip)->i_sblock == 0 ? 0 : BFS_NZFILESIZE(ip))
77 ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) - le32_to_cpu((ip)->i_sblock))
/openbmc/linux/fs/bfs/
H A Dinode.c75 BFS_I(inode)->i_sblock = le32_to_cpu(di->i_sblock); in bfs_iget()
120 unsigned long i_sblock; in bfs_write_inode() local
146 i_sblock = BFS_I(inode)->i_sblock; in bfs_write_inode()
147 di->i_sblock = cpu_to_le32(i_sblock); in bfs_write_inode()
191 if (bi->i_sblock) in bfs_evict_inode()
204 info->si_lf_eblk = bi->i_sblock - 1; in bfs_evict_inode()
318 unsigned long i_sblock, i_eblock, i_eoff, s_size; in bfs_fill_super() local
406 i_sblock = le32_to_cpu(di->i_sblock); in bfs_fill_super()
410 if (i_sblock > info->si_blocks || in bfs_fill_super()
412 i_sblock > i_eblock || in bfs_fill_super()
[all …]
H A Dfile.c73 phys = bi->i_sblock + block; in bfs_get_block()
87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
124 if (bi->i_sblock) { in bfs_get_block()
125 err = bfs_move_blocks(inode->i_sb, bi->i_sblock, in bfs_get_block()
137 bi->i_sblock = phys; in bfs_get_block()
145 info->si_freeb -= bi->i_eblock - bi->i_sblock + 1 - inode->i_blocks; in bfs_get_block()
H A Ddir.c46 block = BFS_I(dir)->i_sblock + (ctx->pos >> BFS_BSIZE_BITS); in bfs_readdir()
107 BFS_I(inode)->i_sblock = 0; in bfs_create()
283 sblock = BFS_I(dir)->i_sblock; in bfs_add_entry()
337 bh = sb_bread(dir->i_sb, BFS_I(dir)->i_sblock + block); in bfs_find_entry()
H A Dbfs.h36 unsigned long i_sblock; member