Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
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))
/Linux-v4.19/fs/bfs/
Dinode.c75 BFS_I(inode)->i_sblock = le32_to_cpu(di->i_sblock); in bfs_iget()
121 unsigned long i_sblock; in bfs_write_inode() local
147 i_sblock = BFS_I(inode)->i_sblock; in bfs_write_inode()
148 di->i_sblock = cpu_to_le32(i_sblock); in bfs_write_inode()
150 di->i_eoffset = cpu_to_le32(i_sblock * BFS_BSIZE + inode->i_size - 1); in bfs_write_inode()
192 if (bi->i_sblock) in bfs_evict_inode()
193 info->si_freeb += bi->i_eblock + 1 - bi->i_sblock; in bfs_evict_inode()
205 info->si_lf_eblk = bi->i_sblock - 1; in bfs_evict_inode()
328 unsigned long i_sblock, i_eblock, i_eoff, s_size; in bfs_fill_super() local
415 i_sblock = le32_to_cpu(di->i_sblock); in bfs_fill_super()
[all …]
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()
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()
Dbfs.h29 unsigned long i_sblock; member