• Home
  • Raw
  • Download

Lines Matching refs:s

33 void dump_imap(const char *prefix, struct super_block *s);
169 struct super_block *s = inode->i_sb; in bfs_evict_inode() local
170 struct bfs_sb_info *info = BFS_SB(s); in bfs_evict_inode()
182 di = find_inode(s, inode->i_ino, &bh); in bfs_evict_inode()
197 dump_imap("delete_inode", s); in bfs_evict_inode()
210 static void bfs_put_super(struct super_block *s) in bfs_put_super() argument
212 struct bfs_sb_info *info = BFS_SB(s); in bfs_put_super()
220 s->s_fs_info = NULL; in bfs_put_super()
225 struct super_block *s = dentry->d_sb; in bfs_statfs() local
226 struct bfs_sb_info *info = BFS_SB(s); in bfs_statfs()
227 u64 id = huge_encode_dev(s->s_bdev->bd_dev); in bfs_statfs()
229 buf->f_bsize = s->s_blocksize; in bfs_statfs()
295 void dump_imap(const char *prefix, struct super_block *s) in dump_imap() argument
303 for (i = BFS_SB(s)->si_lasti; i >= 0; i--) { in dump_imap()
305 if (test_bit(i, BFS_SB(s)->si_imap)) in dump_imap()
311 prefix, BFS_SB(s)->si_lasti, tmpbuf); in dump_imap()
316 static int bfs_fill_super(struct super_block *s, void *data, int silent) in bfs_fill_super() argument
330 s->s_fs_info = info; in bfs_fill_super()
332 sb_set_blocksize(s, BFS_BSIZE); in bfs_fill_super()
334 sbh = sb_bread(s, 0); in bfs_fill_super()
341 s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
344 if (BFS_UNCLEAN(bfs_sb, s) && !silent) in bfs_fill_super()
345 printf("%s is unclean, continuing\n", s->s_id); in bfs_fill_super()
347 s->s_magic = BFS_MAGIC; in bfs_fill_super()
364 s->s_op = &bfs_sops; in bfs_fill_super()
365 inode = bfs_iget(s, BFS_ROOT_INO); in bfs_fill_super()
370 s->s_root = d_make_root(inode); in bfs_fill_super()
371 if (!s->s_root) { in bfs_fill_super()
383 bh = sb_bread(s, info->si_blocks - 1); in bfs_fill_super()
400 bh = sb_bread(s, block); in bfs_fill_super()
441 dump_imap("read_super", s); in bfs_fill_super()
445 dput(s->s_root); in bfs_fill_super()
446 s->s_root = NULL; in bfs_fill_super()
454 s->s_fs_info = NULL; in bfs_fill_super()