Home
last modified time | relevance | path

Searched refs:BFS_BSIZE (Results 1 – 3 of 3) sorted by relevance

/linux-3.3/include/linux/
Dbfs_fs.h12 #define BFS_BSIZE (1<<BFS_BSIZE_BITS) macro
65 ((((offset) - BFS_BSIZE) / sizeof(struct bfs_inode)) + BFS_ROOT_INO)
68 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
70 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
/linux-3.3/fs/bfs/
Ddir.c49 offset = f->f_pos & (BFS_BSIZE - 1); in bfs_readdir()
53 f->f_pos += BFS_BSIZE - offset; in bfs_readdir()
70 } while ((offset < BFS_BSIZE) && (f->f_pos < dir->i_size)); in bfs_readdir()
306 for (off = 0; off < BFS_BSIZE; off += BFS_DIRENT_SIZE) { in bfs_add_entry()
309 pos = (block - sblock) * BFS_BSIZE + off; in bfs_add_entry()
350 while (block * BFS_BSIZE + offset < dir->i_size) { in bfs_find_entry()
Dinode.c151 di->i_eoffset = cpu_to_le32(i_sblock * BFS_BSIZE + inode->i_size - 1); in bfs_write_inode()
332 sb_set_blocksize(s, BFS_BSIZE); in bfs_fill_super()
354 info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / in bfs_fill_super()
420 i_sblock * BFS_BSIZE > i_eoff) { in bfs_fill_super()