Lines Matching refs:bdev
1215 struct block_device *bdev; member
1288 sd.bdev = blkdev_get_by_path(dev_name, mode, fs_type); in nilfs_mount()
1289 if (IS_ERR(sd.bdev)) in nilfs_mount()
1290 return ERR_CAST(sd.bdev); in nilfs_mount()
1304 mutex_lock(&sd.bdev->bd_fsfreeze_mutex); in nilfs_mount()
1305 if (sd.bdev->bd_fsfreeze_count > 0) { in nilfs_mount()
1306 mutex_unlock(&sd.bdev->bd_fsfreeze_mutex); in nilfs_mount()
1311 sd.bdev); in nilfs_mount()
1312 mutex_unlock(&sd.bdev->bd_fsfreeze_mutex); in nilfs_mount()
1325 strlcpy(s->s_id, bdevname(sd.bdev, b), sizeof(s->s_id)); in nilfs_mount()
1326 sb_set_blocksize(s, block_size(sd.bdev)); in nilfs_mount()
1363 blkdev_put(sd.bdev, mode); in nilfs_mount()
1372 blkdev_put(sd.bdev, mode); in nilfs_mount()