Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dsuper_types.h13 struct file *s_bdev_file; member
H A Dsuper-io.c177 if (!IS_ERR_OR_NULL(sb->s_bdev_file)) in bch2_free_super()
178 bdev_fput(sb->s_bdev_file); in bch2_free_super()
811 sb->s_bdev_file = bdev_file_open_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); in __bch2_read_super()
812 if (IS_ERR(sb->s_bdev_file) && in __bch2_read_super()
813 PTR_ERR(sb->s_bdev_file) == -EACCES && in __bch2_read_super()
817 sb->s_bdev_file = bdev_file_open_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); in __bch2_read_super()
818 if (!IS_ERR(sb->s_bdev_file)) in __bch2_read_super()
822 if (IS_ERR(sb->s_bdev_file)) { in __bch2_read_super()
823 ret = PTR_ERR(sb->s_bdev_file); in __bch2_read_super()
827 sb->bdev = file_bdev(sb->s_bdev_file); in __bch2_read_super()
/linux-6.15/fs/romfs/
H A Dsuper.c587 bdev_fput(sb->s_bdev_file); in romfs_kill_sb()
/linux-6.15/fs/
H A Dsuper.c1583 sb->s_bdev_file = bdev_file; in setup_bdev_super()
1713 bdev_fput(sb->s_bdev_file); in kill_block_super()
/linux-6.15/fs/cramfs/
H A Dinode.c498 bdev_fput(sb->s_bdev_file); in cramfs_kill_sb()
/linux-6.15/block/
H A Dbdev.c224 if (set_blocksize(sb->s_bdev_file, size)) in sb_set_blocksize()
/linux-6.15/fs/jfs/
H A Djfs_logmgr.c1165 log->bdev_file = sb->s_bdev_file; in open_inline_log()
/linux-6.15/fs/xfs/
H A Dxfs_super.c485 mp->m_ddev_targp = xfs_alloc_buftarg(mp, sb->s_bdev_file); in xfs_open_devices()
/linux-6.15/include/linux/
H A Dfs.h1349 struct file *s_bdev_file; member
/linux-6.15/fs/f2fs/
H A Dsuper.c4352 FDEV(0).bdev_file = sbi->sb->s_bdev_file; in f2fs_scan_devices()