Home
last modified time | relevance | path

Searched refs:s_bdev_file (Results 1 – 9 of 9) sorted by relevance

/linux/fs/bcachefs/
H A Dsuper_types.h13 struct file *s_bdev_file; member
H A Dsuper-io.c178 if (!IS_ERR_OR_NULL(sb->s_bdev_file)) in bch2_free_super()
179 bdev_fput(sb->s_bdev_file); in bch2_free_super()
821 sb->s_bdev_file = bdev_file_open_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); in __bch2_read_super()
822 if (IS_ERR(sb->s_bdev_file) && in __bch2_read_super()
823 PTR_ERR(sb->s_bdev_file) == -EACCES && in __bch2_read_super()
827 sb->s_bdev_file = bdev_file_open_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); in __bch2_read_super()
828 if (!IS_ERR(sb->s_bdev_file)) in __bch2_read_super()
832 if (IS_ERR(sb->s_bdev_file)) { in __bch2_read_super()
833 ret = PTR_ERR(sb->s_bdev_file); in __bch2_read_super()
837 sb->bdev = file_bdev(sb->s_bdev_file); in __bch2_read_super()
/linux/fs/romfs/
H A Dsuper.c587 bdev_fput(sb->s_bdev_file); in romfs_kill_sb()
/linux/fs/
H A Dsuper.c1639 sb->s_bdev_file = bdev_file; in setup_bdev_super()
1769 bdev_fput(sb->s_bdev_file); in kill_block_super()
/linux/block/
H A Dbdev.c224 if (set_blocksize(sb->s_bdev_file, size)) in sb_set_blocksize()
/linux/fs/jfs/
H A Djfs_logmgr.c1165 log->bdev_file = sb->s_bdev_file; in open_inline_log()
/linux/fs/xfs/
H A Dxfs_super.c489 mp->m_ddev_targp = xfs_alloc_buftarg(mp, sb->s_bdev_file); in xfs_open_devices()
/linux/include/linux/
H A Dfs.h1363 struct file *s_bdev_file; member
/linux/fs/f2fs/
H A Dsuper.c4647 FDEV(0).bdev_file = sbi->sb->s_bdev_file; in f2fs_scan_devices()