Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dbfs_fs.h13 #define BFS_BSIZE (1<<BFS_BSIZE_BITS) macro
66 ((((offset) - BFS_BSIZE) / sizeof(struct bfs_inode)) + BFS_ROOT_INO)
69 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
71 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
/linux-6.1.9/fs/bfs/
Ddir.c45 offset = ctx->pos & (BFS_BSIZE - 1); in bfs_readdir()
49 ctx->pos += BFS_BSIZE - offset; in bfs_readdir()
65 } while ((offset < BFS_BSIZE) && (ctx->pos < dir->i_size)); in bfs_readdir()
289 for (off = 0; off < BFS_BSIZE; off += BFS_DIRENT_SIZE) { in bfs_add_entry()
292 pos = (block - sblock) * BFS_BSIZE + off; in bfs_add_entry()
335 while (block * BFS_BSIZE + offset < dir->i_size) { in bfs_find_entry()
Dinode.c150 di->i_eoffset = cpu_to_le32(i_sblock * BFS_BSIZE + inode->i_size - 1); in bfs_write_inode()
329 sb_set_blocksize(s, BFS_BSIZE); in bfs_fill_super()
351 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()
415 i_sblock * BFS_BSIZE > i_eoff) { in bfs_fill_super()